csharp
public readonly record struct LootOutlineRowOne row of a loot tree, flattened for a list a tree view draws.
Fields and properties (8)
public int DepthHow deep it sits. Zero is the table the outline was taken of.
public DefId TableWhich table it belongs to.
public int RowWhich row of that table, or −1 for the table's own header.
public string LabelWhat to write on it.
public float ShareIts share of its table's weighted pick, from zero to one — or zero for a header and for an independent row, whose Chance is the number that matters.
public float ChanceIts own chance, for an independent row, or zero.
public bool ConditionalWhether conditions decide if it is in the table at all.
public bool IsTableWhether it rolls a nested table rather than dropping an item.
Methods (1)
public LootOutlineRow(int Depth, DefId Table, int Row, string Label, float Share, float Chance, bool Conditional, bool IsTable)One row of a loot tree, flattened for a list a tree view draws.
Used by (2)
- LootOutlineVixen.Editor.Gameplay.Loot
- LootOutlineTestsVixen.Editor.Gameplay.Loot.Tests