Table of Contents

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

GridPosition CoreVector2I
IsValid bool
ReasonCode string
CellIndex int

Properties

CellIndex

public int CellIndex { get; init; }

Property Value

int

GridPosition

public CoreVector2I GridPosition { get; init; }

Property Value

CoreVector2I

IsValid

public bool IsValid { get; init; }

Property Value

bool

ReasonCode

public string ReasonCode { get; init; }

Property Value

string

Methods

ToString()

Returns a concise, human-readable representation of the evaluation result.

public override string ToString()

Returns

string