FPakPlatformFile::FindFileInPakFiles

Finds a file in the specified pak files.

Windows
MacOS
Linux

References

Module

PakFile

Header

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

Include

#include "IPlatformFilePak.h"

Syntax

static bool FindFileInPakFiles
(
    TArray< FPakListEntry > & Paks,
    const TCHAR * Filename,
    TRefCountPtr< FPakFile > * OutPakFile,
    FPakEntry * OutEntry
)

Remarks

Finds a file in the specified pak files.

Returns

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

Parameters

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss