Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorFileUtils > API/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
(
const TArray < UPackage * > & PkgsToCheckOut,
TArray < UPackage * > * OutPackagesCheckedOut,
const bool bErrorIfAlreadyCheckedOut,
const bool bConfirmPackageBranchCheckOutStatus
)
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. |