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 object

  • Property: owner: [GBOwnerContext](./gb-owner-context/) - Holds reference to the currently owning game node for the instance of the grid building system and related modules

  • Property: 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

1
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


get_editor_issues

1
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)


Private Methods

_init

1
_init(p_logger: GBLogger) -> void

Flags: private