FRepLayout::ReplicateProperties

Writes out any changed properties for an Object into the given data buffer, and does book keeping for the RepState of the object.

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 ReplicateProperties
(
    FSendingRepState *restrict RepState,
    FRepChangelistState *
restrict RepChangelistState,
    const FConstRepObjectDataBuffer Data,
    UClass * ObjectClass,
    UActorChannel * OwningChannel,
    FNetBitWriter & Writer,
    const FReplicationFlags & RepFlags
) const

Remarks

Writes out any changed properties for an Object into the given data buffer, and does book keeping for the RepState of the object.

Note, this does not compare properties or send them on the wire, it's only used to serialize properties.

Parameters

Parameter

Description

RepState

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

RepChangelistState

RepChangelistState for the object.

Data

Pointer to memory where property data is stored.

ObjectClass

Class of the object.

Writer

Writer used to store / write out the replicated properties.

RepFlags

Flags used for replication.

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