Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorEngine
Description
Checks if a provided package is valid to be auto-added to a default changelist based on several specifications (and if the user has elected to enable the feature). Only brand-new packages will be allowed.
| Name | IsPackageValidForAutoAdding |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
| Include Path | #include "Editor/EditorEngine.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp |
bool IsPackageValidForAutoAdding
(
UPackage * InPackage,
const FString & InFilename
)
true if the provided package is valid to be auto-added to a default source control changelist
Parameters
| Name | Remarks |
|---|---|
| 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) |