Navigation
API > API/Runtime > API/Runtime/PakFile
File handle to read from pak file.
| Name | FPakFileHandle |
| Type | class |
| Header File | /Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h |
| Include Path | #include "IPlatformFilePak.h" |
Syntax
template<typename ReaderPolicy>
class FPakFileHandle : public IFileHandle
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPakFileHandle
(
const TRefCountPtr< const FPakFile >& InPakFile, |
Constructs pak file handle to read from pak. | IPlatformFilePak.h | |
FPakFileHandle
(
const TRefCountPtr< const FPakFile >& InPakFile, |
Constructs pak file handle to read from pak. | IPlatformFilePak.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPakFileHandle() |
Destructor. Cleans up the reader archive if necessary. | IPlatformFilePak.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PakFile | TRefCountPtr< const FPakFile > | Reference to keep the PakFile referenced until we are destroyed | IPlatformFilePak.h | |
| Reader | ReaderPolicy | Class that controls reading from pak file | IPlatformFilePak.h | |
| ReadPos | int64 | Current read position. | IPlatformFilePak.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Flush
(
const bool bFullFlush |
IPlatformFilePak.h | ||
virtual bool Read
(
uint8* Destination, |
IPlatformFilePak.h | ||
virtual bool ReadAt
(
uint8* Destination, |
IPlatformFilePak.h | ||
virtual bool Seek
(
int64 NewPosition |
IPlatformFilePak.h | ||
virtual bool SeekFromEnd
(
int64 NewPositionRelativeToEnd |
IPlatformFilePak.h | ||
virtual int64 Size() |
IPlatformFilePak.h | ||
virtual int64 Tell() |
IPlatformFilePak.h | ||
virtual bool Truncate
(
int64 NewSize |
IPlatformFilePak.h | ||
virtual bool Write
(
const uint8* Source, |
IPlatformFilePak.h |