Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorFileUtils
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool PromptToCheckoutLevels
(
bool bCheckDirty, |
Overloaded version of PromptToCheckOutLevels which prompts the user with a check-box dialog allowing them to check out the relevant level package if necessary | FileHelpers.h | |
static bool PromptToCheckoutLevels
(
bool bCheckDirty, |
Prompt the user with a check-box dialog allowing them to check out relevant level packages from source control | FileHelpers.h |
PromptToCheckoutLevels(bool, ULevel *)
Description
Overloaded version of PromptToCheckOutLevels which prompts the user with a check-box dialog allowing them to check out the relevant level package if necessary
| Name | PromptToCheckoutLevels |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/FileHelpers.h |
| Include Path | #include "FileHelpers.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/FileHelpers.cpp |
static bool PromptToCheckoutLevels
(
bool bCheckDirty,
ULevel * SpecificLevelToCheckOut
)
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 | Remarks |
|---|---|
| bCheckDirty | If true, non-dirty packages won't be added to the dialog |
| SpecificLevelToCheckOut | The level whose package will display in the dialog if it is under source control |
PromptToCheckoutLevels(bool, const TArray< ULevel > &, TArray< UPackage > *)
Description
Prompt the user with a check-box dialog allowing them to check out relevant level packages from source control
| Name | PromptToCheckoutLevels |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/FileHelpers.h |
| Include Path | #include "FileHelpers.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/FileHelpers.cpp |
static bool PromptToCheckoutLevels
(
bool bCheckDirty,
const TArray < ULevel * > & SpecificLevelsToCheckOut,
TArray < UPackage * > * OutPackagesNotNeedingCheckout
)
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 | Remarks |
|---|---|
| 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. |