FPackagePath::GetPossibleExtensions

Report the EPackageExtensions this PackagePath should look for on disk

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Misc/PackagePath.h

Include

#include "Misc/PackagePath.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Misc/PackagePath.cpp

Syntax

TConstArrayView< EPackageExtension > GetPossibleExtensions
(
    EPackageSegment PackageSegment
) const

Remarks

Report the EPackageExtensions this PackagePath should look for on disk

The reported array will be length 1 for every case except EPackageSegment::Header and HeaderExtension == EPackageExtension::Unspecified, in that case it will be the list of all enumerated header extensions

Returns

A TArray of EPackageExtensions. If the array contains EPackageExtension::Custom, caller must call GetCustomExtension to get the specific string.

Parameters

Parameter

Description

PackageSegment

The segment of the extension to look up