FNetGUIDCache

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/PackageMapClient.h

Include

#include "Engine/PackageMapClient.h"

Syntax

class FNetGUIDCache

Variables

Name Description

Public variable

EAsyncLoadMode

 

AsyncLoadMode

Public variable

UNetDriver *...

 

Driver

Public variable

TMap < FNetworkG ...

 

History

History for debugging entries in the guid cache.

Public variable

TSet < FNetworkG ...

 

ImportedNetGuids

Public variable

bool

 

IsExportingNetGUIDBunch

Public variable

TMap < TWeakObje ...

 

NetGUIDLookup

Public variable

ENetworkChecksu ...

 

NetworkChecksumMode

Public variable

TMap < FNetworkG ...

 

ObjectLookup

Public variable

TMap < FNetworkG ...

 

PendingOuterNetGuids

Public variable

int32 [2]

 

UniqueNetIDs

Constructors

Name Description

Public function

FNetGUIDCache

(
    UNetDriver * InDriver
)

Functions

Name Description

Public function

FNetworkGUID

 

AssignNewNetGUID_Server

(
    UObject * Object
)

Generate a new NetGUID for this object and assign it.

Public function

FNetworkGUID

 

AssignNewNetGUIDFromPath_Server

(
    const FString & PathName,
    UObject * ObjOuter,
    UClass * ObjClass
)

Public function

void

 

AsyncPackageCallback

(
    const FName & PackageName,
    UPackage * Package,
    EAsyncLoadingResult::Type Result
)

Public function Const

bool

 

CanClientLoadObject

(
    const UObject * Object,
    const FNetworkGUID & NetGUID
)

Public function

void

 

CleanReferences()

Public function

void

 

CollectReferences

(
    FReferenceCollector & ReferenceColl...
)

Public function

void

 

ConsumeAsyncLoadDelinquencyAnalytics

Public function Const

void

 

CountBytes

(
    FArchive & Ar
)

Public function Const

FString

 

FullNetGUIDPath

(
    const FNetworkGUID & NetGUID
)

Public function Const

void

 

GenerateFullNetGUIDPath_r

(
    const FNetworkGUID & NetGUID,
    FString & FullPath
)

Public function Const

const FNetAs ...

 

GetAsyncLoadDelinquencyAnalytics()

Public function Const

FNetGuidCach ...

 

GetCacheObject

(
    const FNetworkGUID & NetGUID
)

Public function

uint32

 

GetClassNetworkChecksum

(
    UClass * Class
)

Public function Const

FNetworkGUID

 

GetNetGUID

(
    const UObject * Object
)

Public function

uint32

 

GetNetworkChecksum

(
    UObject * Obj
)

Public function

UObject *...

 

GetObjectFromNetGUID

(
    const FNetworkGUID & NetGUID,
    const bool bIgnoreMustBeMapped
)

Public function

FNetworkGUID

 

GetOrAssignNetGUID

(
    UObject * Object,
    const TWeakObjectPtr < UObject >...
)

Gets or assigns a new NetGUID to this object. Returns whether the object is fully mapped or not

Public function Const

FNetworkGUID

 

GetOuterNetGUID

(
    const FNetworkGUID & NetGUID
)

Public function

bool

 

IsDynamicObject

(
    const UObject * Object
)

Dynamic objects are actors or sub-objects that were spawned in the world at run time, and therefor cannot be referenced with a path name to the client.

Public function Const

bool

 

IsGUIDBroken

(
    const FNetworkGUID & NetGUID,
    const bool bMustBeRegistered
)

Public function Const

bool

 

IsGUIDLoaded

(
    const FNetworkGUID & NetGUID
)

Public function Const

bool

 

IsGUIDNoLoad

(
    const FNetworkGUID & NetGUID
)

Public function Const

bool

 

IsGUIDPending

(
    const FNetworkGUID & NetGUID
)

Public function Const

bool

 

IsGUIDRegistered

(
    const FNetworkGUID & NetGUID
)

Public function Static

const bool

 

IsHistoryEnabled()

Public function Const

bool

 

IsNetGUIDAuthority()

Public function

void

 

RegisterNetGUID_Client

(
    const FNetworkGUID & NetGUID,
    const UObject * Object
)

Associates a net guid directly with an object This function is only called on clients with dynamic guids

Public function

void

 

RegisterNetGUID_Internal

(
    const FNetworkGUID & NetGUID,
    const FNetGuidCacheObject & CacheOb...
)

Public function

void

 

RegisterNetGUID_Server

(
    const FNetworkGUID & NetGUID,
    UObject * Object
)

Associates a net guid directly with an object This function is only called on server

Public function

void

 

RegisterNetGUIDFromPath_Client

(
    const FNetworkGUID & NetGUID,
    const FString & PathName,
    const FNetworkGUID & OuterGUID,
    const uint32 NetworkChecksum,
    const bool bNoLoad,
    const bool bIgnoreWhenMissing
)

Associates a net guid with a path, that can be loaded or found later This function is only called on the client

Public function

void

 

RegisterNetGUIDFromPath_Server

(
    const FNetworkGUID & NetGUID,
    const FString & PathName,
    const FNetworkGUID & OuterGUID,
    const uint32 NetworkChecksum,
    const bool bNoLoad,
    const bool bIgnoreWhenMissing
)

Associates a net guid with a path, that can be loaded or found later This function is only called on the server

Public function

void

 

ResetAsyncLoadDelinquencyAnalytics()

Public function

void

 

ResetCacheForDemo()

Public function

void

 

SetAsyncLoadMode

(
    const EAsyncLoadMode NewMode
)

Public function

void

 

SetNetworkChecksumMode

(
    const ENetworkChecksumMode NewMode
)

Public function Const

bool

 

ShouldAsyncLoad()

Public function Const

bool

 

ShouldIgnoreWhenMissing

(
    const FNetworkGUID & NetGUID
)

Public function Const

bool

 

SupportsObject

(
    const UObject * Object,
    const TWeakObjectPtr < UObject >...
)

Public function

TSharedRef < ...

 

TrackQueuedBunchObjectReference

(
    const FNetworkGUID InNetGUID,
    UObject * InObject
)

Enums

Select Skin
Light
Dark

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