FPackagePath::GetExtensionString

Report the extension string this PackagePath uses for the given segment.

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

FStringView GetExtensionString
(
    EPackageSegment PackageSegment
) const

Remarks

Report the extension string this PackagePath uses for the given segment.

Returns

the string for the given segment, which is possibly the empty string or a custom string for EPackageSegment::Header

Parameters

Parameter

Description

PackageSegment

The segment of the extension to look up