Skip to content
ct

Class

GridPlacementHost

Generated GDScript class reference for GridPlacement.GridPlacementHost.

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.

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
terrain_ctxProperty
is_readyMethod
sessionProperty
get_runtime_issuesMethod
issuesProperty
sessionProperty
get_sessionMethod
sessionProperty
get_settingsMethod
sessionProperty
get_actionsMethod
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
p_callbackProperty
callbackProperty
p_callbackProperty
enter_terrain_modeMethod
machineProperty
ctxProperty
targetingProperty
first_matchProperty
map_nameProperty
terrain_nameProperty
owns_sessionMethod
select_placeable_for_sessionMethod
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
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
event_sessionProperty
sessionProperty