Navigation
Unreal Engine C++ API Reference > Developer > SourceControl > USourceControlHelpers
References
Module | SourceControl |
Header | /Engine/Source/Developer/SourceControl/Public/SourceControlHelpers.h |
Include | #include "SourceControlHelpers.h" |
Source | /Engine/Source/Developer/SourceControl/Private/SourceControlHelpers.cpp |
static bool ApplyOperationAndReloadPackages ( const [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\FString) > & InPackagesToApplyOperation, const [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< bool(const [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\FString) > &)> & InOperation, bool bReloadWorld, bool bInteractive )
Remarks
Applies the provided function and optionally reloads the world true if succeeded.
Parameters
Name | Description |
---|---|
InPackagesToApplyOperation | The files/packages to apply the operation |
InOperation | The function to apply |
bReloadWorld | Reload the world |
bInteractive | Whether to prompt user when discarding changes |