Struct NcResultPieceAddress
- Namespace
- Hi.SqliteUtils
- Assembly
- HiNc.dll
Internal Use Only (the NC play result review). One piece of a result file by its address in a source file, as FindPieceAddresses(int, int, int) answers a range of lines: the piece's id, the 0-based line its sentence begins at, and the sentence's execution-order index (-1 when the piece recorded none).
public readonly record struct NcResultPieceAddress : IEquatable<NcResultPieceAddress>
- Implements
- Inherited Members
- Extension Methods
Constructors
NcResultPieceAddress(int, int, int)
Internal Use Only (the NC play result review). One piece of a result file by its address in a source file, as FindPieceAddresses(int, int, int) answers a range of lines: the piece's id, the 0-based line its sentence begins at, and the sentence's execution-order index (-1 when the piece recorded none).
public NcResultPieceAddress(int PieceId, int LineIndex, int SentenceIndex)
Parameters
PieceIdintThe piece's id.
LineIndexintThe 0-based line index the piece's sentence begins at.
SentenceIndexintThe sentence's execution-order index; -1 for none.
Properties
LineIndex
The 0-based line index the piece's sentence begins at.
public int LineIndex { get; init; }
Property Value
PieceId
The piece's id.
public int PieceId { get; init; }
Property Value
SentenceIndex
The sentence's execution-order index; -1 for none.
public int SentenceIndex { get; init; }