RealDocs

UBlueprintPathsLibrary::GetRestrictedFolderNames

function Engine Blueprint Since 4.0
#include "Kismet/BlueprintPathsLibrary.h"
Access: public Specifiers: staticBlueprintPure

Description

Returns the list of restricted/internal folder names, without slashes, that may be tested against full paths to determine whether a path is restricted.

Caveats & Gotchas

  • Returns bare folder names (e.g. 'NoRedist'), not full paths — you must test them against path segments yourself, or use IsRestrictedPath() which does this for you.
  • The set of restricted names reflects Epic's internal licensing/distribution conventions and can change between engine versions.

Signature

static const TArray<FString>& GetRestrictedFolderNames()

Return Type

const TArray<FString>&

Example

List the restricted folder names C++
for (const FString& FolderName : UBlueprintPathsLibrary::GetRestrictedFolderNames())
{
    UE_LOG(LogTemp, Log, TEXT("Restricted folder name: %s"), *FolderName);
}

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.