UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PackagePath.h File Reference

Go to the source code of this file.

Classes

class  FPackagePath
 

Macros

#define UE_SUPPORT_FULL_PACKAGEPATH   WITH_EDITOR
 

Enumerations

enum class  EPackageExtension : uint8 {
  Unspecified =0 , Asset , Map , TextAsset ,
  TextMap , Custom , EmptyString , Exports ,
  BulkDataDefault , BulkDataOptional , BulkDataMemoryMapped , PayloadSidecar ,
  Count
}
 

Functions

COREUOBJECT_API const TCHARLexToString (EPackageExtension PackageExtension)
 

Variables

constexpr int EPackageExtensionCount = static_cast<int>(EPackageExtension::PayloadSidecar) + 1
 

Macro Definition Documentation

◆ UE_SUPPORT_FULL_PACKAGEPATH

#define UE_SUPPORT_FULL_PACKAGEPATH   WITH_EDITOR

Enumeration Type Documentation

◆ EPackageExtension

enum class EPackageExtension : uint8
strong

Enum for the extensions that a package payload can be stored under. Each extension can be used by only one EPackageSegment EPackageSegment::Header segment has multiple possible extensions Use LexToString to convert an EPackageExtension to the extension string to append to a file's basename (e.g. LexToString(EPackageExtension::Asset) -> ".uasset" Exceptions: Unspecified -> <emptystring> Custom -> ".CustomExtension"; the actual string to use is stored as a separate field on an FPackagePath

Enumerator
Unspecified 

A PackageResourceManager will search for any of the other header extensions when receiving a PackagePath with Unspecified

Asset 

A binary-format header that does not contain a UWorld or ULevel

Map 

A binary-format header that contains a UWorld or ULevel

TextAsset 

A text-format header that does not contain a UWorld or ULevel

TextMap 

A text-format header that contains a UWorld or ULevel

Custom 

Used when the owner of an EPackageExtension has a specific extension that does not match one of the enumerated possibilies, e.g. a custom extension on a temp file

EmptyString 

Used by iostore to indicate that the package should be requested with no extension

Exports 
BulkDataDefault 
BulkDataOptional 
BulkDataMemoryMapped 
PayloadSidecar 
Count 

Function Documentation

◆ LexToString()

COREUOBJECT_API const TCHAR * LexToString ( EPackageExtension  PackageExtension)

Variable Documentation

◆ EPackageExtensionCount

constexpr int EPackageExtensionCount = static_cast<int>(EPackageExtension::PayloadSidecar) + 1
inlineconstexpr