UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DataLayersID.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6
7class UDataLayerInstance;
8
9#if WITH_EDITOR
10class FDataLayersID
11{
12public:
15
16 bool operator==(const FDataLayersID& Other) const
17 {
18 return Hash == Other.Hash;
19 }
20
21 bool operator!=(const FDataLayersID& Other) const
22 {
23 return !(*this == Other);
24 }
25
26 uint32 GetHash() const
27 {
28 return Hash;
29 }
30
32 {
33 return InAr << InDataLayersID.Hash;
34 }
35
37 {
38 return InDataLayersID.Hash;
39 }
40
41private:
43};
44#endif
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
FArchive & operator<<(FArchive &Ar, FEnvQueryDebugProfileData::FStep &Data)
Definition EnvQueryTypes.cpp:489
UE_FORCEINLINE_HINT bool operator!=(const FIndexedPointer &Other) const
Definition LockFreeList.h:76
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition Archive.h:1208
Definition Array.h:670
uint32 GetTypeHash(const FKey &Key)
Definition BlackboardKey.h:35
bool operator==(const FCachedAssetKey &A, const FCachedAssetKey &B)
Definition AssetDataMap.h:501