PlaceableSelectionLogic

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Shared logic for placeable selection style UIs (grid or sequence list variants) Provides dependency resolution, mode visibility toggling, validation helpers.

Source File: addons/grid_building/ui/placeable/shared/placeable_selection_logic.gd

Extends: GBInjectable

Signals

  • Signal: valid_changed(is_valid: bool)

Private Properties

  • Property: _mode_state: [ModeState](./mode-state/) (private)
  • Property: _systems_context: [GBSystemsContext](./gb-systems-context/) (private)
  • Property: _building_system: [BuildingSystem](./building-system/) (private)

Public Methods

resolve_gb_dependencies

1
resolve_gb_dependencies(p_container: GBCompositionContainer) -> bool

Sources injectable dependencies from the p_container so that this GBInjectable can operate at runtime


get_runtime_issues

1
get_runtime_issues() -> Array[String]

Validates the injection depenendicies of this GBInjectable


set_mode_state

1
set_mode_state(p_mode_state: ModeState) -> void

get_building_system

1
get_building_system() -> BuildingSystem

validate_basic

1
validate_basic() -> Array[String]

handle_ui_hidden

1
handle_ui_hidden(ui_root: Control) -> void

handle_mode_changed

1
2
3
4
handle_mode_changed(
    p_mode: GBEnums.Mode,
    ui_root: Control
) -> void

Private Methods

_on_building_system_changed

1
_on_building_system_changed(p_system: BuildingSystem) -> void

Flags: private