Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h |
Include |
#include "Misc/PackageName.h" |
Source |
/Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp |
Returns true if the path starts with a valid root (i.e. /Game/, /Engine/, etc) and contains no illegal characters.
true if a valid long package name
Parameter |
Description |
---|---|
InLongPackageName |
The package name to test |
bIncludeReadOnlyRoots |
If true, will include roots that you should not save to. (/Temp/, /Script/) |
OutReason |
When returning false, this will provide a description of what was wrong with the name. |