UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPakPrecacher Class Reference

Public Member Functions

int64 GetBlockMemory ()
 
int64 GetBlockMemoryHighWater ()
 
 FPakPrecacher (IPlatformFile *InLowerLevel, bool bInEnableSignatureChecks)
 
void StartSignatureCheck (bool bWasCanceled, IAsyncReadRequest *Request, int32 IndexToFill)
 
void DoSignatureCheck (bool bWasCanceled, IAsyncReadRequest *Request, int32 IndexToFill)
 
int32 GetRequestCount () const
 
IPlatformFileGetLowerLevelHandle ()
 
uint16RegisterPakFile (FPakFile *InActualPakFile, FName File, int64 PakFileSize)
 
void SimulatePakFileCorruption ()
 
void NewRequestsToLowerComplete (bool bWasCanceled, IAsyncReadRequest *Request, int32 Index)
 
bool QueueRequest (IPakRequestor *Owner, FPakFile *InActualPakFile, FName File, int64 PakFileSize, int64 Offset, int64 Size, EAsyncIOPriorityAndFlags PriorityAndFlags)
 
void SetAsyncMinimumPriority (EAsyncIOPriorityAndFlags NewPriority)
 
bool GetCompletedRequest (IPakRequestor *Owner, uint8 *UserSuppliedMemory)
 
void CancelRequest (IPakRequestor *Owner)
 
bool IsProbablyIdle ()
 
void Unmount (FName PakFile, FPakFile *UnmountedPak)
 
uint64 GetLoadSize ()
 
uint32 GetLoads ()
 
uint32 GetFrees ()
 
void DumpBlocks ()
 

Static Public Member Functions

static void Init (IPlatformFile *InLowerLevel, bool bInEnableSignatureChecks)
 
static void Shutdown ()
 
static FPakPrecacherGet ()
 

Constructor & Destructor Documentation

◆ FPakPrecacher()

FPakPrecacher::FPakPrecacher ( IPlatformFile InLowerLevel,
bool  bInEnableSignatureChecks 
)
inline

Member Function Documentation

◆ CancelRequest()

void FPakPrecacher::CancelRequest ( IPakRequestor Owner)
inline

◆ DoSignatureCheck()

void FPakPrecacher::DoSignatureCheck ( bool  bWasCanceled,
IAsyncReadRequest Request,
int32  IndexToFill 
)

◆ DumpBlocks()

void FPakPrecacher::DumpBlocks ( )
inline

◆ Get()

static FPakPrecacher & FPakPrecacher::Get ( )
inlinestatic

◆ GetBlockMemory()

int64 FPakPrecacher::GetBlockMemory ( )
inline

◆ GetBlockMemoryHighWater()

int64 FPakPrecacher::GetBlockMemoryHighWater ( )
inline

◆ GetCompletedRequest()

bool FPakPrecacher::GetCompletedRequest ( IPakRequestor Owner,
uint8 UserSuppliedMemory 
)
inline

◆ GetFrees()

uint32 FPakPrecacher::GetFrees ( )
inline

◆ GetLoads()

uint32 FPakPrecacher::GetLoads ( )
inline

◆ GetLoadSize()

uint64 FPakPrecacher::GetLoadSize ( )
inline

◆ GetLowerLevelHandle()

IPlatformFile * FPakPrecacher::GetLowerLevelHandle ( )
inline

◆ GetRequestCount()

int32 FPakPrecacher::GetRequestCount ( ) const
inline

◆ Init()

static void FPakPrecacher::Init ( IPlatformFile InLowerLevel,
bool  bInEnableSignatureChecks 
)
inlinestatic

◆ IsProbablyIdle()

bool FPakPrecacher::IsProbablyIdle ( )
inline

◆ NewRequestsToLowerComplete()

void FPakPrecacher::NewRequestsToLowerComplete ( bool  bWasCanceled,
IAsyncReadRequest Request,
int32  Index 
)
inline

◆ QueueRequest()

bool FPakPrecacher::QueueRequest ( IPakRequestor Owner,
FPakFile InActualPakFile,
FName  File,
int64  PakFileSize,
int64  Offset,
int64  Size,
EAsyncIOPriorityAndFlags  PriorityAndFlags 
)
inline

◆ RegisterPakFile()

uint16 * FPakPrecacher::RegisterPakFile ( FPakFile InActualPakFile,
FName  File,
int64  PakFileSize 
)
inline

◆ SetAsyncMinimumPriority()

void FPakPrecacher::SetAsyncMinimumPriority ( EAsyncIOPriorityAndFlags  NewPriority)
inline

◆ Shutdown()

static void FPakPrecacher::Shutdown ( )
inlinestatic

◆ SimulatePakFileCorruption()

void FPakPrecacher::SimulatePakFileCorruption ( )
inline

◆ StartSignatureCheck()

void FPakPrecacher::StartSignatureCheck ( bool  bWasCanceled,
IAsyncReadRequest Request,
int32  IndexToFill 
)

◆ Unmount()

void FPakPrecacher::Unmount ( FName  PakFile,
FPakFile UnmountedPak 
)
inline

The documentation for this class was generated from the following file: