Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FPackageName
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool DoesPackageExist
(
const FPackagePath& PackagePath, |
Checks if the package exists on disk. PackagePath must be a mounted path, otherwise returns false | Misc/PackageName.h | |
static bool DoesPackageExist
(
const FString& LongPackageName, |
Checks if the package exists on disk. | Misc/PackageName.h | |
static bool DoesPackageExist
(
const FPackagePath& PackagePath, |
Checks if the package exists on disk. PackagePath must be a mounted path, otherwise returns false | Misc/PackageName.h | |
static bool DoesPackageExist
(
const FString& LongPackageName, |
Checks if the package exists on disk. | Misc/PackageName.h |
DoesPackageExist(const FPackagePath &, FPackagePath *)
Description
Checks if the package exists on disk. PackagePath must be a mounted path, otherwise returns false
| Name | DoesPackageExist |
| 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 DoesPackageExist
(
const FPackagePath & PackagePath,
FPackagePath * OutPackagePath
)
true if the specified package name points to an existing package, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| PackagePath | Package package. |
| OutPackagePath | If nonnull and the package exists, set to a copy of PackagePath with the HeaderExtension set to the extension that exists on disk. If not found, this variable is not written |
DoesPackageExist(const FString &, FString *, bool)
Description
Checks if the package exists on disk.
| Name | DoesPackageExist |
| 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 DoesPackageExist
(
const FString & LongPackageName,
FString * OutFilename,
bool InAllowTextFormats
)
true if the specified package name points to an existing package, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| LongPackageName | Package name. |
| OutFilename | Package filename on disk. |
| InAllowTextFormats | Detect text format packages as well as binary (priority to text) |
DoesPackageExist(const FPackagePath &, bool, FPackagePath *)
Description
Checks if the package exists on disk. PackagePath must be a mounted path, otherwise returns false
| Name | DoesPackageExist |
| 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 DoesPackageExist
(
const FPackagePath & PackagePath,
bool bMatchCaseOnDisk,
FPackagePath * OutPackagePath
)
true if the specified package name points to an existing package, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| PackagePath | Package package. |
| Guid | If nonnull, and the package is found on disk but does not have this PackageGuid in its FPackageFileSummary::Guid, false is returned |
| bMatchCaseOnDisk | If true, the OutPackagePath is modified to match the capitalization of the discovered file |
| OutPackagePath | If nonnull and the package exists, set to a copy of PackagePath with the HeaderExtension set to the extension that exists on disk (and if bMatchCaseOnDisk is true, capitalization changed to match). If not found, this variable is not written |
DoesPackageExist(const FString &, const FGuid , FString , bool)
Description
Checks if the package exists on disk.
| Name | DoesPackageExist |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h |
| Include Path | #include "Misc/PackageName.h" |
static bool DoesPackageExist
(
const FString & LongPackageName,
const FGuid * Guid,
FString * OutFilename,
bool InAllowTextFormats
)
true if the specified package name points to an existing package, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| LongPackageName | Package name. |
| Guid | If nonnull, and the package is found on disk but does not have this PackageGuid in its FPackageFileSummary::Guid, false is returned |
| OutFilename | Package filename on disk. |
| InAllowTextFormats | Detect text format packages as well as binary (priority to text) |