UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RepChangedPropertyTracker.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Containers/Array.h"
6#include "CoreMinimal.h"
7#include "CoreTypes.h"
8#include "UObject/CoreNet.h"
10
11class FArchive;
12class UObject;
13
23{
24public:
27
29
30 void CountBytes(FArchive& Ar) const;
31
32 bool IsParentActive(uint16 ParentIndex) const
33 {
34 return ActiveState.GetActiveState(ParentIndex);
35 }
36
38 {
39 return ActiveState.GetNumProperties();
40 }
41
43 {
44 return ActiveState.GetDynamicCondition(ParentIndex);
45 }
46
51
52private:
54
55 // Called from FNetPropertyConditionManager
56 void SetDynamicCondition(const UObject* OwningObject, const uint16 RepIndex, const ELifetimeCondition Condition);
57 void SetCustomIsActiveOverride(const UObject* OwningObject, const uint16 RepIndex, const bool bIsActive);
58
61};
ELifetimeCondition
Definition CoreNetTypes.h:20
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint16_t uint16
Definition binka_ue_file_header.h:7
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition Archive.h:1208
Definition CoreNet.h:578
int32 GetNumProperties() const
Definition CoreNet.h:616
uint32 GetDynamicConditionChangeCounter() const
Definition CoreNet.h:621
bool GetActiveState(const uint16 RepIndex) const
Definition CoreNet.h:592
ELifetimeCondition GetDynamicCondition(const uint16 RepIndex) const
Definition CoreNet.h:605
Definition RepChangedPropertyTracker.h:23
~FRepChangedPropertyTracker()=default
uint32 GetDynamicConditionChangeCounter() const
Definition RepChangedPropertyTracker.h:47
void CountBytes(FArchive &Ar) const
Definition RepChangedPropertyTracker.cpp:53
bool IsParentActive(uint16 ParentIndex) const
Definition RepChangedPropertyTracker.h:32
int32 GetParentCount() const
Definition RepChangedPropertyTracker.h:37
ELifetimeCondition GetDynamicCondition(uint16 ParentIndex) const
Definition RepChangedPropertyTracker.h:42
Definition PropertyConditions.h:20
Definition Object.h:95