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