Struct CellIndicatorEvaluation
- Namespace
- MoonBark.GridPlacement.Core.Events
- Assembly
- MoonBark.GridPlacement.Core.dll
Per-cell indicator evaluation result.
public readonly record struct CellIndicatorEvaluation : IEquatable<CellIndicatorEvaluation>
- Implements
- Inherited Members
Constructors
CellIndicatorEvaluation(CoreVector2I, bool, string, int)
Per-cell indicator evaluation result.
public CellIndicatorEvaluation(CoreVector2I GridPosition, bool IsValid, string ReasonCode, int CellIndex)
Parameters
Properties
CellIndex
public int CellIndex { get; init; }
Property Value
GridPosition
public CoreVector2I GridPosition { get; init; }
Property Value
- CoreVector2I
IsValid
public bool IsValid { get; init; }
Property Value
ReasonCode
public string ReasonCode { get; init; }
Property Value
Methods
ToString()
Returns a concise, human-readable representation of the evaluation result.
public override string ToString()