Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > FEditorFileUtils > PromptToCheckoutLevels
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/FileHelpers.h |
Include | #include "FileHelpers.h" |
Source | /Engine/Source/Editor/UnrealEd/Private/FileHelpers.cpp |
static bool PromptToCheckoutLevels
&40;
bool bCheckDirty,
const TArray< ULevel &42; > & SpecificLevelsToCheckOut,
TArray< UPackage &42; > &42; OutPackagesNotNeedingCheckout
&41;
Remarks
Prompt the user with a check-box dialog allowing them to check out relevant level packages from source control true if the user did not cancel out of the dialog and has potentially checked out some files (or if there is no source control integration); false if the user cancelled the dialog
Parameters
Name | Description |
---|---|
bCheckDirty | If true, non-dirty packages won't be added to the dialog |
SpecificLevelsToCheckOut | If specified, only the provided levels' packages will display in the dialog if they are under source control; If nothing is specified, all levels referenced by GWorld whose packages are under source control will be displayed |
OutPackagesNotNeedingCheckout | If not null, this array will be populated with packages that the user was not prompted about and do not need to be checked out to save. Useful for saving packages even if the user canceled the checkout dialog. |