Skip to content

Class

GridPlacementHost

Generated GDScript class reference for GridPlacement.GridPlacementHost.

Status
Current
Version
v6.0
Source updated
Active v6.0 guide line from Grid Placement repo
Generated on
2026-09-01

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
get_lifecycle_busMethod
register_sessionMethod
unregister_sessionMethod
get_session_for_controllerMethod
get_active_sessionsMethod
get_session_registry_countMethod
configureMethod
get_smooth_coordinatorMethod
is_readyMethod
get_runtime_issuesMethod
get_sessionMethod
get_settingsMethod
get_actionsMethod
get_templatesMethod
get_runtime_checksMethod
get_input_handlerMethod
get_last_dispatch_resultMethod
dispatch_smooth_placementMethod
get_smooth_occupancy_registry_2dMethod
get_smooth_occupancy_registry_3dMethod
get_placement_world_registry_3dMethod
get_placement_world_registryMethod
get_lifecycle_allocatorMethod
get_placement_world_idMethod
snapshot_lifecycleMethod
restore_lifecycleMethod
set_object_placement_service_3dMethod
get_smooth_placement_service_3dMethod
get_smooth_placement_service_2dMethod
get_place_machineMethod
enter_terrain_modeMethod
targetingProperty
entryProperty
first_matchProperty
map_nameProperty
terrain_nameProperty
owns_sessionMethod
select_placeable_for_sessionMethod
object_serviceProperty
select_terrain_for_sessionMethod
enter_place_router_for_sessionMethod
set_brush_shape_for_sessionMethod
get_brush_shape_for_sessionMethod
get_brush_state_for_sessionMethod
is_painting_terrain_for_sessionMethod
get_terrain_service_for_sessionMethod
get_terrain_preview_cells_for_sessionMethod
positionerProperty
stateProperty
current_cellProperty
max_cellsProperty
set_brush_shapeMethod
get_terrain_serviceMethod
get_manipulation_serviceMethod
get_grid_targeting_serviceMethod
get_brush_coordinatorMethod
get_refund_serviceMethod
get_drag_serviceMethod
get_object_placement_serviceMethod
issueProperty
reportProperty
attempt_idProperty
lifecycleProperty
get_positioner_cellMethod
get_positioner_cell_3dMethod
sessionProperty
buildingProperty
object_serviceProperty
rebuild_smooth_occupancy_from_sceneMethod