GBContexts
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Contains contexts for resolving references to current objects within the grid building system instance
Source File: addons/grid_building/context/gb_contexts.gd
Extends: RefCounted
Properties
Property:
indicator: [IndicatorContext](./indicator-context/)- Holds reference to current indicator manager objectProperty:
owner: [GBOwnerContext](./gb-owner-context/)- Holds reference to the currently owning game node for the instance of the grid building system and related modulesProperty:
systems: [GBSystemsContext](./gb-systems-context/)Holds 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.
Public Methods
get_runtime_issues
Ensures all runtime contexts are properly initialized. Contexts may need to have their properties defined by game objects like GBLevelContext and GBOwner
get_editor_issues
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)
Private Methods
_init
Flags: private