Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FPackageName
Description
Looks for the first MountPoint that is equal to or is a parent path of the given ChildLongPackageName. If multiple are allocated, only returns the one with the highest override priority (the one that was added last). A discovered MountPoint might or might not be mounted, call MountPoint->IsMounted() to check for mounted.
| Name | FindMountPointByChildLongPackageName |
| 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 TRefCountPtr < UE::PackageName::IMountPoint > FindMountPointByChildLongPackageName
(
FStringView ChildLongPackageName
)
RefCountPtr to the IMountPoint, or nullptr if not yet allocated.
Parameters
| Name | Remarks |
|---|---|
| ChildLongPackageName | LongPackageName for a path under the MountPoint, Examples: /Engine/, /Engine/Asset, /PluginName/, /PluginName/Asset |