Language:
Discover
By Skill Level
By Category

NormalizePackageNames

Choose your OS:

Syntax

bool [UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2) NormalizePackageNames
(
    TArray < FString > PackageNames,
    TArray < FString > & PackagePathNames,
    const FString & PackageWildcard,
    uint8 PackageFilter
)

Remarks

Takes an array of package names (in any format) and converts them into relative pathnames for each package.

true if packages were found successfully, false otherwise.

Returns

true if packages were found successfully, false otherwise.

Parameters

Parameter

Description

PackageNames

the array of package names to normalize. If this array is empty, the complete package list will be used.

PackagePathNames

will be filled with the complete relative path name for each package name in the input array

PackageWildcard

if specified, allows the caller to specify a wildcard to use for finding package files

PackageFilter

allows the caller to limit the types of packages returned.

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/PackageHelperFunctions.h

Source

Editor/UnrealEd/Private/Commandlets/PackageUtilities.cpp