GBAssetResolver
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Centralized asset resolver for loading Grid Building resources from folders.
Source File: /addons/grid_building/utils/gb_asset_resolver.gd
Extends: RefCounted
Public Methods
load_placeables
| |
Flags: static
Loads placeables from a folder path
load_placeables_with_result
| |
Flags: static
Loads placeables and returns detailed LoadResult for advanced error handling
load_category_tags
| |
Flags: static
Loads category tags from a folder path
load_category_tags_with_result
| |
Flags: static
Loads category tags and returns detailed LoadResult for advanced error handling
load_placeable_sequences
| |
Flags: static
Loads placeable sequences from a folder path
load_placeable_sequences_with_result
| |
Flags: static
Loads placeable sequences and returns detailed LoadResult for advanced error handling
load_assets_of_type
| |
Flags: static
Generic asset loading function that can load any resource type from a folder
validate_folder_path
| |
Flags: static
Validates that a folder path is accessible. Uses ResourceLoader.list_directory() for export-compatible checking.
get_folder_diagnostics
| |
Flags: static
Gets diagnostic information about a folder’s contents. Uses ResourceLoader.list_directory() for export-compatible resource enumeration.
Private Methods
_load_from_folder
| |
Flags: static, private
Internal helper to load assets from a folder. Uses ResourceLoader.list_directory() which works correctly in exported projects (including web/PCK) where DirAccess methods cannot enumerate .tres resource files.
_load_single_asset
| |
Flags: static, private
Internal helper to load a single asset file with tolerance for type mismatches
Grid Building v5.0.8 | Generated 24/05/2026