Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > Misc > FPackageName
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h |
Include | #include "Misc/PackageName.h" |
Source | /Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp |
static bool SplitLongPackageName
&40;
const FString & InLongPackageName,
FString & OutPackageRoot,
FString & OutPackagePath,
FString & OutPackageName,
const bool bStripRootLeadingSlash
&41;
Remarks
Convert a long package name into root, path, and name components True if the conversion was possible, false otherwise
Parameters
Name | Description |
---|---|
InLongPackageName | Package Name. |
OutPackageRoot | The package root path, eg "/Game/" |
OutPackagePath | The path from the mount point to the package, eg "Maps/TestMaps/@param OutPackageName The name of the package, including its extension, eg "MyMap.umap" |
bStripRootLeadingSlash | String any leading / character from the returned root |