You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb Per.Larsson #jira UE-169626 #rnx #preflight 63bd0ebfd862fdd347bce1fe ### VA System - This allows us to provide the user with more ways to customize the rehydration and return more detailed info about it if the calling code wishes to log additional info. In both cases we can extend the options and the data returned without changing the API. - At the moment the only flag we support is 'Checkout', which requests that the rehydration process checkout any package that it needs to modify rather than giving an error. This means that the user does not need to check packages out from revision control before running the rehydration process. -- We still check if packages can be modified and warn the user if they can't, as package files could be locked in other ways. - The rehydration process will now long the time taken if verbose logging is set for the category 'LogVirtualization' ### UnrealVirtualizationTool - The virtualize command now reports how many packages were checked out if the flag was set. - The rehydration command now supports a '-Checkout' commandline flag, which when enabled will use the new api to checkout the packages that need to be checked out when rehydrated. [CL 23625132 by paul chipchase in ue5-main branch]
25 lines
853 B
C++
25 lines
853 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Containers/Array.h"
|
|
#include "Containers/UnrealString.h"
|
|
#include "Internationalization/Text.h"
|
|
|
|
class FSharedBuffer;
|
|
struct FRehydrationInfo;
|
|
|
|
namespace UE::Virtualization
|
|
{
|
|
|
|
enum class ERehydrationOptions : uint32;
|
|
struct FRehydrationResult;
|
|
|
|
/** This version will rehydrate a package and replace it on disk */
|
|
void RehydratePackages(TConstArrayView<FString> PackagePaths, ERehydrationOptions Options, FRehydrationResult& OutResult);
|
|
|
|
/** This version will rehydrate a package but to a memory buffer, the original package on disk will remain untouched */
|
|
void RehydratePackages(TConstArrayView<FString> PackagePaths, uint64 PaddingAlignment, TArray<FText>& OutErrors, TArray<FSharedBuffer>& OutPackages, TArray<FRehydrationInfo>* OutInfo);
|
|
|
|
} // namespace UE::Virtualization
|