Struct which holds pak file info (version, index offset, hash value).
更多...
#include <IPlatformFilePak.h>
|
|
| FPakInfo () |
| | Constructor.
|
| |
| int64 | GetSerializedSize (int32 InVersion=PakFile_Version_Latest) const |
| | Gets the size of data serialized by this struct. 更多...
|
| |
| void | Serialize (FArchive &Ar, int32 InVersion) |
| | Serializes this struct. 更多...
|
| |
|
|
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. 更多...
|
| |
|
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.
|
| |
Struct which holds pak file info (version, index offset, hash value).
◆ anonymous enum
| 枚举值 |
|---|
| PakFile_Magic | Magic number to use in header
|
| MaxChunkDataSize | Size of cached data.
|
| CompressionMethodNameLen | Length of a compression format name
|
| MaxNumCompressionMethods | Number of allowed different methods
|
◆ GetSerializedSize()
| int64 FPakInfo::GetSerializedSize |
( |
int32 |
InVersion = PakFile_Version_Latest | ) |
const |
|
inline |
Gets the size of data serialized by this struct.
- 返回
- Serialized data size.
◆ Serialize()
| void FPakInfo::Serialize |
( |
FArchive & |
Ar, |
|
|
int32 |
InVersion |
|
) |
| |
|
inline |
Serializes this struct.
- 参数
-
| Ar | Archive to serialize data with. |
◆ EncryptionKeyGuid
| FGuid FPakInfo::EncryptionKeyGuid |
Encryption key guid.
Empty if we should use the embedded key.
该结构体的文档由以下文件生成: