FRepLayout::DiffStableProperties

The main difference between this method and DiffProperties is that this method will skip any properties that are:

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 DiffStableProperties
(
    TArray< FProperty * > * RepNotifies,
    TArray< UObject * > * ObjReferences,
    TRepDataBuffer< DstType > Destination,
    TConstRepDataBuffer< SrcType > Source
) const

Remarks

The main difference between this method and DiffProperties is that this method will skip any properties that are:

  • Transient

  • Point to Actors or ActorComponents

  • Point to Objects that are non-stably named for networking.

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.

See Also

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