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