Navigation
API > API/Plugins > API/Plugins/StormSyncCore > API/Plugins/StormSyncCore/FStormSyncCoreUtils
Description
Similar to GetDependenciesForPackages internally searching for any recursive dependencies.
Gathers a list of PackageNames dependencies referenced by the supplied packages, creating a list of FStormSyncFileDependency with info such as asset path, file size, timestamp and file hash.
| Name | GetAvaFileDependenciesForPackages |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/StormSync/Source/StormSyncCore/Public/StormSyncCoreUtils.h |
| Include Path | #include "StormSyncCoreUtils.h" |
| Source | /Engine/Plugins/VirtualProduction/StormSync/Source/StormSyncCore/Private/StormSyncCoreUtils.cpp |
static bool GetAvaFileDependenciesForPackages
(
const TArray < FName > & InPackageNames,
TArray < FStormSyncFileDependency > & OutFileDependencies,
FText & OutErrorText,
const bool bInShouldValidatePackages
)
Returns true if we were able to generate a list of dependencies and false if the operation failed. Note that in case of failure, ErrorText is filled with further information.
Parameters
| Name | Remarks |
|---|---|
| InPackageNames | List of packages to look for dependencies |
| OutFileDependencies | Sorted (alphabetically) list of all package dependencies |
| OutErrorText | Localized Text if the operation failed |
| bInShouldValidatePackages | Whether to disable strict verification on validity of package (eg. must exist locally) |