FPakFile::FindPrunedFilesAtPath

Looks for files or directories within the Pruned DirectoryIndex of the pak file.

Windows
MacOS
Linux

References

Module

PakFile

Header

/Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h

Include

#include "IPlatformFilePak.h"

Syntax

template<class ContainerType>
void FindPrunedFilesAtPath
(
    ContainerType & OutFiles,
    const TCHAR * InPath,
    bool bIncludeFiles,
    bool bIncludeDirectories,
    bool bRecursive
) const

Remarks

Looks for files or directories within the Pruned DirectoryIndex of the pak file. The Pruned DirectoryIndex does not have entries for most Files in the pak; they were removed to save memory. A project can specify which FileNames and DirectoryNames can be marked to keep in the DirectoryIndex; see FPakFile::FIndexSettings and FPakFile::PruneDirectoryIndex Returned paths are full paths (include the mount point)

Parameters

Parameter

Description

OutFiles

List of files or folder matching search criteria.

InPath

Path to look for files or folder at.

bIncludeFiles

If true OutFiles will include matching files.

bIncludeDirectories

If true OutFiles will include matching folders.

bRecursive

If true, sub-folders will also be checked.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback