/Engine/Source/Editor/UnrealEd/Public/PackageTools.h
Struct containing list of packages to unload and other params.
struct FUnloadPackageParams
bool
bResetTransBuffer
Whether to reset the transaction buffer to allow unloading packages that might be referenced by it
bool
bUnloadDirtyPackages
Whether to unload packages that are dirty (that need to be saved)
FText
OutErrorMessage
Result: An error message specifying any problems with unloading packages
constTArray<U...
Packages
Packages to unload