#include <assets.h>
The base interface of AssetInterface and AssetReferenceInterface. It inherits from AssetBaseInterface and adds a methods to obtain the update counter.
◆ MAXON_INTERFACE()
◆ GetUpdate()
Returns the update counter of the asset. The update counter is incremented whenever an asset is updated because one of its references to other assets is updated to a newer version of the referenced asset. This does not lead to a newer repository version of the asset itself because the asset definition isn't changed. Therefore the version identifier stays the same, just the update counter changes.
The update counter is 0 for the asset which exacly matches the original version (returned by AssetDescriptionInterface::Load when it is called with a nullptr argument).
- Returns
- Update counter of the asset.