GBConfigurationValidator
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Centralized validation system for GBCompositionContainer configuration.
Source File: addons/grid_building/validation/gb_configuration_validator.gd
Extends: RefCounted
Public Methods
get_editor_issues
Flags: static
Validates a GBCompositionContainer configuration.
Returns list of validation issues (empty if valid).
container: GBCompositionContainer - The container to validate
get_runtime_issues
Flags: static
Validates runtime configuration (called after nodes are set up)
container: GBCompositionContainer - The container to validate
logger: GBLogger - The logger to use for logging issues
p_checks: GBRuntimeChecks - The runtime checks to perform
editor_diagnostic
Flags: static
Returns a human-readable, grouped diagnostic string for editor issues. This enumerates each main subresource (contexts, config, templates, actions, states) and prints the issues found for each one, including the resource path when available.
runtime_diagnostic
Flags: static
Returns a human-readable, grouped diagnostic string for runtime issues. This enumerates each main subresource (contexts, config, templates, actions, states) and prints the issues found for each one, including the resource path when available.
validate_editor
Flags: static
Logs issues and returns whether no issues were found
validate_runtime
Flags: static
Highly recommended to call this deferred on ready for your main gameplay scene to allow all nodes to be properly added to the scene AND injected by the GBInjectorSystem before validation
Private Methods
_format_diagnostic_sections
Flags: static, private
Helper function to format diagnostic sections into human-readable output