FPakEntryLocation

An identifier for the location of an [FPakEntry](API\Runtime\PakFile\FPakEntry) in an FDirectoryIndex or an FPathHashIndex.

References

Module

PakFile

Header

/Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h

Include

#include "IPlatformFilePak.h"

Syntax

struct FPakEntryLocation

Remarks

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

Constructors

Name Description

Public function

FPakEntryLocation()

Public function

FPakEntryLocation

(
    const FPakEntryLocation& Other
)

Functions

Name Description

Public function Static

FPakEntryLoc...

 

CreateFromListIndex

(
    int32 ListIndex
)

Public function Static

FPakEntryLoc...

 

CreateFromOffsetIntoEncoded

(
    int32 Offset
)

Public function Static

FPakEntryLoc...

 

CreateInvalid()

Public function Const

int32

 

GetAsListIndex()

Public function Const

int32

 

GetAsOffsetIntoEncoded()

Public function Const

bool

 

IsInvalid()

Public function Const

bool

 

IsListIndex()

Public function Const

bool

 

IsOffsetIntoEncoded()

Public function

void

 

Serialize

(
    FArchive& Ar
)

Operators

Name Description

Public function

FPakEntryLoc...

 

operator=

(
    const FPakEntryLocation& other
)

Public function Const

bool

 

operator==

(
    const FPakEntryLocation& Other
)

Constants

Name

Description

Invalid

0x00000000 - 0x7ffffffe: EncodedOffset from 0 to MaxIndex 0x7fffffff: Unused, interpreted as Invalid 0x80000000: Invalid 0x80000001 - 0xffffffff: FileIndex from MaxIndex to 0

MaxIndex

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel