Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FPackageName
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void RegisterMountPoint
(
const TRefCountPtr< UE::PackageName::IMountPoint >& MountPoint |
Mounts a mount point if not already mounted, and updates its order to front of the override chain. | Misc/PackageName.h | |
static TRefCountPtr< UE::PackageName::IMountPoint > RegisterMountPoint
(
const FString& RootPath, |
This will mount a mount point if not already mounted, and will update its order to the front of the override chain (so it can overlap an existing mount point and win). | Misc/PackageName.h |
RegisterMountPoint(const TRefCountPtr< UE::PackageName::IMountPoint > &)
Description
Mounts a mount point if not already mounted, and updates its order to front of the override chain. If you register a mount point (even if you do so only in certain circumstances) consider also adding a handler for GetExplanationForUnavailablePackage to help debug cases where a package can't be found.
| Name | RegisterMountPoint |
| 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 void RegisterMountPoint
(
const TRefCountPtr < UE::PackageName::IMountPoint > & MountPoint
)
RegisterMountPoint(const FString &, const FString &)
Description
This will mount a mount point if not already mounted, and will update its order to the front of the override chain (so it can overlap an existing mount point and win). If you register a mount point (even if you do so only in certain circumstances) consider also adding a handler for GetExplanationForUnavailablePackage to help debug cases where a package can't be found. This function can fail only if the input arguments are not valid text for RootPath or ContentPath.
| Name | RegisterMountPoint |
| 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 > RegisterMountPoint
(
const FString & RootPath,
const FString & ContentPath
)
RefCountPtr to the mounted IMountPoint, or nullptr if failed.
Parameters
| Name | Remarks |
|---|---|
| RootPath | LongPackageName location for the root of the MountPoint, Examples: /Engine/, /PluginName/ |
| ContentPath | LocalPath location for the root of the MountPoint, Examples: ../../../Engine/Content, d:\FullPathToUnreal\Engine\Plugins\PluginName |