Navigation
Unreal Engine C++ API Reference > Runtime > PakFile
Inheritance Hierarchy
- IFileHandle
- FPakFileHandle
References
Module | PakFile |
Header | /Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h |
Include | #include "IPlatformFilePak.h" |
Syntax
template<typename ReaderPolicy>
class FPakFileHandle : public IFileHandle
Remarks
File handle to read from pak file.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FPakFileHandle
(
const FPakFile& InPakFile, FPakFileHandle
(
const FPakFile& InPakFile, |
Use constructor that takes a TRefCountPtr |
|
![]() |
FPakFileHandle
(
const TRefCountPtr< const FPakFile >& InPakFile, |
Constructs pak file handle to read from pak. | |
![]() |
FPakFileHandle
(
const FPakFile& InPakFile, FPakFileHandle
(
const FPakFile& InPakFile, |
Use constructor that takes a TRefCountPtr |
|
![]() |
FPakFileHandle
(
const TRefCountPtr< const FPakFile >& InPakFile, |
Constructs pak file handle to read from pak. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Destructor. Cleans up the reader archive if necessary. |
Overridden from IFileHandle
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Flush
(
const bool bFullFlush |
Flushes file handle to disk. |
![]() ![]() |
bool | Read
(
uint8* Destination, |
Read bytes from the file. |
![]() ![]() |
bool | Seek
(
int64 NewPosition |
Change the current write or read position. |
![]() ![]() |
bool | SeekFromEnd
(
int64 NewPositionRelativeToEnd |
Change the current write or read position, relative to the end of the file. |
![]() ![]() |
int64 | Size () |
Return the total size of the file |
![]() ![]() |
int64 | Tell () |
Return the current write or read position. |
![]() ![]() |
bool | Truncate
(
int64 NewSize |
Truncate the file to the given size (in bytes). |
![]() ![]() |
bool | Write
(
const uint8* Source, |
Write bytes to the file. |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
FPakFileHandle
(
const FPakFile& InPakFile, FPakFileHandle
(
const FPakFile& InPakFile, |
Use constructor that takes a TRefCountPtr |
|
![]() |
FPakFileHandle
(
const FPakFile& InPakFile, FPakFileHandle
(
const FPakFile& InPakFile, |
Use constructor that takes a TRefCountPtr |