Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h |
Include |
#include "Misc/PackageName.h" |
class FPackageName
Name | Description | ||
---|---|---|---|
|
ConvertToLongScriptPackageName ( |
Helper function for converting short to long script package name (InputCore -> /Script/InputCore) |
|
|
DoesPackageExist |
Checks if the package exists on disk. |
|
|
FDoesPackage... |
DoesPackageExistOverride() |
|
|
DoesPackageNameContainInvalidCharacters |
Checks if a package name contains characters that are invalid for package names. |
|
|
EnsureContentPathsAreRegistered() |
If the FLongPackagePathsSingleton is not created yet, this function will create it and thus allow mount points to be added |
|
|
ExportTextPathToObjectPath ( |
Returns the path to the object referred to by the supplied export text path, excluding the class name. |
|
|
ExportTextPathToObjectPath ( |
Returns the path to the object referred to by the supplied export text path, excluding the class name. |
|
|
ExportTextPathToObjectPath ( |
Returns the path to the object referred to by the supplied export text path, excluding the class name. |
|
|
FilenameToLongPackageName ( |
Converts the supplied filename to long package name. |
|
|
FindPackageFileWithoutExtension |
Checks if a package can be found using known package extensions. |
|
|
FindPackagesInDirectory |
This will recurse over a directory structure looking for packages. |
|
|
FName * |
FindScriptPackageName ( |
Finds long script package name associated with a short package name. |
|
FixPackageNameCase ( |
Converts a long package name to the case it exists as on disk. |
|
|
const FStrin... |
GetAssetPackageExtension() |
Returns the file extension for packages containing assets. |
|
GetDelegateResolvedPackagePath ( |
Gets the resolved path of a long package as determined by the delegates registered with FCoreDelegates::PackageNameResolvers. |
|
|
GetLocalizedPackagePath ( |
Gets the localized version of a long package path for the current culture, or returns the source package if there is no suitable localized package. |
|
|
GetLocalizedPackagePath |
Gets the localized version of a long package path for the given culture, or returns the source package if there is no suitable localized package. |
|
|
GetLongPackageAssetName ( |
Returns the clean asset name for the specified package, same as GetShortName |
|
|
GetLongPackagePath ( |
Returns the path to the specified package, excluding the short package name |
|
|
const FStrin... |
GetMapPackageExtension() |
Returns the file extension for packages containing assets. |
|
GetNormalizedObjectPath ( |
Gets normalized object path i.e. with long package format. |
|
|
GetPackageMountPoint ( |
Get the mount point for a given package path |
|
|
GetShortFName ( |
Converts package name to short name. |
|
|
GetShortFName ( |
Converts package name to short name. |
|
|
GetShortFName ( |
Converts package name to short name. |
|
|
GetShortName ( |
Converts package name to short name. |
|
|
GetShortName ( |
Converts package name to short name. |
|
|
GetShortName ( |
Converts package name to short name. |
|
|
GetShortName ( |
Converts package name to short name. |
|
|
GetSourcePackagePath ( |
Gets the source version of a localized long package path (it is also safe to pass non-localized paths into this function). |
|
|
const FStrin... |
GetTextAssetPackageExtension() |
Returns the file extension for packages containing text assets. |
|
const FStrin... |
GetTextMapPackageExtension() |
Returns the file extension for packages containing text maps. |
|
IsAssetPackageExtension ( |
Returns whether the passed in extension is a valid binary asset package extension. |
|
|
IsLocalizedPackage ( |
Checks the root of the package's path to see if it is a localized package |
|
|
IsMapPackageExtension ( |
Returns whether the passed in extension is a valid binary map package extension. |
|
|
IsMemoryPackage ( |
Checks the root of the package's path to see if it's a memory package This should be set for packages that reside in memory and not on disk, we treat them similar to a script package |
|
|
IsPackageExtension ( |
Returns whether the passed in extension is a valid binary package extension. |
|
|
IsPackageFilename ( |
Returns whether the passed in filename ends with any of the known package extensions. |
|
|
IsScriptPackage ( |
Checks the root of the package's path to see if it is a script package |
|
|
IsShortPackageName ( |
Checks if the given string is a long package name or not. |
|
|
IsShortPackageName ( |
Checks if the given string is a long package name or not. |
|
|
IsShortPackageName ( |
Checks if the given string is a long package name or not. |
|
|
IsTempPackage ( |
Checks the root of the package's path to see if it is a temp package Temp packages are sometimes saved to disk, and sometimes only exist in memory. |
|
|
IsTextAssetPackageExtension ( |
Returns whether the passed in extension is a valid text asset package extension. |
|
|
IsTextMapPackageExtension ( |
Returns whether the passed in extension is a valid text map package extension. |
|
|
IsTextPackageExtension ( |
Returns whether the passed in extension is a valid text package extension. |
|
|
IsValidLongPackageName |
Returns true if the path starts with a valid root (i.e. /Game/, /Engine/, etc) and contains no illegal characters. |
|
|
IsValidObjectPath |
Returns true if the path starts with a valid root (i.e. /Game/, /Engine/, etc) and contains no illegal characters. |
|
|
IteratePackagesInDirectory ( |
||
|
IteratePackagesInDirectory ( |
||
|
LongPackageNameToFilename |
Converts a long package name to a file name with the supplied extension. |
|
|
ObjectPathToObjectName ( |
Returns the name of the object referred to by the specified object path |
|
|
ObjectPathToObjectName ( |
Returns the name of the object referred to by the specified object path |
|
|
ObjectPathToPackageName ( |
Returns the name of the package referred to by the specified object path |
|
|
FOnContentPa... |
OnContentPathDismounted() |
|
|
FOnContentPa... |
OnContentPathMounted() |
|
|
ParseExportTextPath |
Converts the supplied export text path to an object path and class name. |
|
|
ParseExportTextPath ( |
Converts the supplied export text path to an object path and class name. |
|
|
ParseExportTextPath ( |
Converts the supplied export text path to an object path and class name. |
|
|
QueryRootContentPaths |
Queries all of the root content paths, like "/Game/", "/Engine/", and any dynamically added paths |
|
|
RegisterMountPoint |
This will insert a mount point at the head of the search chain (so it can overlap an existing mount point and win). |
|
|
RegisterShortPackageNamesForUObjectModules() |
Registers all short package names found in ini files. |
|
|
SearchForPackageOnDisk |
Attempts to find a package given its short name on disk (very slow). |
|
|
SplitFullObjectPath |
Split a full object path (Class /Path/To/A/Package.Object:SubObject) into its constituent pieces |
|
|
SplitLongPackageName |
Convert a long package name into root, path, and name components |
|
|
TryConvertFilenameToLongPackageName |
Tries to convert the supplied relative or absolute filename to a long package name/path starting with a root like /game This works on both package names and directories, and it does not validate that it actually exists on disk. |
|
|
TryConvertLongPackageNameToFilename |
Tries to convert a long package name to a file name with the supplied extension. |
|
|
TryConvertShortPackagePathToLongInObjectPath |
Tries to convert object path with short package name to object path with long package name found on disk (very slow) |
|
|
UnRegisterMountPoint |
This will remove a previously inserted mount point. |
Name |
Description |
---|---|
FDoesPackageExistOverride |
Override whether a package exist or not. |
FOnContentPathDismountedEvent |
Event that is triggered when a new content path is removed |
FOnContentPathMountedEvent |
Event that is triggered when a new content path is mounted |
FPackageNameStatVisitor |
|
FPackageNameVisitor |
This will recurse over a directory structure looking for packages. |
Name |
Description |
---|---|
AssetPackageExtension |
|
DoesPackageExistOverrideDelegate |
Delegate used to check whether a package exist without using the filesystem. |
MapPackageExtension |
|
OnContentPathDismountedEvent |
Event that is triggered when a new content path is removed |
OnContentPathMountedEvent |
Event that is triggered when a new content path is mounted |
TextAssetPackageExtension |
|
TextMapPackageExtension |
Name | Description | ||
---|---|---|---|
|
ConvertRootPathToContentPath |
|
|
|
PackageFromPath ( |
|