Files
bryan sefcik 98b51354ed Ran IWYU on Public headers under Engine/Source/Editor/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065253 by bryan.sefcik
#jira
#preflight 62d5b3e91062f2e63014598e

#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21152630 via CL 21156388 via CL 21157044
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21181817 by bryan sefcik in ue5-main branch]
2022-07-20 11:56:29 -04:00

29 lines
915 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Components/ChildActorComponent.h"
#include "InheritedSubobjectData.h"
#include "Internationalization/Text.h"
class UObject;
struct FSubobjectDataHandle;
/**
* Container that represents the subobejct data of a child actor component.
*/
struct SUBOBJECTDATAINTERFACE_API FChildActorSubobjectData final : public FInheritedSubobjectData
{
explicit FChildActorSubobjectData(UObject* ContextObject, const FSubobjectDataHandle& ParentHandle, const bool InbIsInheritedSCS);
// FSubobjectData interface
virtual FText GetDisplayName() const override;
virtual FText GetActorDisplayText() const override;
virtual bool IsChildActor() const override;
// End FSubobjectData
inline const UChildActorComponent* GetChildActorComponent(bool bEvenIfPendingKill = false) const
{
return GetObject<UChildActorComponent>(bEvenIfPendingKill);
}
};