Synced
AssetEditor.ValidateDelete
Section titled “AssetEditor.ValidateDelete”
- Validates a requested asset deletion before the AssetPipeline transaction begins.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Assets
Declaration
Section titled “Declaration”public virtual Inno.Editor.Assets.AssetOperationValidation Inno.Editor.Assets.AssetEditor.ValidateDelete(Inno.Editor.Assets.AssetEditorContext context)Parameters
Section titled “Parameters”Parameter context: The immutable snapshot of the entry that would be deleted.
Returns
Section titled “Returns”A valid result when the transaction may proceed, or a diagnostic describing the rejection.