Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FPreLoadFile Struct Reference

#include <PreLoadFile.h>

+ Inheritance diagram for FPreLoadFile:
+ Collaboration diagram for FPreLoadFile:

Public Member Functions

 FPreLoadFile (const TCHAR *InPath)
 
void * TakeOwnershipOfLoadedData (int64 *OutFileSize=nullptr)
 
- Public Member Functions inherited from FDelayedAutoRegisterHelper
 FDelayedAutoRegisterHelper (EDelayedRegisterRunPhase RunPhase, TFunction< void()> RegistrationFunction)
 

Static Public Member Functions

static void * TakeOwnershipOfLoadedDataByPath (const TCHAR *Filename, int64 *OutFileSize)
 
- Static Public Member Functions inherited from FDelayedAutoRegisterHelper
static void RunAndClearDelayedAutoRegisterDelegates (EDelayedRegisterRunPhase RunPhase)
 

Protected Member Functions

void KickOffRead ()
 

Protected Attributes

bool bIsComplete
 
bool bFailedToOpenInKickOff
 
void * Data
 
int64 FileSize
 
FString Path
 
FEvent * CompletionEvent
 
class IAsyncReadFileHandle * AsyncReadHandle = nullptr
 
class IAsyncReadRequest * SizeRequestHandle = nullptr
 

Static Protected Attributes

static bool bSystemNoLongerTakingRequests
 

Detailed Description

Definition at line 12 of file PreLoadFile.h.

Constructor & Destructor Documentation

◆ FPreLoadFile()

FPreLoadFile::FPreLoadFile ( const TCHAR * InPath)

Member Function Documentation

◆ KickOffRead()

void FPreLoadFile::KickOffRead ( )
protected

◆ TakeOwnershipOfLoadedData()

void * FPreLoadFile::TakeOwnershipOfLoadedData ( int64 * OutFileSize = nullptr)

◆ TakeOwnershipOfLoadedDataByPath()

static void * FPreLoadFile::TakeOwnershipOfLoadedDataByPath ( const TCHAR * Filename,
int64 * OutFileSize )
static

Member Data Documentation

◆ AsyncReadHandle

class IAsyncReadFileHandle* FPreLoadFile::AsyncReadHandle = nullptr
protected

Definition at line 29 of file PreLoadFile.h.

◆ bFailedToOpenInKickOff

bool FPreLoadFile::bFailedToOpenInKickOff
protected

Definition at line 23 of file PreLoadFile.h.

◆ bIsComplete

bool FPreLoadFile::bIsComplete
protected

Definition at line 22 of file PreLoadFile.h.

◆ bSystemNoLongerTakingRequests

bool FPreLoadFile::bSystemNoLongerTakingRequests
staticprotected

Definition at line 24 of file PreLoadFile.h.

◆ CompletionEvent

FEvent* FPreLoadFile::CompletionEvent
protected

Definition at line 28 of file PreLoadFile.h.

◆ Data

void* FPreLoadFile::Data
protected

Definition at line 25 of file PreLoadFile.h.

◆ FileSize

int64 FPreLoadFile::FileSize
protected

Definition at line 26 of file PreLoadFile.h.

◆ Path

FString FPreLoadFile::Path
protected

Definition at line 27 of file PreLoadFile.h.

◆ SizeRequestHandle

class IAsyncReadRequest* FPreLoadFile::SizeRequestHandle = nullptr
protected

Definition at line 30 of file PreLoadFile.h.


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