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

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback