5#include "Containers/Array.h"
15 , EditorOnlyPropertyStack(0)
21
22
23
24
25
29 SerializedPropertyChain.Push(InProperty);
34 if (bIsEditorOnlyProperty)
36 ++EditorOnlyPropertyStack;
42
43
44
45
46
50 check(SerializedPropertyChain.Num() > 0 && SerializedPropertyChain.Last() == InProperty);
51 SerializedPropertyChain.Pop(
false);
56 if (bIsEditorOnlyProperty)
58 --EditorOnlyPropertyStack;
59 check(EditorOnlyPropertyStack >= 0);
65
66
67
70 return SerializedPropertyChain.Last(InStackIndex);
74
75
76
79 return SerializedPropertyChain[InRootIndex];
83
84
87 return SerializedPropertyChain.Num();
91
92
99
100
104 return EditorOnlyPropertyStack > 0;
124 int32 EditorOnlyPropertyStack;
#define WITH_EDITORONLY_DATA
FArchiveSerializedPropertyChain()
void PopProperty(struct FProperty *InProperty, const bool bIsEditorOnlyProperty)
struct FProperty * GetPropertyFromRoot(const int32 InRootIndex) const
uint32 GetUpdateCount() const
TArray< struct FProperty *, TInlineAllocator< 8 > > SerializedPropertyChain
int32 GetNumProperties() const
void PushProperty(struct FProperty *InProperty, const bool bIsEditorOnlyProperty)
struct FProperty * GetPropertyFromStack(const int32 InStackIndex) const
bool HasEditorOnlyProperty() const
uint32 SerializedPropertyChainUpdateCount
void IncrementUpdateCount()