Skip to content
ct

Class

PlacementIntentRouter

Generated GDScript class reference for GridPlacement.PlacementIntentRouter.

Status
Draft
Version
v6.0
Updated
Development docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Routes [PlacementSystem.PlacementIntent] values to the typed system entry points ([method PlacementSystem.enter_build_mode_with], [method PlacementSystem.select_terrain_with], [method PlacementSystem.set_brush_shape], [method PlacementSystem.set_place_submode], [method PlacementSystem.enter_place_router]). Lives on [PlacementSystem] as a [RefCounted] collaborator so the dispatch logic is in its own file while the system's public surface is unchanged. The router also emits [signal PlacementIntentRouter.intent_dispatched] so external systems (e.g. the host) can observe intent flow without reaching into the system's internals. [PlacementSystem] re-exposes this signal under its original name [signal PlacementSystem.placement_intent_dispatched] for backward compat with the pre-6.0.0 contract.

Source: addons/grid_placement/systems/building/placement_intent_router.gd

Syntax

class PlacementIntentRouter extends RefCounted

Members

NameKindSummary
intent_dispatchedEventEmitted when [method dispatch] is about to route an intent to its handler. Fires before the handler runs so observers can short-circuit.
dispatchMethod
placeableProperty
reportProperty
terrain_nameProperty
shapeProperty
submodeProperty
clear_conflictingProperty