Files
UnrealEngineUWP/Engine/Source/Editor/SubobjectDataInterface/Public/InheritedSubobjectData.h
ben hoffman 26f716014e Add IsInheritedComponent override to FInheritedSubobjectData to get it to correctly return true.
#jira UE-115689
#jira UE-115692
#rb trivial
#rnx
#preflight 609eebf022cce000010a0d06

[CL 16337265 by ben hoffman in ue5-main branch]
2021-05-14 18:33:04 -04:00

28 lines
834 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "SubobjectData.h"
/**
* Container that represents the subobject data of a child actor component.
*/
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;
virtual bool CanDelete() const override;
virtual bool IsInheritedSCSNode() const override;
virtual bool IsInheritedComponent() const override;
// End FSubobjectData
protected:
/** True if this SCS node is inherited from another blueprint generated class. */
bool bIsInheritedSCS;
};