PlaceableCatalog

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

1
public class PlaceableCatalog : IPlaceableCatalog

Summary

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

Metadata

Namespace: GridPlacement.Core.Catalog

Source File: cs/Core/Catalog/PlaceableCatalog.cs

Assembly: GridPlacement.Core

Type: class

Implements

  • IPlaceableCatalog

Properties

Count

1
public int Count { get; }

Gets the number of entries in the catalog.


SequenceCount

1
public int SequenceCount { get; }

Gets the number of sequences in the catalog.


Methods

GetAll

1
public IReadOnlyList<PlaceableEntry> GetAll()

GetByCategory

1
public IReadOnlyList<PlaceableEntry> GetByCategory(string category)

TryGet

1
2
3
4
public bool TryGet(
    string id,
    out PlaceableEntry? entry
)

GetSequence

1
public PlaceableSequence? GetSequence(string id)

Add

1
public void Add(PlaceableEntry entry)

Remove

1
public bool Remove(string id)

AddSequence

1
public void AddSequence(PlaceableSequence sequence)

Clear

1
public void Clear()

Clears all entries and sequences.