9#include "ComponentInstanceDataCache.generated.h"
37UE_DEPRECATED(5.1,
"FActorComponentDuplicatedObjectData has been renamed to FDataCacheDuplicatedObjectData")
76 UE_DEPRECATED(5.3, "Use GetUniqueTransientObject
instead")
78 UObject* GetUniqueTransientPackage() {
return GetUniqueTransientObject(UObject::StaticClass()); }
159 virtual bool ContainsData()
const {
return SavedProperties.Num() > 0; }
186 int32 SourceComponentTypeSerializedIndex;
ECacheApplyPhase
Definition ComponentInstanceDataCache.h:18
@ PostUserConstructionScript
@ PostSimpleConstructionScript
EComponentCreationMethod
Definition ComponentInstanceDataCache.h:26
@ SimpleConstructionScript
@ INDEX_NONE
Definition CoreMiscDefines.h:150
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UENUM(...)
Definition ObjectMacros.h:749
#define USTRUCT(...)
Definition ObjectMacros.h:746
Definition Archive.h:1208
Definition ComponentInstanceDataCache.h:217
FComponentInstanceDataCache(const FComponentInstanceDataCache &)=delete
FComponentInstanceDataCache & operator=(const FComponentInstanceDataCache &)=delete
FComponentInstanceDataCache(FComponentInstanceDataCache &&)=default
FComponentInstanceDataCache()=default
~FComponentInstanceDataCache()=default
FComponentInstanceDataCache & operator=(FComponentInstanceDataCache &&)=default
bool HasInstanceData() const
Definition ComponentInstanceDataCache.h:244
Definition ComponentInstanceDataCache.cpp:205
Definition ComponentInstanceDataCache.cpp:17
Definition NameTypes.h:617
Definition UnrealType.h:3087
Definition UObjectGlobals.h:2492
Definition UnrealString.h.inl:34
Definition ContainerAllocationPolicies.h:894
Definition StructOnScope.h:142
Definition SubclassOf.h:30
Definition ActorComponent.h:152
FORCEINLINE UClass * GetClass() const
Definition UObjectBase.h:217
Definition ComponentInstanceDataCache.h:149
virtual void FindAndReplaceInstances(const TMap< UObject *, UObject * > &OldToNewInstanceMap)
Definition ComponentInstanceDataCache.h:165
virtual bool ContainsData() const
Definition ComponentInstanceDataCache.h:159
const UClass * GetComponentClass() const
Definition ComponentInstanceDataCache.h:169
const UObject * GetComponentTemplate() const
Definition ComponentInstanceDataCache.h:171
Definition ComponentInstanceDataCache.h:117
FActorComponentInstanceSourceInfo()=default
Definition ComponentInstanceDataCache.h:192
bool HasInstanceData() const
Definition ComponentInstanceDataCache.h:200
FActorInstanceData()=default
Definition ComponentInstanceDataCache.h:42
UObject * DuplicatedObject
Definition ComponentInstanceDataCache.h:50
int32 ObjectPathDepth
Definition ComponentInstanceDataCache.h:53
Definition ComponentInstanceDataCache.h:69
const TArray< TObjectPtr< UObject > > & GetReferencedObjects() const
Definition ComponentInstanceDataCache.h:84
const TArray< uint8 > & GetSavedProperties() const
Definition ComponentInstanceDataCache.h:85
const TArray< FDataCacheDuplicatedObjectData > & GetDuplicatedObjects() const
Definition ComponentInstanceDataCache.h:83
Definition ObjectPtr.h:488
Definition StructOpsTypeTraits.h:11
@ WithSerializer
Definition StructOpsTypeTraits.h:23
Definition StructOpsTypeTraits.h:46