FRepLayout::ReceiveProperties

Reads all property values from the received buffer, and applies them to the property memory.

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

bool ReceiveProperties
(
    UActorChannel * OwningChannel,
    UClass * InObjectClass,
    FReceivingRepState *__restrict RepState,
    UObject * Object,
    FNetBitReader & InBunch,
    bool & bOutHasUnmapped,
    bool & bOutGuidsChanged,
    const EReceivePropertiesFlags InFlags
) const

Remarks

Reads all property values from the received buffer, and applies them to the property memory.

Parameters

Parameter

Description

OwningChannel

The channel of the Actor that owns the object whose properties we're reading.

InObjectClass

Class of the object.

RepState

RepState for the object. This is expected to be valid.

Data

Pointer to memory where read property data should be stored.

InBunch

The data that should be read.

bOutHasUnmapped

Whether or not unmapped GUIDs were read.

bOutGuidsChanged

Whether or not any GUIDs were changed.

Flags

Controls how ReceiveProperties behaves.

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