Skip to content

PlaceableSelectionLogic

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

signal valid_changed( is_valid: bool )
func resolve_gb_dependencies( p_container: GBCompositionContainer ) -> bool

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

func get_runtime_issues( ) -> Array[String]

Validates the injection depenendicies of this GBInjectable

func set_mode_state( p_mode_state: ModeState ) -> void
func get_building_system( ) -> BuildingSystem
func validate_basic( ) -> Array[String]
func handle_ui_hidden( ui_root: Control ) -> void
func handle_mode_changed( p_mode: GBEnums.Mode, ui_root: Control ) -> void
func _on_building_system_changed( p_system: BuildingSystem ) -> void

addons/grid_building/ui/placeable/shared/placeable_selection_logic.gd


This API reference is automatically generated from the plugin source code. For implementation examples and usage guides, see the guides section.