You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
24 lines
787 B
C
24 lines
787 B
C
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "InheritedSubobjectData.h"
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 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);
|
||
|
|
}
|
||
|
|
};
|