IPlaceableCatalog
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 available placeables. Pure C# contract with no Godot dependencies.
Metadata
Namespace: GridPlacement.Core.Catalog
Source File: cs/Core/Catalog/IPlaceableCatalog.cs
Assembly: GridPlacement.Core
Type: interface
Methods
GetAll
Gets all available placeables.
Returns
Read-only list of all placeable entries.
GetByCategory
Gets placeables filtered by category.
Parameters
| Name | Description |
|---|---|
category | Category to filter by (case-insensitive). |
Returns
Read-only list of matching entries.
TryGet
Tries to get a placeable by ID.
Parameters
| Name | Description |
|---|---|
id | Placeable ID. |
entry | The entry if found, null otherwise. |
Returns
True if found, false otherwise.
GetSequence
Gets a placeable sequence by ID.
Parameters
| Name | Description |
|---|---|
id | Sequence ID. |
Returns
The sequence if found, null otherwise.
Add
Adds a placeable to the catalog.
Parameters
| Name | Description |
|---|---|
entry | Entry to add. |
Remove
Removes a placeable from the catalog.
Parameters
| Name | Description |
|---|---|
id | ID of the entry to remove. |
Returns
True if removed, false if not found.
AddSequence
Adds a placeable sequence to the catalog.
Parameters
| Name | Description |
|---|---|
sequence | Sequence to add. |