Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FRepLayout
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool DiffProperties
(
TArray< FProperty* >* RepNotifies, |
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. | Net/RepLayout.h | |
bool DiffProperties
(
TArray< FProperty* >* RepNotifies, |
DiffProperties(TArray< FProperty > , TRepDataBuffer< DstType >, TConstRepDataBuffer< SrcType >, const EDiffPropertiesFlags)
Description
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.
| Name | DiffProperties |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Net/RepLayout.h |
| Include Path | #include "Net/RepLayout.h" |
template<ERepDataBufferType DstType, ERepDataBufferType SrcType>
bool DiffProperties
(
TArray < FProperty * > * RepNotifies,
TRepDataBuffer< DstType > Destination,
TConstRepDataBuffer< SrcType > Source,
const EDiffPropertiesFlags Flags
) const
True if there were any properties with different values.
Parameters
| Name | Remarks |
|---|---|
| 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. |
DiffProperties(TArray< FProperty > , TRepDataBuffer< DestinationType >, TConstRepDataBuffer< SourceType >, const EDiffPropertiesFlags)
| Name | DiffProperties |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Private/RepLayout.cpp |
| Include Path | #include "RepLayout.cpp" |
template<ERepDataBufferType DestinationType, ERepDataBufferType SourceType>
bool DiffProperties
(
TArray < FProperty * > * RepNotifies,
TRepDataBuffer< DestinationType > Destination,
TConstRepDataBuffer< SourceType > Source,
const EDiffPropertiesFlags DiffFlags
) const