Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Net > FRepLayout
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 |
bool ReplicateProperties
&40;
FSendingRepState &42;restrict RepState,
FRepChangelistState &42;restrict RepChangelistState,
const FConstRepObjectDataBuffer Data,
UClass &42; ObjectClass,
UActorChannel &42; OwningChannel,
FNetBitWriter & Writer,
const FReplicationFlags & RepFlags
&41; 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
Name | 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. |