Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > FEditorFileUtils > CheckoutPackages
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/FileHelpers.h |
Include | #include "FileHelpers.h" |
Source | /Engine/Source/Editor/UnrealEd/Private/FileHelpers.cpp |
static ECommandResult::Type CheckoutPackages
&40;
const TArray< UPackage &42; > & PkgsToCheckOut,
TArray< UPackage &42; > &42; OutPackagesCheckedOut,
const bool bErrorIfAlreadyCheckedOut,
const bool bConfirmPackageBranchCheckOutStatus
&41;
Remarks
Check out the specified packages from source control and report any errors while checking out true if all the packages were checked out successfully
Parameters
Name | Description |
---|---|
PkgsToCheckOut | Reference to array of packages to check out |
OutPackagesCheckedOut | If not NULL, this array will be populated with packages that were checked out. |
bErrorIfAlreadyCheckedOut | true to consider being unable to checkout a package because it is already checked out an error, false to allow this without error |
bConfirmPackageBranchCheckOutStatus | true to prompt user on whether a package that is checked out or modified in another branch should be checked out, false to silently attempt check out. |