FRepLayout::DiffProperties

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.

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

template<ERepDataBufferType DstType, ERepDataBufferType SrcType>
bool DiffProperties
(
    TArray< FProperty * > * RepNotifies,
    TRepDataBuffer< DstType > Destination,
    TConstRepDataBuffer< SrcType > Source,
    const EDiffPropertiesFlags Flags
) const

Remarks

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.

Returns

True if there were any properties with different values.

Parameters

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.

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