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

#ROBOMERGE-SOURCE: CL 16337265 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v804-16311228)

[CL 16337270 by ben hoffman in ue5-release-engine-test branch]
2021-05-14 18:33:15 -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;
};