Critical tables page
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RolemasterDb.App.Features;
|
||||
|
||||
public sealed record LookupOption(string Key, string Label);
|
||||
@@ -92,3 +94,33 @@ public sealed record AttackLookupResponse(
|
||||
string RawNotation,
|
||||
string? Notes,
|
||||
CriticalLookupResponse? AutoCritical);
|
||||
|
||||
public sealed record CriticalTableCellDetail(
|
||||
string RollBand,
|
||||
string ColumnKey,
|
||||
string ColumnLabel,
|
||||
string ColumnRole,
|
||||
string? GroupKey,
|
||||
string? GroupLabel,
|
||||
string? Description,
|
||||
IReadOnlyList<CriticalEffectLookupResponse> Effects,
|
||||
IReadOnlyList<CriticalBranchLookupResponse> Branches);
|
||||
|
||||
public sealed record CriticalTableLegendEntry(
|
||||
string EffectCode,
|
||||
string Symbol,
|
||||
string Label,
|
||||
string Description,
|
||||
string Tooltip);
|
||||
|
||||
public sealed record CriticalTableDetail(
|
||||
string Slug,
|
||||
string DisplayName,
|
||||
string Family,
|
||||
string SourceDocument,
|
||||
string? Notes,
|
||||
IReadOnlyList<CriticalColumnReference> Columns,
|
||||
IReadOnlyList<CriticalGroupReference> Groups,
|
||||
IReadOnlyList<CriticalRollBandReference> RollBands,
|
||||
IReadOnlyList<CriticalTableCellDetail> Cells,
|
||||
IReadOnlyList<CriticalTableLegendEntry> Legend);
|
||||
|
||||
Reference in New Issue
Block a user