UPackageMap

Maps objects and names to and from indices for network communication.

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

class UPackageMap : public UObject

Remarks

Maps objects and names to and from indices for network communication.

Variables

Name Description

Protected variable

bool

 

bShouldTrackUnmappedGuids

Protected variable

bool

 

bSuppressLogs

Protected variable

FString

 

DebugContextString

Protected variable

TSet< FNetworkG...

 

TrackedMappedDynamicNetGuids

Protected variable

TSet< FNetworkG...

 

TrackedUnmappedNetGuids

Constructors

Name Description

Public function

UPackageMap

(
    const FObjectInitializer& ObjectIn...
)

Public function

UPackageMap

(
    FVTableHelper& Helper
)

DO NOT USE. This constructor is for internal usage only for hot-reload purposes.

Functions

Name Description

Public function Static

void

 

__DefaultConstructor

(
    const FObjectInitializer& X
)

Public function Static

UObject *...

 

__VTableCtorCaller

(
    FVTableHelper& Helper
)

Public function

void

 

ClearDebugContextString()

Public function Virtual Const

FNetworkGUID

 

GetNetGUIDFromObject

(
    const UObject* InObject
)

Public function Virtual

void

 

GetNetGUIDStats

(
    int32& AckCount,
    int32& UnAckCount,
    int32& PendingCount
)

Public function Virtual

UObject *...

 

GetObjectFromNetGUID

(
    const FNetworkGUID& NetGUID,
    const bool bIgnoreMustBeMapped
)

Public function Const

const TSet< ...

 

GetTrackedDynamicMappedGuids()

Public function Const

const TSet< ...

 

GetTrackedUnmappedGuids()

Public function Virtual Const

bool

 

IsGUIDBroken

(
    const FNetworkGUID& NetGUID,
    const bool bMustBeRegistered
)

Public function Virtual

void

 

LogDebugInfo

(
    FOutputDevice& Ar
)

Public function Virtual

void

 

NotifyBunchCommit

(
    const int32 OutPacketId,
    const FOutBunch* OutBunch
)

Public function Virtual

void

 

NotifyStreamingLevelUnload

(
    UObject* UnloadedLevel
)

Public function Virtual

bool

 

PrintExportBatch()

Public function Virtual

void

 

ReceivedAck

(
    const int32 AckPacketId
)

Public function Virtual

void

 

ReceivedNak

(
    const int32 NakPacketId
)

Public function

void

 

ResetTrackedGuids

(
    bool bShouldTrack
)

Public function Virtual

UObject *...

 

ResolvePathAndAssignNetGUID

(
    const FNetworkGUID& NetGUID,
    const FString& PathName
)

Public function Virtual

bool

 

SerializeName

(
    FArchive& Ar,
    FName& InName
)

Public function Virtual

bool

 

SerializeNewActor

(
    FArchive& Ar,
    UActorChannel* Channel,
    AActor*& Actor
)

Public function Virtual

bool

 

SerializeObject

(
    FArchive& Ar,
    UClass* InClass,
    UObject*& Obj,
    FNetworkGUID* OutNetGUID
)

Public function

void

 

SetDebugContextString

(
    const FString& Str
)

Public function Static

UClass *

 

StaticClass()

Returns a UClass object representing this class at runtime

Public function Static

EClassCastFl...

 

StaticClassCastFlags()

Returns the static cast flags for this class

Public function Static

const TCHAR ...

 

StaticPackage()

Returns the package this class belongs in

Public function Static

void

 

StaticRegisterNativesUPackageMap()

Public function Static

bool

 

StaticSerializeName

(
    FArchive& Ar,
    FName& InName
)

Public function Virtual

bool

 

WriteObject

(
    FArchive& Ar,
    UObject* InOuter,
    FNetworkGUID NetGUID,
    FString ObjName
)

Overridden from UObject

Name Description

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Operators

Name Description

Public function

void *

 

operator new

(
    const size_t InSize,
    EInternal InInternalOnly,
    UObject* InOuter,
    FName InName,
    EObjectFlags InSetFlags
)

For internal use only; use StaticConstructObject() to create new objects.

Public function

void *

 

operator new

(
    const size_t InSize,
    EInternal* InMem
)

For internal use only; use StaticConstructObject() to create new objects.

Typedefs

Name

Description

Super

Typedef for the base class (UObject)

ThisClass

Typedef for UPackageMap.

Constants

Name

Description

StaticClassFlags

Bitwise union of EClassFlags pertaining to this class.

References

Module

CoreUObject

Header

Runtime/CoreUObject/Public/UObject/CoreNet.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback