Grid Placement

demolish_manager

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: systems/manipulation/managers/demolish_manager.gd

Version: 5.1

class_name: (none) extends: RefCounted

Signals

(none)

Exports

(none)

Methods

  • _init()
  • try_start_demolish()
    • Initiates a demolish workflow

[param p_manipulatable] Object to demolish [param p_get_display_name_callback] Callable to get display name [return] Demolish data dictionary if successful, null otherwise

  • finish_demolish()
    • Completes the demolish action (actually removes the object)

[param p_demolish_data] Data from try_start_demolish() [param p_cleanup_callback] Optional callback for pre-deletion cleanup [return] true if successful, false otherwise

  • cancel_demolish()
    • Cancels an active demolish workflow

[param p_demolish_data] Data from try_start_demolish()

  • try_demolish()
    • Attempts to start a demolish action on a target manipulatable. [param p_target] The Manipulatable object to demolish [param p_active] The currently active Manipulatable (context) [param p_settings] ManipulationSettings for the operation [return] ManipulationData configured for demolish action, or null if invalid
  • get_demolish_display_name()
    • Gets a display name for a demolish target. [param p_target] The Manipulatable object to get name for [return] Display name as String, or “” if target is null