72 template<ERepDataBufferType DataType,
typename ConstOrNotType>
89 explicit operator bool()
const
91 return Data !=
nullptr;
102 template<
typename TLayoutCmdType,
typename ConstOrNotType>
108 template<
typename TLayoutCmdType,
typename ConstOrNotType>
178 void* DataPtr =
nullptr;
199 return FString::Printf(
TEXT(
"{Cmd: %u, Index: %u, Depth: %u, Ptr: 0x%08" UPTRINT_x_FMT "}"), CmdIndex, ArrayIndex, ArrayDepth, (
UPTRINT)DataPtr);
204 return (
A.CmdIndex ==
B.CmdIndex) && (
A.ArrayIndex ==
B.ArrayIndex) && (
A.ArrayDepth ==
B.ArrayDepth) && (
A.DataPtr ==
B.DataPtr);
298 const int32 CmdIndex,
302 const bool bDoChecksum);
318 bool bIsValid =
false;
519 return &RepChangelistState;
524 return &RepChangelistState;
531 uint32 LastReplicationFrame = 0;
532 uint32 LastInitialReplicationFrame = 0;
587 UE_DEPRECATED(5.4,
"Use UE::Net::BuildConditionMapFromRepFlags instead")
691 return ReceivingRepState.
Get();
696 return ReceivingRepState.
Get();
701 return SendingRepState.
Get();
706 return SendingRepState.
Get();
1043 int32 LastSuccessfulCmdIndex;
1242 UE_DEPRECATED(5.1,
"No longer used, trackers are initialized by the replication subsystem.")
1289 bool& bOutHasUnmapped,
1290 bool& bOutGuidsChanged,
1342 bool& bCalledPreNetReceive,
1343 bool& bOutSomeObjectsWereMapped,
1344 bool& bOutHasMoreUnmapped) const;
1431 const
UObject* OwningObject =
nullptr) const;
1453 bool& bOutHasUnmapped,
1455 bool& bOutGuidsChanged,
1456 UObject* OwningObject =
nullptr)
const;
1468 template<
typename T>
1475 return (T*)((Data +
Parent).Data);
1482 template<
typename T>
1489 return (
const T*)((Data +
Parent).Data);
1508 return Parents.
Num();
1534 return PushModelProperties.IsValidIndex(
Index) ? PushModelProperties[
Index] :
false;
1583 void SendProperties(
1600 void PruneChangeList(
1605 void MergeChangeList(
1611 void RebuildConditionalProperties(
1615 void UpdateChangelistHistory(
1622 void SendProperties_BackwardsCompatible_r(
1628 const bool bDoChecksum,
1632 void SendAllProperties_BackwardsCompatible_r(
1635 const bool bDoChecksum,
1638 const int32 CmdStart,
1642 void SendProperties_r(
1645 const bool bDoChecksum,
1648 const int32 ArrayDepth,
1652 void BuildSharedSerialization(
1659 void BuildSharedSerialization_r(
1663 const bool bDoChecksum,
1664 const int32 ArrayDepth,
1667 void BuildSharedSerializationForRPC_DynamicArray_r(
1668 const int32 CmdIndex,
1673 void BuildSharedSerializationForRPC_r(
1674 const int32 CmdStart,
1683 int32 FindCompatibleProperty(
1684 const int32 CmdStart,
1686 const uint32 Checksum)
const;
1688 bool ReceiveProperties_BackwardsCompatible_r(
1692 const int32 CmdStart,
1698 bool& bOutHasUnmapped,
1699 bool& bOutGuidsChanged,
1702 void GatherGuidReferences_r(
1707 bool MoveMappedObjectToUnmapped_r(
1710 const UObject*
const OwningObject)
const;
1712 void UpdateUnmappedObjects_r(
1720 bool& bCalledPreNetReceive,
1721 bool& bOutSomeObjectsWereMapped,
1722 bool& bOutHasMoreUnmapped)
const;
1724 void SanityCheckChangeList_DynamicArray_r(
1725 const int32 CmdIndex,
1728 int32& ChangedIndex)
const;
1730 uint16 SanityCheckChangeList_r(
1731 const int32 CmdStart,
1735 int32& ChangedIndex,
1740 void SerializeProperties_DynamicArray_r(
1743 const int32 CmdIndex,
1746 const int32 ArrayDepth,
1749 const UObject* OwningObject)
const;
1751 void SerializeProperties_r(
1754 const int32 CmdStart,
1758 const int32 ArrayIndex,
1759 const int32 ArrayDepth,
1762 const UObject* OwningObject)
const;
1764 void MergeChangeList_r(
1770 void PruneChangeList_r(
1783 void FilterChangeList(
1790 void FilterChangeListToActive(
1795 void BuildChangeList_r(
1797 const int32 CmdStart,
1804 void BuildHandleToCmdIndexTable_r(
1805 const int32 CmdStart,
1813 const uint32 ReplicationFrame,
1841 bool ReceiveCustomDeltaProperty(
1854 void PreSendCustomDeltaProperties(
1861 void PostSendCustomDeltaProperties(
1867 const uint16 GetNumLifetimeCustomDeltaProperties()
const;
1878 int32 ShadowDataBufferSize;
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
#define ensureMsgf( InExpression, InFormat,...)
Definition AssertionMacros.h:465
uint64 CityHash64(const char *s, uint32 len)
Definition CityHash.cpp:388
typename TCopyQualifiersFromTo< From, To >::Type TCopyQualifiersFromTo_T
Definition CopyQualifiersFromTo.h:17
@ INDEX_NONE
Definition CoreMiscDefines.h:150
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
ELifetimeCondition
Definition CoreNetTypes.h:20
@ COND_Never
Definition CoreNetTypes.h:36
@ COND_OwnerOnly
Definition CoreNetTypes.h:23
@ COND_SkipOwner
Definition CoreNetTypes.h:24
@ COND_Dynamic
Definition CoreNetTypes.h:35
@ COND_Custom
Definition CoreNetTypes.h:29
@ COND_SimulatedOnly
Definition CoreNetTypes.h:25
@ COND_Max
Definition CoreNetTypes.h:38
@ COND_SkipReplay
Definition CoreNetTypes.h:34
@ COND_SimulatedOrPhysics
Definition CoreNetTypes.h:27
@ COND_ReplayOrOwner
Definition CoreNetTypes.h:30
@ COND_InitialOnly
Definition CoreNetTypes.h:22
@ COND_ReplayOnly
Definition CoreNetTypes.h:31
@ COND_SimulatedOrPhysicsNoReplay
Definition CoreNetTypes.h:33
@ COND_InitialOrOwner
Definition CoreNetTypes.h:28
@ COND_AutonomousOnly
Definition CoreNetTypes.h:26
@ COND_SimulatedOnlyNoReplay
Definition CoreNetTypes.h:32
@ COND_None
Definition CoreNetTypes.h:21
ELifetimeRepNotifyCondition
Definition CoreNetTypes.h:43
@ REPNOTIFY_OnChanged
Definition CoreNetTypes.h:44
FString GetPathNameSafe(const FField *InField, const UObject *StopOuter)
Definition Field.cpp:1150
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
@ Changelist
The pre-release field adds additional versioning through a series of comparable dotted strings or num...
constexpr bool EnumHasAnyFlags(Enum Flags, Enum Contains)
Definition EnumClassFlags.h:35
#define ENUM_CLASS_FLAGS(Enum)
Definition EnumClassFlags.h:6
return true
Definition ExternalRpcRegistry.cpp:601
const bool
Definition NetworkReplayStreaming.h:178
ECreateReplicationChangelistMgrFlags
Definition RepLayout.h:1047
ECreateRepLayoutFlags
Definition RepLayout.h:1055
const TCHAR * LexToString(ERepLayoutCmdType CmdType)
Definition RepLayout.cpp:8522
ESerializePropertyType
Definition RepLayout.h:54
TRepDataBuffer< ERepDataBufferType::ObjectBuffer > FRepObjectDataBuffer
Definition RepLayout.h:118
ECreateRepStateFlags
Definition RepLayout.h:715
@ SkipCreateReceivingState
ERepLayoutResult
Definition RepLayout.h:1078
EDiffPropertiesFlags
Definition RepLayout.h:36
@ IncludeConditionalProperties
Indicates that properties should be updated (synchronized), not just diffed.
ERepLayoutFlags
Definition RepLayout.h:1062
@ HasInitialOnlyProperties
All properties in this RepLayout use Push Model.
@ FullPushProperties
Will be set if the RepLayout has no lifetime properties, or they are all disabled.
@ NoReplicatedProperties
Will be set for any RepLayout that contains Object or Net Serialize property commands.
@ HasObjectOrNetSerializeProperties
All properties and fast arrays in this RepLayout use Push Model.
@ HasDynamicConditionProperties
There is at least 1 Initial Only Lifetime property on this RepLayout.
@ PartialPushSupport
This RepLayout is for AActor or a subclass of AActor.
@ FullPushSupport
This RepLayout has some properties that use Push Model and some that don't.
EReceivePropertiesFlags
Definition RepLayout.h:45
@ SkipRoleSwap
Whether or not RepNotifies will be fired due to changed properties.
ERepParentFlags
Definition RepLayout.h:757
@ IsZeroConstructible
This property is a FStructProperty.
@ IsConditional
This property is valid for the lifetime of the object (almost always set).
@ HasNetSerializeProperties
This property is tracking UObjects (may be through nested properties).
@ IsStructProperty
This property uses a custom net serializer. Mutually exclusive with IsCustomDelta.
@ IsConfig
This property has a secondary condition to check.
@ HasDynamicArrayProperties
This property contains Net Serialize properties (may be through nested properties).
@ IsFastArray
This property is ZeroConstructible.
@ IsCustomDelta
This property is defaulted from a config file.
@ IsNetSerialize
This property uses custom delta compression. Mutually exclusive with IsNetSerialize.
ERepLayoutCmdFlags
Definition RepLayout.h:841
@ IsSharedSerialization
No flags.
@ IsEmptyArrayStruct
This is a struct property.
@ IsStruct
Indicates the property is eligible for shared serialization.
TRepDataBuffer< ERepDataBufferType::ShadowBuffer > FRepShadowDataBuffer
Definition RepLayout.h:119
ERepDataBufferType
Definition RepLayout.h:60
@ ShadowBuffer
Indicates this buffer is a full object's memory.
TConstRepDataBuffer< ERepDataBufferType::ShadowBuffer > FConstRepShadowDataBuffer
Definition RepLayout.h:121
TConstRepDataBuffer< ERepDataBufferType::ObjectBuffer > FConstRepObjectDataBuffer
Definition RepLayout.h:120
ERepLayoutCmdType
Definition RepLayout.h:723
@ Property
Return from array, or end of stream.
@ NetSerializeStructWithObjectReferences
@ PropertyBool
Generic property.
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
uint32 Offset
Definition VulkanMemory.cpp:4033
Definition Archive.h:1208
Definition BitArchive.h:13
Definition RepLayout.h:929
int32 ChangedIndex
Definition RepLayout.h:941
FChangelistIterator(const TArray< uint16 > &InChanged, const int32 InChangedIndex)
Definition RepLayout.h:932
const TArray< uint16 > & Changed
Definition RepLayout.h:938
Definition GCObject.h:128
Definition RepLayout.h:890
int32 CmdIndex
Definition RepLayout.h:919
TUniquePtr< TArray< FHandleToCmdIndex > > HandleToCmdIndex
Definition RepLayout.h:920
FHandleToCmdIndex & operator=(FHandleToCmdIndex &&Other)
Definition RepLayout.h:908
FHandleToCmdIndex(const int32 InHandleToCmdIndex)
Definition RepLayout.h:897
FHandleToCmdIndex()
Definition RepLayout.h:892
FHandleToCmdIndex(FHandleToCmdIndex &&Other)
Definition RepLayout.h:902
Definition NameTypes.h:617
Definition PackageMapClient.h:92
Definition DataReplication.cpp:96
Definition NetworkGuid.h:12
Definition UnrealTemplate.h:321
Definition UnrealType.h:174
Definition RepLayout.h:539
FGuidReferencesMap GuidReferencesMap
Definition RepLayout.h:554
FRepStateStaticBuffer StaticBuffer
Definition RepLayout.h:551
TArray< FProperty * > RepNotifies
Definition RepLayout.h:557
void CountBytes(FArchive &Ar) const
Definition RepLayout.cpp:8380
TMap< FProperty *, TArray< uint8 > > RepNotifyMetaData
Definition RepLayout.h:563
Definition UObjectGlobals.h:2492
Definition RepLayout.h:333
bool Resend
Definition RepLayout.h:363
void Reset()
Definition RepLayout.h:349
FPacketIdRange OutPacketIdRange
Definition RepLayout.h:357
void CountBytes(FArchive &Ar) const
Definition RepLayout.h:339
TArray< uint16 > Changed
Definition RepLayout.h:360
bool WasSent() const
Definition RepLayout.h:344
FRepChangedHistory()
Definition RepLayout.h:335
Definition RepChangedPropertyTracker.h:23
Definition RepLayout.h:434
~FRepChangelistState()
Definition RepLayout.cpp:1193
int32 HistoryEnd
Definition RepLayout.h:462
TUniquePtr< struct FCustomDeltaChangelistState > CustomDeltaChangelistState
Definition RepLayout.h:456
FRepChangedHistory ChangeHistory[MAX_CHANGE_HISTORY]
Definition RepLayout.h:453
static const int32 MAX_CHANGE_HISTORY
Definition RepLayout.h:450
FRepStateStaticBuffer StaticBuffer
Definition RepLayout.h:471
uint32 CustomDeltaChangeIndex
Definition RepLayout.h:468
void CountBytes(FArchive &Ar) const
Definition RepLayout.cpp:1216
int32 CompareIndex
Definition RepLayout.h:465
int32 HistoryStart
Definition RepLayout.h:459
FRepSerializationSharedInfo SharedSerialization
Definition RepLayout.h:474
Definition RepLayout.h:946
const TArray< FHandleToCmdIndex > & HandleToCmdIndex
Definition RepLayout.h:1001
UStruct const *const Owner
Definition RepLayout.h:1039
FRepHandleIterator(UStruct const *const InOwner, FChangelistIterator &InChangelistIterator, const TArray< FRepLayoutCmd > &InCmds, const TArray< FHandleToCmdIndex > &InHandleToCmdIndex, const int32 InElementSize, const int32 InMaxArrayIndex, const int32 InMinCmdIndex, const int32 InMaxCmdIndex)
Definition RepLayout.h:949
const TArray< FRepLayoutCmd > & Cmds
Definition RepLayout.h:998
int32 ArrayIndex
Definition RepLayout.h:1034
const int32 MaxArrayIndex
Definition RepLayout.h:1019
int32 ArrayOffset
Definition RepLayout.h:1037
const int32 ArrayElementSize
Definition RepLayout.h:1013
bool JumpOverArray()
Definition RepLayout.cpp:2398
const int32 MinCmdIndex
Definition RepLayout.h:1022
bool NextHandle()
Definition RepLayout.cpp:2318
int32 CmdIndex
Definition RepLayout.h:1031
const int32 NumHandlesPerElement
Definition RepLayout.h:1007
int32 Handle
Definition RepLayout.h:1028
FChangelistIterator & ChangelistIterator
Definition RepLayout.h:995
const int32 MaxCmdIndex
Definition RepLayout.h:1025
int32 PeekNextHandle() const
Definition RepLayout.cpp:2413
Definition RepLayout.h:857
uint16 RelativeHandle
Definition RepLayout.h:876
uint16 ParentIndex
Definition RepLayout.h:879
int32 Offset
Definition RepLayout.h:870
FProperty * Property
Definition RepLayout.h:861
uint16 EndCmd
Definition RepLayout.h:864
uint32 CompatibleChecksum
Definition RepLayout.h:882
int32 ShadowOffset
Definition RepLayout.h:873
ERepLayoutCmdFlags Flags
Definition RepLayout.h:885
ERepLayoutCmdType Type
Definition RepLayout.h:884
uint16 ElementSize
Definition RepLayout.h:867
Definition RepLayout.h:1174
static ENGINE_API TSharedPtr< FRepLayout > CreateFromStruct(UStruct *InStruct, const UNetConnection *ServerConnection=nullptr, const ECreateRepLayoutFlags Flags=ECreateRepLayoutFlags::None)
Definition RepLayout.cpp:6542
void ValidateWithChecksum(TConstRepDataBuffer< DataType > Data, FBitArchive &Ar) const
Definition RepLayout.cpp:4866
ENGINE_API void SerializePropertiesForStruct(UStruct *Struct, FBitArchive &Ar, UPackageMap *Map, FRepObjectDataBuffer Data, bool &bHasUnmapped, const UObject *OwningObject=nullptr) const
Definition RepLayout.cpp:7164
const T * GetShadowStateValue(FConstRepShadowDataBuffer Data, const FName PropertyName) const
Definition RepLayout.h:1483
const uint16 GetCustomDeltaIndexFromPropertyRepIndex(const uint16 PropertyRepIndex) const
Definition RepLayout.cpp:8365
void InitChangedTracker(FRepChangedPropertyTracker *ChangedTracker) const
Definition RepLayout.cpp:7255
bool ReplicateProperties(FSendingRepState *RESTRICT RepState, FRepChangelistState *RESTRICT RepChangelistState, const FConstRepObjectDataBuffer Data, UClass *ObjectClass, UActorChannel *OwningChannel, FNetBitWriter &Writer, const FReplicationFlags &RepFlags) const
Definition RepLayout.cpp:1972
void UpdateUnmappedObjects(FReceivingRepState *RESTRICT RepState, UPackageMap *PackageMap, UObject *Object, struct FNetDeltaSerializeInfo &Params, bool &bCalledPreNetReceive, bool &bOutSomeObjectsWereMapped, bool &bOutHasMoreUnmapped) const
Definition RepLayout.cpp:4468
void CountBytes(FArchive &Ar) const
Definition RepLayout.cpp:8321
bool DiffProperties(TArray< FProperty * > *RepNotifies, TRepDataBuffer< DstType > Destination, TConstRepDataBuffer< SrcType > Source, const EDiffPropertiesFlags Flags) const
bool MoveMappedObjectToUnmapped(FReceivingRepState *RESTRICT RepState, struct FNetDeltaSerializeInfo &Params, const FNetworkGUID &GUID) const
Definition RepLayout.cpp:4299
static TSharedPtr< FRepLayout > CreateFromFunction(UFunction *InFunction, const UNetConnection *ServerConnection=nullptr, const ECreateRepLayoutFlags Flags=ECreateRepLayoutFlags::None)
Definition RepLayout.cpp:6484
static ENGINE_API TSharedPtr< FRepLayout > CreateFromClass(UClass *InObjectClass, const UNetConnection *ServerConnection=nullptr, const ECreateRepLayoutFlags Flags=ECreateRepLayoutFlags::None)
Definition RepLayout.cpp:6071
virtual ENGINE_API void AddReferencedObjects(FReferenceCollector &Collector) override
Definition RepLayout.cpp:7405
const int32 GetParentArrayIndex(int32 Index) const
Definition RepLayout.h:1516
const bool IsCustomDeltaProperty(int32 Index) const
Definition RepLayout.h:1526
const bool IsEmpty() const
Definition RepLayout.h:1501
bool ReceiveProperties(UActorChannel *OwningChannel, UClass *InObjectClass, FReceivingRepState *RESTRICT RepState, UObject *Object, FNetBitReader &InBunch, bool &bOutHasUnmapped, bool &bOutGuidsChanged, const EReceivePropertiesFlags InFlags) const
Definition RepLayout.cpp:3789
const ERepLayoutFlags GetFlags() const
Definition RepLayout.h:1496
const FProperty * GetParentProperty(int32 Index) const
Definition RepLayout.h:1511
const int32 GetNumParents() const
Definition RepLayout.h:1506
void ENGINE_API ClearSharedSerializationForRPC()
Definition RepLayout.cpp:7007
void SendProperties_BackwardsCompatible(FSendingRepState *RESTRICT RepState, FRepChangedPropertyTracker *ChangedTracker, const FConstRepObjectDataBuffer Data, UNetConnection *Connection, FNetBitWriter &Writer, TArray< uint16 > &Changed) const
Definition RepLayout.cpp:3261
FRepStateStaticBuffer CreateShadowBuffer(const FConstRepObjectDataBuffer Source) const
Definition RepLayout.cpp:7261
friend struct FCustomDeltaPropertyIterator
Definition RepLayout.h:1180
void ENGINE_API BuildSharedSerializationForRPC(const FConstRepObjectDataBuffer Data, UE::Net::FNetTokenStore *NetTokenStore=nullptr)
Definition RepLayout.cpp:6967
virtual ENGINE_API FString GetReferencerName() const override
Definition RepLayout.cpp:7427
virtual ~FRepLayout()
Definition RepLayout.cpp:1271
void ENGINE_API SendPropertiesForRPC(UFunction *Function, UActorChannel *Channel, FNetBitWriter &Writer, const FConstRepObjectDataBuffer Data) const
Definition RepLayout.cpp:7013
void GatherGuidReferences(FReceivingRepState *RESTRICT RepState, struct FNetDeltaSerializeInfo &Params, TSet< FNetworkGUID > &OutReferencedGuids, int32 &OutTrackedGuidMemoryBytes) const
Definition RepLayout.cpp:4226
TUniquePtr< FRepState > CreateRepState(const FConstRepObjectDataBuffer Source, TSharedPtr< FRepChangedPropertyTracker > &InRepChangedPropertyTracker, ECreateRepStateFlags Flags) const
Definition RepLayout.cpp:7301
const int32 GetParentCondition(int32 Index) const
Definition RepLayout.h:1521
bool ReceiveProperties_BackwardsCompatible(UNetConnection *Connection, FReceivingRepState *RESTRICT RepState, FRepObjectDataBuffer Data, FNetBitReader &InBunch, bool &bOutHasUnmapped, const bool bEnableRepNotifies, bool &bOutGuidsChanged, UObject *OwningObject=nullptr) const
Definition RepLayout.cpp:3872
uint32 GenerateChecksum(const FRepState *RepState) const
Definition RepLayout.cpp:4873
void ReceivePropertiesForRPC(UObject *Object, UFunction *Function, UActorChannel *Channel, FNetBitReader &Reader, FRepObjectDataBuffer Data, TSet< FNetworkGUID > &UnmappedGuids) const
Definition RepLayout.cpp:7080
void CallRepNotifies(FReceivingRepState *RepState, UObject *Object) const
Definition RepLayout.cpp:4661
ENGINE_API void SerializeObjectReplicatedProperties(UObject *Object, FBitArchive &Ar) const
Definition RepLayout.cpp:2300
UObject * GetOwner() const
Definition RepLayout.h:1436
T * GetShadowStateValue(FRepShadowDataBuffer Data, const FName PropertyName)
Definition RepLayout.h:1469
bool DiffStableProperties(TArray< FProperty * > *RepNotifies, TArray< UObject * > *ObjReferences, TRepDataBuffer< DstType > Destination, TConstRepDataBuffer< SrcType > Source) const
TSharedPtr< FReplicationChangelistMgr > CreateReplicationChangelistMgr(const UObject *InObject, const ECreateReplicationChangelistMgrFlags CreateFlags) const
Definition RepLayout.cpp:7280
Definition RepLayout.h:781
const FName CachedPropertyName
Definition RepLayout.h:799
int32 RepNotifyNumParams
Definition RepLayout.h:834
FProperty * Property
Definition RepLayout.h:797
int32 Offset
Definition RepLayout.h:810
int32 ArrayIndex
Definition RepLayout.h:807
uint16 CmdStart
Definition RepLayout.h:821
FRepParentCmd(FProperty *InProperty, int32 InArrayIndex)
Definition RepLayout.h:784
int32 ShadowOffset
Definition RepLayout.h:813
ERepParentFlags Flags
Definition RepLayout.h:836
ELifetimeRepNotifyCondition RepNotifyCondition
Definition RepLayout.h:827
uint16 CmdEnd
Definition RepLayout.h:824
ELifetimeCondition Condition
Definition RepLayout.h:826
Definition RepLayout.h:672
const FSendingRepState * GetSendingRepState() const
Definition RepLayout.h:704
FReceivingRepState * GetReceivingRepState()
Definition RepLayout.h:689
void CountBytes(FArchive &Ar) const
Definition RepLayout.cpp:8465
const FReceivingRepState * GetReceivingRepState() const
Definition RepLayout.h:694
FSendingRepState * GetSendingRepState()
Definition RepLayout.h:699
Definition RepLayout.h:502
const FRepChangelistState * GetRepChangelistState() const
Definition RepLayout.h:522
~FReplicationChangelistMgr()
Definition RepLayout.cpp:1251
FRepChangelistState * GetRepChangelistState()
Definition RepLayout.h:517
void CountBytes(FArchive &Ar) const
Definition RepLayout.cpp:1255
Definition RepLayout.h:568
TArray< FPropertyRetirement > Retirement
Definition RepLayout.h:641
TArray< TSharedPtr< INetDeltaBaseState > > CheckpointCustomDeltaState
Definition RepLayout.h:667
FRepChangedHistory ChangeHistory[MAX_CHANGE_HISTORY]
Definition RepLayout.h:638
int32 HistoryStart
Definition RepLayout.h:602
TArray< FRepChangedHistory > PreOpenAckHistory
Definition RepLayout.h:644
static TStaticBitArray< COND_Max > BuildConditionMapFromRepFlags(const FReplicationFlags InFlags)
Definition RepLayout.h:588
FReplicationFlags RepFlags
Definition RepLayout.h:630
TEnumAsByte< ENetRole > SavedRole
Definition RepLayout.h:599
TArray< TSharedPtr< INetDeltaBaseState > > RecentCustomDeltaState
Definition RepLayout.h:661
int32 LastCompareIndex
Definition RepLayout.h:625
TArray< uint16 > LifetimeChangelist
Definition RepLayout.h:647
bool bOpenAckedCalled
Definition RepLayout.h:593
int32 NumNaks
Definition RepLayout.h:608
static constexpr int32 MAX_CHANGE_HISTORY
Definition RepLayout.h:635
TArray< uint16 > InactiveChangelist
Definition RepLayout.h:655
uint32 CustomDeltaChangeIndex
Definition RepLayout.h:628
int32 LastChangelistIndex
Definition RepLayout.h:614
TArray< TSharedPtr< INetDeltaBaseState > > CDOCustomDeltaState
Definition RepLayout.h:664
TBitArray InactiveParents
Definition RepLayout.h:658
TEnumAsByte< ENetRole > SavedRemoteRole
Definition RepLayout.h:598
TSharedPtr< FRepChangedPropertyTracker > RepChangedPropertyTracker
Definition RepLayout.h:632
int32 HistoryEnd
Definition RepLayout.h:605
void CountBytes(FArchive &Ar) const
Definition RepLayout.cpp:8405
bool HasAnyPendingRetirements() const
Definition RepLayout.cpp:7212
Definition UnrealType.h:6306
UE_REWRITE SizeType Num() const
Definition Array.h:1144
void Reset(SizeType NewSize=0)
Definition Array.h:2246
UE_NODEBUG UE_FORCEINLINE_HINT ElementType * GetData() UE_LIFETIMEBOUND
Definition Array.h:1027
UE_NODEBUG UE_FORCEINLINE_HINT bool IsValidIndex(SizeType Index) const
Definition Array.h:1122
UE_NODEBUG void CountBytes(FArchive &Ar) const
Definition Array.h:1649
void Empty(SizeType Slack=0)
Definition Array.h:2273
Definition EnumAsByte.h:22
Definition SharedPointer.h:1640
Definition SharedPointer.h:692
Definition SharedPointer.h:153
Definition StaticBitArray.h:75
Definition UniquePtr.h:107
void Reset(T *InPtr=nullptr)
Definition UniquePtr.h:346
bool IsValid() const
Definition UniquePtr.h:280
UE_FORCEINLINE_HINT T * Get() const
Definition UniquePtr.h:324
Definition ActorChannel.h:78
Definition NetTokenStore.h:189
Definition NetConnection.h:284
Definition PackageMapClient.h:465
Definition NetworkVersion.cpp:28
TStaticBitArray< COND_Max > BuildConditionMapFromRepFlags(const FReplicationFlags &RepFlags)
Definition RepLayout.h:135
Definition RepLayout.cpp:134
Definition AdvancedWidgetsModule.cpp:13
@ false
Definition radaudio_common.h:23
U16 Index
Definition radfft.cpp:71
CORE_API void Reset() override
Definition BitWriter.cpp:71
Definition RepLayout.cpp:550
Definition FastArraySerializer.h:1627
int32 First
Definition CoreNet.h:263
Definition RepLayout.h:241
const FRepSerializedPropertyInfo * WriteSharedProperty(const FRepLayoutCmd &Cmd, const FRepSharedPropertyKey &PropertyKey, const int32 CmdIndex, const uint16 Handle, const FConstRepObjectDataBuffer Data, const bool bWriteHandle, const bool bDoChecksum)
Definition RepLayout.cpp:2716
TArray< FRepSerializedPropertyInfo > SharedPropertyInfo
Definition RepLayout.h:305
UE::Net::FNetTokenExportContext::FNetTokenExports NetTokensPendingExport
Definition RepLayout.h:311
void SetValid()
Definition RepLayout.h:254
bool IsValid() const
Definition RepLayout.h:267
FRepSerializationSharedInfo()
Definition RepLayout.h:242
~FRepSerializationSharedInfo()
Definition RepLayout.h:246
void Reset()
Definition RepLayout.h:272
TUniquePtr< FNetBitWriter > SerializedProperties
Definition RepLayout.h:308
void CountBytes(FArchive &Ar) const
Definition RepLayout.cpp:2702
void Init()
Definition RepLayout.h:259
Definition RepLayout.h:215
int32 PropBitOffset
Definition RepLayout.h:233
int32 BitLength
Definition RepLayout.h:230
int32 PropBitLength
Definition RepLayout.h:236
FRepSerializedPropertyInfo()
Definition RepLayout.h:216
int32 BitOffset
Definition RepLayout.h:227
FRepSharedPropertyKey PropertyKey
Definition RepLayout.h:224
Definition RepLayout.h:173
FRepSharedPropertyKey(uint32 InCmdIndex, uint32 InArrayIndex, uint32 InArrayDepth, void *InDataPtr)
Definition RepLayout.h:189
FString ToDebugString() const
Definition RepLayout.h:197
FRepSharedPropertyKey()
Definition RepLayout.h:181
friend uint32 GetTypeHash(const FRepSharedPropertyKey &Key)
Definition RepLayout.h:207
friend bool operator==(const FRepSharedPropertyKey &A, const FRepSharedPropertyKey &B)
Definition RepLayout.h:202
Definition RepLayout.h:377
int32 Num() const
Definition RepLayout.h:407
void Empty()
Definition RepLayout.h:414
~FRepStateStaticBuffer()
Definition RepLayout.cpp:8486
const uint8 * GetData() const
Definition RepLayout.h:402
uint8 * GetData()
Definition RepLayout.h:397
void CountBytes(FArchive &Ar) const
Definition RepLayout.cpp:1049
FRepStateStaticBuffer(FRepStateStaticBuffer &&InStaticBuffer)
Definition RepLayout.h:389
Definition EngineTypes.h:3601
uint32 bNetSimulated
Definition EngineTypes.h:3611
uint32 bNetOwner
Definition EngineTypes.h:3607
uint32 bNetInitial
Definition EngineTypes.h:3609
uint32 bReplay
Definition EngineTypes.h:3615
uint32 bRepPhysics
Definition EngineTypes.h:3613
Definition RepLayout.h:74
TRepDataBufferBase(ConstOrNotVoid *RESTRICT InDataBuffer)
Definition RepLayout.h:80
ConstOrNotType *RESTRICT Data
Definition RepLayout.h:99
friend TRepDataBufferBase operator+(TRepDataBufferBase InBuffer, int32 Offset)
Definition RepLayout.h:84
TCopyQualifiersFromTo_T< ConstOrNotType, void > ConstOrNotVoid
Definition RepLayout.h:76
static constexpr ERepDataBufferType Type
Definition RepLayout.h:75