Navigation
API > API/Runtime > API/Runtime/PakFile > API/Runtime/PakFile/FPakPlatformFile > API/Runtime/PakFile/FPakPlatformFile/FindFileInPakFiles
References
| Module | PakFile |
| Header | /Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h |
| Include | #include "IPlatformFilePak.h" |
| Source | /Engine/Source/Runtime/PakFile/Private/IPlatformFilePak.cpp |
static bool FindFileInPakFiles
(
TArray < FPakListEntry > & Paks,
const TCHAR * Filename,
TRefCountPtr < FPakFile > * OutPakFile,
FPakEntry * OutEntry
)
Remarks
Finds a file in the specified pak files. Pointer to pak entry if the file was found, NULL otherwise.
Parameters
| Name | Description |
|---|---|
| Paks | Pak files to find the file in. |
| Filename | File to find in pak files. |
| OutPakFile | Optional pointer to a pak file where the filename was found. |