Chris' Tutorials
Docs/Grid Placement

Class

GridPlacementHost

Generated GDScript class reference for GridPlacement.GridPlacementHost.

StatusDraft
Versionv6.0
UpdatedDevelopment docs generated from GDScript source

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

Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.

Host orchestrator for the Grid Building plugin. One Node, one _unhandled_input, one [PlacementServiceGroup]. The host owns infrastructure (input handler, mode machine) and a settings-driven service group. The group holds only the domain services the game actually needs — a terrain-only game doesn't pay for [ManipulationService2D]. Architecture: - [b]Game-scoped[/b] settings ([GridPlacementSettings]) determine which domain services exist. - [b]Player-scoped[/b] state ([PlacementSession]) provides the states, logger, and contexts that services operate on.

  • The host owns the single [code]_unhandled_input[/code], the session registry (split-screen), and the intent dispatch.

Source: addons/grid_placement/systems/host/grid_placement_host.gd

Syntax

class GridPlacementHost extends Node

Members

NameKindSummary
grid_placement_bundlePropertyGame scoped settings for Grid Placement
intentProperty
sessionProperty
register_sessionMethod
unregister_sessionMethod
keys_to_eraseProperty
controllerProperty
removed_sessionProperty
devices_to_eraseProperty
refProperty
get_session_for_controllerMethod
refProperty
controllerProperty
sessionProperty
get_active_sessionsMethod
sessionsProperty
get_session_registry_countMethod
keys_to_eraseProperty
devices_to_eraseProperty
refProperty
configureMethod
building_systemProperty
terrain_ctxProperty
actionsProperty
is_readyMethod
sessionProperty
get_runtime_issuesMethod
issuesProperty
sessionProperty
get_sessionMethod
sessionProperty
get_settingsMethod
sessionProperty
get_actionsMethod
sessionProperty
get_templatesMethod
sessionProperty
get_catalogMethod
sessionProperty
get_runtime_checksMethod
settingsProperty
get_input_handlerMethod
get_last_dispatch_resultMethod
get_place_machineMethod
machineProperty
statesProperty
statesProperty
callbackProperty
callbackProperty
callbackProperty
enter_terrain_modeMethod
ctxProperty
set_brush_shapeMethod
get_terrain_serviceMethod
get_manipulation_serviceMethod
get_grid_targeting_serviceMethod
get_brush_coordinatorMethod
get_refund_serviceMethod
get_drag_serviceMethod
sessionProperty
statesProperty
pos_3dProperty
posProperty
buildingProperty
has_placeableProperty
has_terrainProperty
modeProperty
intentProperty
heal_sessionProperty
sessionProperty
line_cellProperty
queued_intentsProperty
sessionProperty
drag_cellsProperty
terrain_nameProperty
terrain_issueProperty
cell_3dProperty
cellProperty
demolish_issueProperty
demolish_cell_3dProperty

Source

addons/grid_placement/systems/host/grid_placement_host.gd

Plugin docs root:gdscript/plugins/grid_placement_dev/docs