Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FRepLayout
Description
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.
| Name | ReplicateProperties |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Net/RepLayout.h |
| Include Path | #include "Net/RepLayout.h" |
| Source | /Engine/Source/Runtime/Engine/Private/RepLayout.cpp |
bool ReplicateProperties
(
FSendingRepState *__restrict RepState,
FRepChangelistState *__restrict RepChangelistState,
const FConstRepObjectDataBuffer Data,
UClass * ObjectClass,
UActorChannel * OwningChannel,
FNetBitWriter & Writer,
const FReplicationFlags & RepFlags
) const
Parameters
| Name | Remarks |
|---|---|
| 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. |