Navigation
API > API/Plugins > API/Plugins/StormSyncCore > API/Plugins/StormSyncCore/FStormSyncCoreUtils
Description
Main entry point for unpacking. Extracts an ava pak into the current Unreal project (Game content or Plugins content folder)
Will extract package names from pak buffer, and create any .uasset files that does not exist yet on local project.
| Name | ExtractPakBuffer |
| 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 ExtractPakBuffer
(
FArchive & InPakArchive,
const FStormSyncCoreExtractArgs & InExtractArgs,
TArray < FText > & OutErrors
)
Returns true if we were able to fully import the package and false if the operation failed (even for partial imports). Note that in case of failure, Errors array of localized text is filled with further information.
Parameters
| Name | Remarks |
|---|---|
| InPakArchive | Raw ava pak archive to extract into project |
| InExtractArgs | The arguments used to trigger delegates during extraction process |
| OutErrors | List of localized Text if the operation failed |