Skip to content
ct

Class

HostDependencyHealth

Generated GDScript class reference for GridPlacement.HostDependencyHealth.

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.

Missing-dependency health for GridPlacementHost. This collaborator owns the "have we warned about this missing dependency yet" state and the pure precondition/kind evaluation that short-circuits host dispatch when a session's targeting graph is incomplete. It was pulled out of the oversized host coordinator (architecture Guard 6 / https://github.com/ChrisTutorials/grid_placement_dev/issues/505 baseline) so the host file stays below its size threshold without losing the logic. The collaborator is deliberately decoupled from host private state. The host observes its own runtime graph, builds a HostDependencySnapshot, and forwards it here; the collaborator interprets dependency health over time (warn once, clear the warning when the dependency recovers) and produces missing-dependency reports. It never reaches into GridPlacementHost internals.

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

Syntax

class HostDependencyHealth extends RefCounted

Members

NameKindSummary
MISSING_DEP_SESSIONField
MISSING_DEP_TARGETINGField
MISSING_DEP_TARGET_MAPField
MISSING_DEP_POSITIONERField
MISSING_DEP_SELECTED_TERRAINField
MISSING_DEP_SELECTED_PLACEABLEField
MISSING_DEP_PLACEMENT_STATEField
MISSING_DEP_OWNERField
MISSING_DEP_PLACED_PARENTField
MISSING_DEP_OBJECT_SERVICEField
MISSING_DEP_MANIPULATIONField
MISSING_DEP_MANIPULATION_TARGETField
MISSING_DEP_MANIPULATION_SERVICEField
is_3dPropertySnapshot of a session's dependency availability, built by the host from its own runtime graph. Using a typed object instead of a positional boolean list keeps the heal() contract readable and prevents argument-order mistakes. Referenced from the host as [code]HostDependencyHealth.HostDependencySnapshot[/code].
has_targetingProperty
has_target_mapProperty
has_positionerProperty
has_selected_terrainProperty
has_selected_placeableProperty
has_placement_stateProperty
has_ownerProperty
has_placed_parentProperty
has_manipulationProperty
has_manipulation_targetProperty
has_object_serviceProperty
has_manipulation_serviceProperty
precondition_issueMethod
missing_dep_kindMethod
healMethod
report_missing_depMethod
reportProperty