Navigation
API > API/Runtime > API/Runtime/PakFile
Struct which holds pak file info (version, index offset, hash value).
| Name | FPakInfo |
| Type | struct |
| Header File | /Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h |
| Include Path | #include "IPlatformFilePak.h" |
Syntax
struct FPakInfo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPakInfo() |
Constructor. | IPlatformFilePak.h |
Enums
Public
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEncryptedIndex | uint8 | Flag indicating if the pak index has been encrypted. | IPlatformFilePak.h | |
| CompressionMethods | TArray< FName > | Compression methods used in this pak file (FNames, saved as FStrings) | IPlatformFilePak.h | |
| EncryptionKeyGuid | FGuid | Encryption key guid. Empty if we should use the embedded key. | IPlatformFilePak.h | |
| IndexHash | FSHAHash | SHA1 of the bytes in the index, used to check for data corruption when loading the index. | IPlatformFilePak.h | |
| IndexOffset | int64 | Offset to pak file index. | IPlatformFilePak.h | |
| IndexSize | int64 | Size (in bytes) of pak file index. | IPlatformFilePak.h | |
| Magic | uint32 | Pak file magic value. | IPlatformFilePak.h | |
| Version | int32 | Pak file version. | IPlatformFilePak.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FName GetCompressionMethod
(
uint32 Index |
IPlatformFilePak.h | ||
int32 GetCompressionMethodIndex
(
FName CompressionMethod |
IPlatformFilePak.h | ||
int64 GetSerializedSize
(
int32 InVersion |
Gets the size of data serialized by this struct. | IPlatformFilePak.h | |
int64 HasRelativeCompressedChunkOffsets() |
IPlatformFilePak.h | ||
void Serialize
(
FArchive& Ar, |
Serializes this struct. | IPlatformFilePak.h | |
TOptional< FName > TryGetCompressionMethod
(
uint32 Index |
IPlatformFilePak.h |