IndicatorCheckResult

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Indicator check result data structure Replaces repetitive dictionary initialization in indicator validation tests

Source File: /addons/grid_building/test/placement/helpers/indicator_check_result.gd

Extends: RefCounted

Properties

  • Property: all_valid: bool = true
  • Property: valid_count: int = 0
  • Property: invalid_count: int = 0
  • Property: total_count: int = 0
  • Property: position: Vector2
  • Property: indicators: Array[IndicatorInfo] = []

Public Methods

add_indicator

1
2
3
4
5
add_indicator(
    indicator: RuleCheckIndicator,
    p_position: Vector2,
    p_valid: bool
) -> void

Add an indicator to the result


Private Methods

_init

1
2
3
4
_init(
    p_position: Vector2 = Vector2.ZERO,
    p_total_count: int = 0
) -> void

Flags: private

Constructor with required parameters



Grid Building v5.0.8 | Generated 24/05/2026