Grid Placement

BuildingState

AUTO-GENERATED (GDScript) API entry

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: systems/building/building_state.gd

Version: 5.0

class_name: BuildingState extends: RefCounted

Signals

  • success(build_action_data: BuildActionData)
    • Emitted when a build action fails.
    • Emitted when the build preview instance changes.
    • Emitted when the parent node for placed objects changes.
    • Emitted when the connected building system changes (currently unused).
    • Shared reference to the user controlling the building system.
    • The parent node where objects are placed during build mode.
  • failed(build_action_data: BuildActionData)
    • Emitted when the build preview instance changes.
    • Emitted when the parent node for placed objects changes.
    • Emitted when the connected building system changes (currently unused).
    • Shared reference to the user controlling the building system.
    • The parent node where objects are placed during build mode.
  • preview_changed(preview: Node)
    • Emitted when the parent node for placed objects changes.
    • Emitted when the connected building system changes (currently unused).
    • Shared reference to the user controlling the building system.
    • The parent node where objects are placed during build mode.
  • placed_parent_changed(placed_parent: Node)
    • Emitted when the connected building system changes (currently unused).
    • Shared reference to the user controlling the building system.
    • The parent node where objects are placed during build mode.
  • system_changed(system: BuildingSystem)
    • Shared reference to the user controlling the building system.
    • The parent node where objects are placed during build mode.

Exports

(none)

Methods

  • _init(p_owner_context: GBOwnerContext) -> void
  • get_owner -> GBOwner
  • get_editor_issues -> Array
  • get_runtime_issues -> Array
  • _on_placed_parent_tree_exited -> void
  • _on_preview_tree_exited -> void