GBContexts
Summary
Section titled “Summary”Contains contexts for resolving references to current objects within the grid building system instance
Properties
Section titled “Properties”indicator: IndicatorContextHolds reference to current indicator manager object
owner: GBOwnerContextHolds reference to the currently owning game node for the instance of the grid building system and related modules
systems: GBSystemsContextHolds references to the systems used in grid building operations. This context allows for easy access to the systems without needing to pass them around manually.
Methods
Section titled “Methods”func _init( p_logger: GBLogger ) -> voidfunc get_runtime_issues( p_checks: GBRuntimeChecks ) -> Array[String]Ensures all runtime contexts are properly initialized. Contexts may need to have their properties defined by game objects like GBLevelContext and GBOwner
func get_editor_issues( ) -> Array[String]Validates editor configuration before nodes are set up. This should be called during the editor setup phase.
Returns:
Array[String] - List of editor configuration issues (empty if valid)
Source
Section titled “Source”addons/grid_building/context/gb_contexts.gd
This API reference is automatically generated from the plugin source code. For implementation examples and usage guides, see the guides section.