![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "Net/RepLayout.h"#include "Containers/StaticBitArray.h"#include "Misc/MemStack.h"#include "Net/Core/NetBitArray.h"#include "Net/Core/NetCoreModule.h"#include "Net/Core/Misc/NetCVars.h"#include "Net/Core/NetToken/NetTokenExportContext.h"#include "Net/Core/PropertyConditions/RepChangedPropertyTracker.h"#include "Net/Core/PushModel/PushModel.h"#include "Net/Core/PushModel/PushModelMacros.h"#include "Net/Core/PushModel/Types/PushModelPerNetDriverState.h"#include "Net/Core/Trace/NetTrace.h"#include "Net/Core/Trace/Private/NetTraceInternal.h"#include "EngineStats.h"#include "Engine/PackageMapClient.h"#include "Engine/NetConnection.h"#include "Net/Serialization/FastArraySerializer.h"#include "Net/NetworkProfiler.h"#include "Engine/ActorChannel.h"#include "Misc/App.h"#include "Net/NetworkGranularMemoryLogging.h"#include "Serialization/ArchiveCountMem.h"#include "Stats/StatsTrace.h"#include "UObject/EnumProperty.h"#include "Iris/IrisConfig.h"#include "Net/Iris/ReplicationSystem/ReplicationSystemUtil.h"Classes | |
| struct | FLifetimeCustomDeltaProperty |
| struct | FLifetimeCustomDeltaState |
| struct | FDeltaArrayHistoryItem |
| struct | FDeltaArrayHistoryState |
| struct | FCustomDeltaChangelistState |
| struct | FComparePropertiesSharedParams |
| struct | FComparePropertiesStackParams |
| class | FScopedIteratorArrayTracker |
| struct | FReceivePropertiesSharedParams |
| struct | FReceivePropertiesStackParams |
| struct | FDiffPropertiesSharedParams |
| struct | TDiffPropertiesStackParams< DestinationType, SourceType > |
| struct | FDiffStablePropertiesSharedParams |
| struct | TDiffStablePropertiesStackParams< DestinationType, SourceType > |
| struct | FInitFromPropertySharedParams |
| struct | FInitFromPropertyStackParams |
Namespaces | |
| namespace | UE |
| namespace | UE::Net |
| namespace | UE::Net::Private |
| namespace | UEPushModelPrivate |
| namespace | UE_RepLayout_Private |
Macros | |
| #define | ENABLE_PROPERTY_CHECKSUMS |
| #define | USE_CUSTOM_COMPARE |
| #define | REPDATATYPE_SPECIALIZATION(DstType, SrcType) |
| #define | REPDATATYPE_SPECIALIZATION(DataType) template void FRepLayout::ValidateWithChecksum(TConstRepDataBuffer<DataType> Data, FBitArchive& Ar) const; |
Enumerations | |
| enum class | ERepBuildType { Class , Function , Struct } |
| #define ENABLE_PROPERTY_CHECKSUMS |
| #define REPDATATYPE_SPECIALIZATION | ( | DataType | ) | template void FRepLayout::ValidateWithChecksum(TConstRepDataBuffer<DataType> Data, FBitArchive& Ar) const; |
| #define REPDATATYPE_SPECIALIZATION | ( | DstType, | |
| SrcType | |||
| ) |
| #define USE_CUSTOM_COMPARE |
|
strong |
| DECLARE_CYCLE_STAT | ( | TEXT("RepLayout DeltaSerializeFastArray") | , |
| STAT_RepLayout_DeltaSerializeFastArray | , | ||
| STATGROUP_Game | |||
| ) |
| DECLARE_CYCLE_STAT | ( | TEXT("RepLayout InitFromObjectClass") | , |
| STAT_RepLayout_InitFromObjectClass | , | ||
| STATGROUP_Game | |||
| ) |
| DEFINE_LOG_CATEGORY_STATIC | ( | LogRepCompares | , |
| Warning | , | ||
| All | |||
| ) |
| DEFINE_LOG_CATEGORY_STATIC | ( | LogRepProperties | , |
| Warning | , | ||
| All | |||
| ) |
| DEFINE_LOG_CATEGORY_STATIC | ( | LogRepPropertiesBackCompat | , |
| Warning | , | ||
| All | |||
| ) |
|
inline |
Helper method to allow us to instrument FBitArchive using FNetTraceCollector The rationale behind this variant being declared here is that it makes ugly assumption about FBitArchive when being used to collect stats either is a BitWriter or a BitReader
| const FORCEINLINE int32 GetOffsetForProperty< ERepBuildType::Function > | ( | const FProperty & | Property | ) |
| const TCHAR * LexToString | ( | ERepLayoutCmdType | CmdType | ) |
| const TCHAR * LexToString | ( | ERepLayoutFlags | Flag | ) |
| REPDATATYPE_SPECIALIZATION | ( | ERepDataBufferType::ObjectBuffer | ) |
| REPDATATYPE_SPECIALIZATION | ( | ERepDataBufferType::ShadowBuffer | ) |
| void ValidateWithChecksum_r | ( | TArray< FRepLayoutCmd >::TConstIterator & | CmdIt, |
| const TConstRepDataBuffer< DataType > | Data, | ||
| FBitArchive & | Ar | ||
| ) |
| int32 GDoPropertyChecksum = 0 |
| int32 GDoReplicationContextString = 0 |
| int32 GNetSharedSerializedData = 1 |
| int32 GNetVerifyShareSerializedData = 0 |
|
extern |
|
extern |
| int32 GShareInitialCompareState = 0 |
| int32 GShareShadowState = 1 |
| int32 GUsePackedShadowBuffers = 1 |
| int32 LogSkippedRepNotifies = 0 |