Navigation
API > API/Runtime > API/Runtime/PakFile
An identifier for the location of an FPakEntry in an FDirectoryIndex or an FPathHashIndex. Contains a byte offset into the encoded array of FPakEntry data, an index into the list of unencodable FPakEntries, or a marker indicating invalidity
| Name | FPakEntryLocation |
| Type | struct |
| Header File | /Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h |
| Include Path | #include "IPlatformFilePak.h" |
Syntax
struct FPakEntryLocation
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| IPlatformFilePak.h | |||
FPakEntryLocation
(
const FPakEntryLocation& Other |
IPlatformFilePak.h | ||
FPakEntryLocation
(
int32 InIndex |
IPlatformFilePak.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Invalid | const int32 | 0x00000000 - 0x7ffffffe: EncodedOffset from 0 to MaxIndex 0x7fffffff: Unused, interpreted as Invalid 0x80000000: Invalid 0x80000001 - 0xffffffff: FileIndex from MaxIndex to 0 | IPlatformFilePak.h |
| MaxIndex | const int32 | IPlatformFilePak.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Index | int32 | IPlatformFilePak.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetAsListIndex() |
IPlatformFilePak.h | ||
int32 GetAsOffsetIntoEncoded() |
IPlatformFilePak.h | ||
bool IsInvalid() |
IPlatformFilePak.h | ||
bool IsListIndex() |
IPlatformFilePak.h | ||
bool IsOffsetIntoEncoded() |
IPlatformFilePak.h | ||
void Serialize
(
FArchive& Ar |
IPlatformFilePak.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FPakEntryLocation CreateFromListIndex
(
int32 ListIndex |
IPlatformFilePak.h | ||
static FPakEntryLocation CreateFromOffsetIntoEncoded
(
int32 Offset |
IPlatformFilePak.h | ||
static FPakEntryLocation CreateInvalid() |
IPlatformFilePak.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPakEntryLocation & operator=
(
const FPakEntryLocation& other |
IPlatformFilePak.h | ||
bool operator==
(
const FPakEntryLocation& Other |
IPlatformFilePak.h |