PlacementActionBarState

PlacementActionBarState

Pure C# state helper for placement action bar selection. Contains only slot ids and selection rules (no engine or UI types).

Project: GridPlacement v6.0
Layer: Godot
Source: Godot/Core/State/PlacementActionBarState.cs
Namespace: GridBuilding.Core.State
Kind: class

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

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

Properties

SelectedSlotIds

Currently selected slot ids in deterministic order of selection.

Methods

SetSlots

Sets the available slots and prunes selection for any removed ids.

Returns: void

Parameters:

  • IEnumerable<string> slotIds

ToggleSlot

Toggles selection for a slot id based on current mode (single vs multi-select). Unknown ids are ignored.

Returns: void

Parameters:

  • string slotId