PlaceableCatalog

PlaceableCatalog

Default implementation of . Manages a collection of placeables and sequences. Pure C# with no Godot dependencies.

Project: GridPlacement v6.0
Layer: Core
Source: Core/Catalog/PlaceableCatalog.cs
Namespace: GridBuilding.Core.Catalog
Kind: class

Parsing Method: AST-based (Roslyn) - NOT regex

⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.

Properties

Count

Gets the number of entries in the catalog.

SequenceCount

Gets the number of sequences in the catalog.

Methods

GetAll

Returns: IReadOnlyList<PlaceableEntry>

GetByCategory

Returns: IReadOnlyList<PlaceableEntry>

Parameters:

  • string category

TryGet

Returns: bool

Parameters:

  • string id
  • PlaceableEntry? entry

GetSequence

Returns: PlaceableSequence?

Parameters:

  • string id

Add

Returns: void

Parameters:

  • PlaceableEntry entry

Remove

Returns: bool

Parameters:

  • string id

AddSequence

Returns: void

Parameters:

  • PlaceableSequence sequence

Clear

Clears all entries and sequences.

Returns: void