BuildingState
AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
Source: systems/building/building_state.gd
Version: 5.0
class_name: BuildingState
extends: RefCounted
Signals
success- Emitted when an object is successfully placed into the game world.
failed- Emitted when a build action fails.
preview_changed- Emitted when the build preview instance changes.
placed_parent_changed- Emitted when the parent node for placed objects changes.
system_changed- Emitted when the connected building system changes (currently unused).
Exports
(none)
Methods
_init()get_owner()- Returns the placer node from the _owner_context, or null if unset.
get_editor_issues()- Validates the state’s runtime properties, skipping checks in the editor or when build mode is off.
get_runtime_issues()- Checks properties that should be set at runtime before building system operations
_on_placed_parent_tree_exited()- Resets placed_parent when it exits the scene tree.
_on_preview_tree_exited()- Resets preview when it exits the scene tree.