Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorLoadingAndSavingUtils
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/FileHelpers.h |
| Include | #include "FileHelpers.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/FileHelpers.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Editor Loading and Saving")
static void ReloadPackages
(
const TArray < UPackage * > & PackagesToReload,
bool & bOutAnyPackagesReloaded,
FText & OutErrorMessage,
const EReloadPackagesInteractionMode InteractionMode
)
Remarks
Helper function that attempts to reload the specified top-level packages.
Parameters
| Name | Description |
|---|---|
| PackagesToReload | The list of packages that should be reloaded |
| bOutAnyPackagesReloaded | True if the set of loaded packages was changed |
| OutErrorMessage | An error message specifying any problems with reloading packages |
| InteractionMode | Whether the function is allowed to ask the user questions (such as whether to reload dirty packages) |