Synced
AssetObject.RestoreProperties
Section titled “AssetObject.RestoreProperties”
- Restores detached extension settings using this asset’s actual owner and converter generation.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets
Declaration
Section titled “Declaration”public void Inno.Assets.AssetObject.RestoreProperties<TValue>(System.Guid stableTypeId, byte[] propertyData, TValue target) where TValue : class, Inno.Core.Serialization.ISerializableType parameters
Section titled “Type parameters”Type parameter TValue: Current settings contract with a stable type identity.
Parameters
Section titled “Parameters”Parameter stableTypeId: Persisted settings type identity.
Parameter propertyData: Native property payload to restore.
Parameter target: Detached target, never retained by the asset.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: The asset is unowned, retired, or lacks property-state services.