FPakPlatformFile::FindFileInPakFiles

Finds a file in all available pak files.

Choose your operating system:

Windows

macOS

Linux

References

Module

PakFile

Header

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

Include

#include "IPlatformFilePak.h"

Syntax

bool FindFileInPakFiles
(
    const TCHAR * Filename,
    TRefCountPtr< FPakFile > * OutPakFile,
    FPakEntry * OutEntry
)

Remarks

Finds a file in all available pak files.

Returns

Pointer to pak entry if the file was found, NULL otherwise.

Parameters

Parameter

Description

Filename

File to find in pak files.

OutPakFile

Optional pointer to a pak file where the filename was found.