PlaceableResourceLoader
PlaceableResourceLoader
Handles loading and validation of placeable resources Pure C# implementation without Godot dependencies
Project: GridPlacement v6.0
Layer: Godot
Source: Godot/Core/Types/PlaceableResourceLoader.cs
Namespace: GridBuilding.Core.Types
Kind: class
Parsing Method: AST-based (Roslyn) - NOT regex
⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.
Methods
HasValidResourceReference
Validates that a placeable has proper resource reference
Returns: bool
Parameters:
Placeable placeable
GetResourceIdentifier
Gets the resource identifier (path or UID) for a placeable
Returns: string
Parameters:
Placeable placeable
UsesFilePath
Determines if the resource identifier is a file path or UID
Returns: bool
Parameters:
Placeable placeable
CreateFromFile
Creates a placeable with file path reference
Returns: Placeable
Parameters:
string idstring namestring filePath
CreateFromUid
Creates a placeable with UID reference
Returns: Placeable
Parameters:
string idstring namestring resourceUid