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. This validates that the packagename is valid, and also makes sure the object after package name is also correct. This will return false if passed a path starting with Classname'
true if a valid object path
Parameter |
Description |
---|---|
InObjectPath |
The object path to test |
OutReason |
When returning false, this will provide a description of what was wrong with the name. |