Navigation
Unreal Engine C++ API Reference > Developer > PakFileUtilities
References
Module | PakFileUtilities |
Header | /Engine/Source/Developer/PakFileUtilities/Public/PakFileUtilities.h |
Include | #include "PakFileUtilities.h" |
Syntax
class FPakOrderMap
Remarks
Defines the order mapping for files within a pak. When read from the files present in the pak, Indexes will be [0,NumFiles). This is important for detecting gaps in the order between adjacent files in a patch .pak. For new files being added into the pak, the values can be arbitrary, and will be usable only for relative order in an output list. Due to the arbitrary values for new files, the FPakOrderMap can contain files with duplicate Order values.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FPakOrderMap () |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Add the given filename with the given Sorting Index | |
![]() |
void | Add the given filename with the given Offset interpreted as Offset in bytes in the Pak File. | |
![]() |
void | Remaps all the current values in the OrderMap onto [0, NumEntries). | |
![]() |
void | Empty () |
|
![]() ![]() |
uint64 | GetFileOrder
(
const FString& Path, |
|
![]() |
uint64 | GetMaxIndex () |
|
![]() |
void | MergeOrderMap
(
FPakOrderMap&& Other |
Merge another order map into this one where the files are not already ordered by this map. Steals the strings and empties the other order map. |
![]() ![]() |
int32 | Num () |
|
![]() |
bool | ProcessOrderFile
(
const TCHAR* ResponseFile, |
|
![]() |
void | WriteOpenOrder
(
FArchive* Ar |