Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Net/RepLayout.h |
Include |
#include "Net/RepLayout.h" |
Source |
/Engine/Source/Runtime/Engine/Private/RepLayout.cpp |
template<ERepDataBufferType DstType, ERepDataBufferType SrcType>
bool DiffProperties
(
TArray< FProperty * > * RepNotifies,
TRepDataBuffer< DstType > Destination,
TConstRepDataBuffer< SrcType > Source,
const EDiffPropertiesFlags Flags
) const
Compare all properties between source and destination buffer, and optionally update the destination buffer to match the state of the source buffer if they don't match.
True if there were any properties with different values.
Parameter |
Description |
---|---|
RepNotifies |
RepNotifies that should be fired if we're changing properties. |
Destination |
Destination buffer that will be changed if we're changing properties. |
Source |
Source buffer containing desired property values. |
Flags |
Controls how DiffProperties behaves. |