Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Atomically saves importer settings and reimports the source. Failed imports retain both the saved settings and the previous successful artifact; callers must inspect the returned import status separately from saving.

API: engine
Project: Inno.Assets.Pipeline

public bool Inno.Assets.Pipeline.AssetLoader.SaveImportSettings(Inno.Assets.AssetPath path, Inno.Core.Serialization.ISerializable? settings, string expectedFingerprint)

Parameter path: The writable isolated source path.

Parameter settings: A value of the current importer’s settings type, or null to reset to defaults.

Parameter expectedFingerprint: The fingerprint returned when the settings were read.

True when reimport succeeds; false when settings were saved but reimport failed.

Exception T:System.IO.IOException: The sidecar changed externally or could not be written.

Exception T:System.InvalidOperationException: The source is read-only or belongs to an isolated candidate.

Exception T:System.ArgumentException: The settings have a different type from the current importer.