FPakFile::GetPakEntry

Returns the [FPakEntry](API\Runtime\PakFile\FPakEntry) pointed to by the given [FPakEntryLocation](API\Runtime\PakFile\FPakEntryLocation) inside the given EncodedPakEntries or Files Can return Found or Deleted; if the [FPakEntryLocation](API\Runtime\PakFile\FPakEntryLocation) is invalid this function assumes the [FPakEntry](API\Runtime\PakFile\FPakEntry) exists in this pack but as a deleted file If OutEntry is non-null, populates it with a copy of the [FPakEntry](API\Runtime\PakFile\FPakEntry) found, or sets it to an [FPakEntry](API\Runtime\PakFile\FPakEntry) with SetDeleteRecord(true) if not found

Choose your operating system:

Windows

macOS

Linux

References

Module

PakFile

Header

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

Include

#include "IPlatformFilePak.h"

Source

/Engine/Source/Runtime/PakFile/Private/IPlatformFilePak.cpp

Syntax

static EFindResult GetPakEntry
(
    const FPakEntryLocation & FPakEntryLocation,
    FPakEntry * OutEntry,
    const TArray< uint8 > & EncodedPakEntries,
    const TArray< FPakEntry > & Files,
    const FPakInfo & Info
)

Remarks

Returns the FPakEntry pointed to by the given FPakEntryLocation inside the given EncodedPakEntries or Files Can return Found or Deleted; if the FPakEntryLocation is invalid this function assumes the FPakEntry exists in this pack but as a deleted file If OutEntry is non-null, populates it with a copy of the FPakEntry found, or sets it to an FPakEntry with SetDeleteRecord(true) if not found