ComponentTypeID GetComponentTypeID_Static()
Abstract base class for all graph modification commands.
virtual bool Undo()=0
Undo the command (reverse operation)
virtual bool CanMergeWith(const GraphCommand &other) const
Check if this command can be merged with another Used for combining consecutive similar commands (e....
virtual bool Execute()=0
Execute the command (forward operation)
virtual ~GraphCommand()=default
virtual bool MergeWith(const GraphCommand &other)
Merge this command with another Called only if CanMergeWith returned true.
virtual std::string GetDescription() const =0
Get a human-readable description of the command.
< Provides AssetID and INVALID_ASSET_ID
std::unique_ptr< GraphCommand > GraphCommandPtr