engine
 
载入中...
搜索中...
未找到
Public 类型 | Public 成员函数 | Public 属性 | 所有成员列表
FPakInfo结构体 参考

Struct which holds pak file info (version, index offset, hash value). 更多...

#include <IPlatformFilePak.h>

Public 类型

enum  { PakFile_Magic = 0x5A6F12E1 , MaxChunkDataSize = 64*1024 , CompressionMethodNameLen = 32 , MaxNumCompressionMethods =5 }
 
enum  
 Version numbers.
 

Public 成员函数

 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. 更多...
 

Public 属性

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

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.

参数
ArArchive to serialize data with.

类成员变量说明

◆ EncryptionKeyGuid

FGuid FPakInfo::EncryptionKeyGuid

Encryption key guid.

Empty if we should use the embedded key.


该结构体的文档由以下文件生成: