Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FRepLayout
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool DiffStableProperties
(
TArray< FProperty* >* RepNotifies, |
The main difference between this method and DiffProperties is that this method will skip any properties that are: | Net/RepLayout.h | |
bool DiffStableProperties
(
TArray< FProperty* >* RepNotifies, |
DiffStableProperties(TArray< FProperty > , TArray< UObject > , TRepDataBuffer< DstType >, TConstRepDataBuffer< SrcType >)
Description
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.
| Name | DiffStableProperties |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Net/RepLayout.h |
| Include Path | #include "Net/RepLayout.h" |
template<ERepDataBufferType DstType, ERepDataBufferType SrcType>
bool DiffStableProperties
(
TArray < FProperty * > * RepNotifies,
TArray < UObject * > * ObjReferences,
TRepDataBuffer< DstType > Destination,
TConstRepDataBuffer< SrcType > Source
) 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. |
See Also
- DiffProperties
DiffStableProperties(TArray< FProperty > , TArray< UObject > , TRepDataBuffer< DestinationType >, TConstRepDataBuffer< SourceType >)
| Name | DiffStableProperties |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Private/RepLayout.cpp |
| Include Path | #include "RepLayout.cpp" |
template<ERepDataBufferType DestinationType, ERepDataBufferType SourceType>
bool DiffStableProperties
(
TArray < FProperty * > * RepNotifies,
TArray < UObject * > * ObjReferences,
TRepDataBuffer< DestinationType > Destination,
TConstRepDataBuffer< SourceType > Source
) const