2021-04-23 11:01:15 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "SubobjectData.h"
|
|
|
|
|
|
|
|
|
|
/**
|
2021-05-14 18:33:04 -04:00
|
|
|
* Container that represents the subobject data of a child actor component.
|
2021-04-23 11:01:15 -04:00
|
|
|
*/
|
|
|
|
|
struct SUBOBJECTDATAINTERFACE_API FInheritedSubobjectData : public FSubobjectData
|
|
|
|
|
{
|
|
|
|
|
friend class USubobjectDataSubsystem;
|
|
|
|
|
|
|
|
|
|
FInheritedSubobjectData(UObject* ContextObject, const FSubobjectDataHandle& ParentHandle, const bool bIsInheritedSCS);
|
|
|
|
|
|
|
|
|
|
// FSubobjectData interface
|
|
|
|
|
virtual bool IsNativeComponent() const override;
|
|
|
|
|
virtual bool CanEdit() const override;
|
2021-05-14 18:33:04 -04:00
|
|
|
virtual bool CanDelete() const override;
|
2021-04-23 11:01:15 -04:00
|
|
|
virtual bool IsInheritedSCSNode() const override;
|
|
|
|
|
// End FSubobjectData
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
/** True if this SCS node is inherited from another blueprint generated class. */
|
|
|
|
|
bool bIsInheritedSCS;
|
|
|
|
|
};
|