IPlaceableRuntimeCatalog
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.
Declaration
Summary
Service interface for managing runtime placeable data. Stores full Placeable objects for use by placement systems and ECS. Pure C# contract with no Godot dependencies.
Metadata
Namespace: GridPlacement.Core.Catalog
Source File: cs/Core/Catalog/IPlaceableRuntimeCatalog.cs
Assembly: GridPlacement.Core
Type: interface
Properties
Count
Gets the number of placeables in the catalog.
Methods
TryGet
Tries to get a placeable by ID.
Parameters
| Name | Description |
|---|---|
id | Placeable ID. |
placeable | The placeable if found, null otherwise. |
Returns
True if found, false otherwise.
GetAll
Gets all available placeables.
Returns
Read-only list of all placeables.
Add
Adds a placeable to the catalog.
Parameters
| Name | Description |
|---|---|
placeable | Placeable to add. |
Remove
Removes a placeable from the catalog.
Parameters
| Name | Description |
|---|---|
id | ID of the placeable to remove. |
Returns
True if removed, false if not found.
Clear
Clears all placeables from the catalog.