Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
Include |
#include "Editor/EditorEngine.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp |
virtual bool IsPackageOKToSave
(
UPackage * InPackage,
const FString & InFilename,
FOutputDevice * Error
)
Checks if a provided package is valid to be saved. For startup packages, it asks user for confirmation.
true if the provided package is valid to be saved
Parameter |
Description |
---|---|
InPackage |
Package to consider the validity of auto-adding to a default source control changelist |
InFilename |
Filename of the package after it will be saved (not necessarily the same as the filename of the first param in the event of a rename) |
Error |
Error output |