UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PackedLevelActorTypes.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if WITH_EDITOR
6
7#include "CoreMinimal.h"
9#include "Misc/Crc.h"
10#include "Logging/LogMacros.h"
11
13
15{
17
18public:
22
24
25 virtual uint32 ComputeHash() const
26 {
28 }
29
30 virtual bool Equals(const FPackedLevelActorBuilderCluster& Other) const
31 {
32 return BuilderID == Other.BuilderID;
33 }
34
35private:
38};
39
41{
42public:
44
46 {
47 }
48
51 {
52 }
53
56 {
57 Hash = Data->ComputeHash();
58 }
59
61 {
62 return (Hash == Other.Hash) && Data->Equals(*Other.Data);
63 }
64
66 {
67 return !(*this == Other);
68 }
69
70 uint32 GetHash() const { return Hash; }
71
72 FPackedLevelActorBuilderID GetBuilderID() const { return Data->GetBuilderID(); }
73
75 {
76 return ID.GetHash();
77 }
78
80 {
81 return Data.Get();
82 }
83
84private:
87
90};
91
92#endif
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
UE_FORCEINLINE_HINT bool operator!=(const FIndexedPointer &Other) const
Definition LockFreeList.h:76
uint64 ComputeHash(const FRHITextureCreateInfo &InCreateInfo, uint64 HeapOffset)
Definition RHICoreTransientResourceAllocator.h:15
auto GetData(const TStringConversion< Converter, DefaultConversionSize > &Conversion) -> decltype(Conversion.Get())
Definition StringConv.h:802
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition UniquePtr.h:107
GeometryCollection::Facades::FMuscleActivationData Data
Definition MuscleActivationConstraints.h:15
uint32 GetTypeHash(const FKey &Key)
Definition BlackboardKey.h:35
bool operator==(const FCachedAssetKey &A, const FCachedAssetKey &B)
Definition AssetDataMap.h:501
static uint32 TypeCrc32(const T &Data, uint32 CRC=0)
Definition Crc.h:38