Chris' Tutorials
Docs/Grid Placement

Class

PlacementContainer

Generated GDScript class reference for GridPlacement.PlacementContainer.

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.

@deprecated Deprecated in 6.0. Use [PlacementSession] directly. Will be removed in 6.1. Thin backward-compatible wrapper that delegates all calls to its [member session]. Exists only so that [code].tres[/code] files and consumer code that still type against [code]PlacementContainer[/code] continue to compile during the one-release deprecation window. [b]Migration:[/b] Replace [code]PlacementContainer[/code] with [code]PlacementSession[/code]. The session exposes every method that the container previously exposed (plus [method PlacementSession.get_templates], [method PlacementSession.get_debug_settings], etc.). Validation methods ([code]validate_editor[/code], [code]validate_runtime[/code]) live on [PlacementConfigurationValidator] as static utilities.

Source: addons/grid_placement/resources/placement_container.gd

Syntax

class PlacementContainer extends PlacementResource

Members

NameKindSummary
sessionPropertyThe [PlacementSession] this wrapper delegates to. Must be set before any method is called. The injector and [method PlacementSession.from_container] both wire this automatically.
grid_placement_bundlePropertyConfiguration resource. Kept for [code].tres[/code] backward compat; reads are delegated to [member session].
get_contextsMethod
get_statesMethod
get_loggerMethod
set_loggerMethod
set_statesMethod
get_mode_stateMethod
get_targeting_stateMethod
get_building_stateMethod
get_manipulation_stateMethod
get_settingsMethod
get_placement_rulesMethod
get_actionsMethod
get_templatesMethod
get_visual_settingsMethod
get_manipulation_settingsMethod
get_debug_settingsMethod
get_runtime_checksMethod
get_indicator_contextMethod
get_action_historyMethod
dump_action_historyMethod
get_systems_contextMethod
get_runtime_issuesMethod
get_editor_issuesMethod
log_runtime_issuesMethod
issuesProperty
logProperty
validate_editorMethod
validate_runtimeMethod

Source

addons/grid_placement/resources/placement_container.gd

Plugin docs root:gdscript/plugins/grid_placement_dev/docs