|
| AZ_RTTI (IUuidUtil, "{C3281F96-430A-49C2-95EF-66505C34CD2E}") |
|
virtual AZ::Outcome< void, AZStd::string > | CreateSourceUuid (AZ::IO::PathView absoluteFilePath, AZ::Uuid uuid)=0 |
|
virtual AZ::Outcome< AZ::Uuid, AZStd::string > | CreateSourceUuid (AZ::IO::PathView absoluteFilePath)=0 |
|
◆ CreateSourceUuid() [1/2]
virtual AZ::Outcome< AZ::Uuid, AZStd::string > AzToolsFramework::IUuidUtil::CreateSourceUuid |
( |
AZ::IO::PathView |
absoluteFilePath | ) |
|
|
pure virtual |
Creates a metadata file with the assigned UUID. This will fail if a metadata file with a UUID already exists for this asset.
- Parameters
-
absoluteFilePath | Absolute path of the source asset (or metadata file) |
- Returns
- The generated UUID if successful, a null UUID otherwise.
◆ CreateSourceUuid() [2/2]
virtual AZ::Outcome< void, AZStd::string > AzToolsFramework::IUuidUtil::CreateSourceUuid |
( |
AZ::IO::PathView |
absoluteFilePath, |
|
|
AZ::Uuid |
uuid |
|
) |
| |
|
pure virtual |
Creates a metadata file with a randomly generated UUID. This will fail if a metadata file with a UUID already exists for this asset.
- Parameters
-
absoluteFilePath | Absolute path of the source asset (or metadata file) |
uuid | Uuid to assign |
The documentation for this struct was generated from the following file:
- Code/Framework/AzToolsFramework/AzToolsFramework/Metadata/UuidUtils.h