UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DataLayerEditorContext.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6
7#if WITH_EDITOR
8
9class UDataLayerInstance;
10class UWorld;
11
17{
18public:
19 static const uint32 EmptyHash = 0;
22 inline bool IsEmpty() const { return (Hash == FDataLayerEditorContext::EmptyHash) && DataLayerInstances.IsEmpty(); }
23 inline uint32 GetHash() const { return Hash; }
24 inline const TArray<FName>& GetDataLayerInstanceNames() const { return DataLayerInstances; }
25private:
27 TArray<FName> DataLayerInstances;
28};
29#endif
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition Array.h:670
Definition World.h:918