Skip to content

ManipulationData

Holds the data for manipulating a Manipulatable object in the game scene Abstract class. Inherit to a [ActionName]Data script

signal status_changed( status: GBEnums.Status )

Holds the data for manipulating a Manipulatable object in the game scene Abstract class. Inherit to a [ActionName]Data script

Emitted when the status of the action is set to a new value

manipulator: Node

The character or object currently using the system to do manipulations

source: Manipulatable

The manipulatable node that was selected as the basis for this manipulation

target: Manipulatable

The manipulatable component of the object to be manipulated. In many cases this may be a copy of the object used to determine the final manipulation before applying it to the original.

message: String

The general message sent as part of the manipulation data for whether the manipulation fails or succeeds

results: ValidationResults

The results of rule check validation on the manipulation.

Should be provided for manipulations that had to evaluate rules and have generated results

action: GBEnums.Action

The manipulation that is / was attempting to be done

status = GBEnums.Status.CREATED

Status of the action

queue_free_manipulation_objects( )

Calls queue free on objects of the manipulation

is_valid( ) -> bool

Determines if the data has a valid setup

addons/grid_building/systems/manipulation/manipulation_data.gd


This page was auto-generated from GDScript source. Edit the source file to improve documentation.

Generated on 2025-09-07