Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FPackageName
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsValidLongPackageName
(
FStringView InLongPackageName, |
Returns true if the path starts with a valid root (i.e. /Game/, /Engine/, etc) and contains no illegal characters. | Misc/PackageName.h | |
static bool IsValidLongPackageName
(
FStringView InLongPackageName, |
Misc/PackageName.h |
IsValidLongPackageName(FStringView, bool, EErrorCode *)
Description
Returns true if the path starts with a valid root (i.e. /Game/, /Engine/, etc) and contains no illegal characters.
| Name | IsValidLongPackageName |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h |
| Include Path | #include "Misc/PackageName.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp |
static bool IsValidLongPackageName
(
FStringView InLongPackageName,
bool bIncludeReadOnlyRoots,
EErrorCode * OutReason
)
true if a valid long package name
Parameters
| Name | Remarks |
|---|---|
| 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. |
IsValidLongPackageName(FStringView, bool, FText *)
| Name | IsValidLongPackageName |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h |
| Include Path | #include "Misc/PackageName.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp |
static bool IsValidLongPackageName
(
FStringView InLongPackageName,
bool bIncludeReadOnlyRoots,
FText * OutReason
)