Navigation
API > API/Runtime > API/Runtime/PakFile > API/Runtime/PakFile/FPakFile
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FindPrunedFilesAtPath
(
ContainerType& OutFiles, |
IPlatformFilePak.h | ||
void FindPrunedFilesAtPath
(
const TCHAR* InPath, |
Looks for files or directories within the Pruned DirectoryIndex of the pak file. | IPlatformFilePak.h |
FindPrunedFilesAtPath(ContainerType &, const TCHAR *, bool, bool, bool)
| Name | FindPrunedFilesAtPath |
| Type | function |
| Header File | /Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h |
| Include Path | #include "IPlatformFilePak.h" |
template<class ContainerType>
void FindPrunedFilesAtPath
(
ContainerType & OutFiles,
const TCHAR * InPath,
bool bIncludeFiles,
bool bIncludeDirectories,
bool bRecursive
) const
FindPrunedFilesAtPath(const TCHAR *, TArray< FString > &, bool, bool, bool)
Description
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)
| Name | FindPrunedFilesAtPath |
| Type | function |
| Header File | /Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h |
| Include Path | #include "IPlatformFilePak.h" |
| Source | /Engine/Source/Runtime/PakFile/Private/PakFile.cpp |
void FindPrunedFilesAtPath
(
const TCHAR * InPath,
TArray< FString > & OutFiles,
bool bIncludeFiles,
bool bIncludeDirectories,
bool bRecursive
) const
Parameters
| Name | Remarks |
|---|---|
| InPath | Path to look for files or folder at. |
| OutFiles | List of files or folder matching search criteria. |
| 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. |