Holds the data for manipulating a Manipulatable object in the game scene Abstract class. Inherit to a [ActionName]Data script
Source: addons/grid_placement/systems/manipulation/manipulation_data.gd
Syntax
class ManipulationData extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
status_changed | Signal | Emitted when the status of the action is set to a new value |
manipulator | Property | The character or object currently using the system to do manipulations |
source | Property | The manipulatable node that was selected as the basis for this manipulation |
target | Property | 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 | Property | The general message sent as part of the manipulation data for whether the manipulation fails or succeeds |
vetoed | Property | True after any listener calls [method veto] from a pre-commit signal — [signal ManipulationState.pre_move] or [signal ManipulationState.pre_demolish]. The owning service checks this flag after the signal fires and skips the world change when set. Game-owned authority uses this to reject a consequence without touching plugin session state. |
correlation_context | Property | Opaque consumer correlation (for example a game-owned entity id) carried verbatim onto the host dispatch's lifecycle result. Correlation is never used as plugin identity, and the plugin never interprets its contents. |
results | Property | The results of rule check validation on the manipulation. Should be provided for manipulations that had to evaluate rules and have generated results |
action | Property | The manipulation that is / was attempting to be done |
status | Property | Status of the action |
veto | Method | |
cleanup_manipulation_objects | Method | |
is_valid | Method |