csharp
public sealed class TalentAllocationHow many ranks of each node somebody has taken. The durable half.
Remarks
A dictionary of ids rather than an array of indices, because this is what a save holds and a node's index moves when a designer inserts one above it.
Fields and properties (2)
public int CountHow many nodes have any rank.
public IReadOnlyDictionary<string, int> RanksEverything taken, by node id.
Methods (4)
public int RanksOf(string node)How many ranks of one node.
public TalentAllocation Set(string node, int count)Sets how many ranks of one node.
public void Clear()Forgets everything. What a respec does before the new allocation arrives.
public TalentAllocation Copy()A copy, for an editor's undo or a speculative validation.
Used by (6)
- ProgressionSectionVixen.Live.Gameplay
- ProgressionSectionTestsVixen.Live.Gameplay.Tests
- ProgressionStateVixen.Gameplay.Progression
- ProgressionStateTestsVixen.Gameplay.Progression.Tests
- TalentTreeVixen.Gameplay.Progression
- TalentTreeTestsVixen.Gameplay.Progression.Tests