![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IPlatformFilePak.h>
Public Member Functions | |
| FPakEntry () | |
| int64 | GetSerializedSize (int32 Version) const |
| bool | operator== (const FPakEntry &B) const |
| bool | operator!= (const FPakEntry &B) const |
| bool | IndexDataEquals (const FPakEntry &B) const |
| void | Reset () |
| void | Serialize (FArchive &Ar, int32 Version) |
| void | SetFlag (uint8 InFlag, bool bValue) |
| bool | GetFlag (uint8 InFlag) const |
| bool | IsEncrypted () const |
| void | SetEncrypted (bool bEncrypted) |
| bool | IsDeleteRecord () const |
| void | SetDeleteRecord (bool bDeleteRecord) |
Static Public Member Functions | |
| static bool | VerifyPakEntriesMatch (const FPakEntry &FileEntryA, const FPakEntry &FileEntryB) |
Public Attributes | |
| int64 | Offset |
| int64 | Size |
| int64 | UncompressedSize |
| uint8 | Hash [20] |
| TArray< FPakCompressedBlock > | CompressionBlocks |
| uint32 | CompressionBlockSize |
| uint32 | CompressionMethodIndex |
| uint8 | Flags |
| bool | Verified |
Static Public Attributes | |
| static const uint8 | Flag_None = 0x00 |
| static const uint8 | Flag_Encrypted = 0x01 |
| static const uint8 | Flag_Deleted = 0x02 |
Struct holding info about a single file stored in pak file.
CHANGE THIS FILE RARELY AND WITH GREAT CARE. MODIFICATIONS WILL RESULT IN EVERY PAK ENTRY IN AN EXISTING INSTALL HAVING TO TO BE PATCHED.
On Fortnite that would be 15GB of data (250k pak entries * 64kb patch block) just to add/change/remove a field.
|
inline |
Constructor.
Gets the size of data serialized by this struct.
|
inline |
|
inline |
|
inline |
Serializes FPakEntry struct.
| Ar | Archive to serialize data with. |
| Entry | Data to serialize. |
|
static |
Verifies two entries match to check for corruption.
| FileEntryA | Entry 1. |
| FileEntryB | Entry 2. |
| TArray<FPakCompressedBlock> FPakEntry::CompressionBlocks |
Array of compression blocks that describe how to decompress this pak entry.
| uint32 FPakEntry::CompressionBlockSize |
Size of a compressed block in the file.
| uint32 FPakEntry::CompressionMethodIndex |
Index into the compression methods in this pakfile.
|
static |
|
static |
|
static |
| uint8 FPakEntry::Flags |
Pak entry flags.
| uint8 FPakEntry::Hash[20] |
File SHA1 value.
| int64 FPakEntry::Offset |
Offset into pak file where the file is stored.
| int64 FPakEntry::Size |
Serialized file size.
| int64 FPakEntry::UncompressedSize |
Uncompressed file size.
|
mutable |
Flag is set to true when FileHeader has been checked against PakHeader. It is not serialized.