#include <asset_utilities.h>
Helper Interface for Asset functions.
Static Public Member Functions | |
static MAXON_METHOD Result< String > | IncreaseAssetVersion (const String ¤tVersion) |
static MAXON_METHOD Result< void > | AssetSetMetaData (const AssetDescription &asset, const String &assetName, const String &assetVersion, const Id &assetCategory) |
static MAXON_METHOD Result< Url > | GetAssetIcon (const AssetDescription &asset) |
static MAXON_METHOD Result< EnumDataType > | GetEnumTypeForVersions (const AssetRepositoryRef &repo, const AssetType &type, const Id &assetId) |
Private Member Functions | |
MAXON_INTERFACE_NONVIRTUAL (AssetUtilitiesInterface, MAXON_REFERENCE_STATIC, "net.maxon.asset.helperinterface") | |
|
private |
|
static |
IncreaseAssetVersion description.
[in] | currentVersion | Increases the version string by one. e.g. "1.0" -> "1.1" or "1.0.99" -> "1.1.00" |
|
static |
|
static |
|
static |
Returns an EnumDataType which contains all versions of the asset, plus an additional "latest" entry.
[in] | repo | The asset repository for the lookup. |
[in] | type | The asset type of the asset. |
[in] | assetId | The asset id to look for. |