csharp
public readonly ref struct MoveCandidateOne move, as the selection pass sees it: flat, contiguous, no pointer chasing.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ A ref struct, so it cannot be stored. The facets are a window into the set's own table and are valid for the call; a scorer that squirrelled one away would be holding a span into an array it does not own. The compiler refusing is better than a comment asking.
Fields and properties (5)
public int IndexIts position in the set.
public MoveKey KeyIts identity, for the tie-break.
public MoveTraits TraitsWhat it does.
public ReadOnlySpan<ulong> FacetsWhat it is for, packed and sorted.
public MoveEntry EntryThe move itself, for whatever the flat view does not carry.
Methods (3)
public MoveCandidate(int Index, MoveKey Key, MoveTraits Traits, ReadOnlySpan<ulong> Facets, MoveEntry Entry)One move, as the selection pass sees it: flat, contiguous, no pointer chasing.
public bool Says(Facet facet)Whether it says this.
public bool SaysAll(FacetSet required)Whether it says everything a set does.
Used by (6)
- AlphabeticalTestScorerVixen.Animation.Tests
- DefaultMoveScorerVixen.Animation
- IMoveScorerVixen.Animation
- MoveExplanationsVixen.Animation
- MoveSetVixen.Animation
- QueryMoveSelectorVixen.Animation