FRepLayout::UpdateUnmappedObjects

Attempts to update any unmapped network guids referenced by the RepState.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Net/RepLayout.h

Include

#include "Net/RepLayout.h"

Source

/Engine/Source/Runtime/Engine/Private/RepLayout.cpp

Syntax

void UpdateUnmappedObjects
(
    FReceivingRepState *__restrict RepState,
    UPackageMap * PackageMap,
    UObject * Object,
    struct FNetDeltaSerializeInfo & Params,
    bool & bCalledPreNetReceive,
    bool & bOutSomeObjectsWereMapped,
    bool & bOutHasMoreUnmapped
) const

Remarks

Attempts to update any unmapped network guids referenced by the RepState. If any guids become mapped, we will update corresponding properties on the given object to point to the referenced object.

Parameters

Parameter

Description

RepState

The RepState associated with the Object. This is expected to be valid.

PackageMap

The package map that controls FNetworkGUID associations.

Object

The live game object whose properties should be updated if we map any objects.

bOutSomeObjectsWereMapped

Whether or not we successfully mapped any references.

bOutHasMoreUnamapped

Whether or not there are more unmapped references in the RepState.

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