IRuleIndicatorServices

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.

Declaration

1
public interface IRuleIndicatorServices

Summary

Engine-agnostic facade for rule indicator queries.

Implementations live in adapter layers (Godot, Unity, etc.) and expose a small surface for leaf adapters (visual indicators) to ask:

  • “Is this grid position valid under the current placement rules?”
  • “Give me a validation result for this grid position.”

This must remain free of engine types so that the same contract can be implemented by different plugin frontends.

Metadata

Namespace: GridPlacement.Core.Interfaces

Source File: cs/Core/Interfaces/IRuleIndicatorServices.cs

Assembly: GridPlacement.Core

Type: interface

Methods

GetValidationForPosition

1
ValidationResult GetValidationForPosition(GridPosition position)

Gets a detailed validation result for a grid position.

Parameters

NameDescription
positionGrid position to validate.

Returns

Validation result describing rule status at the position.


IsPositionValid

1
bool IsPositionValid(GridPosition position)

Checks if a grid position is currently considered valid.

Parameters

NameDescription
positionGrid position to check.

Returns

True if valid according to current rules; otherwise false.