16#include "PrimaryAssetId.generated.h"
72 return Name.ToString();
78 Name.AppendString(Builder);
88 return GetTypeHash(Key.Name);
103 UPROPERTY(EditAnywhere, SaveGame, BlueprintReadWrite, Category = PrimaryAssetType, meta=(AllowPrivateAccess))
131 UPROPERTY(EditAnywhere, SaveGame, BlueprintReadWrite, Category = PrimaryAssetId)
135 UPROPERTY(EditAnywhere, SaveGame, BlueprintReadWrite, Category = PrimaryAssetId)
175 AppendString(Builder);
176 return FString::ConstructFromPtrSize(Builder.
GetData(), Builder.
Len());
184 PrimaryAssetType.AppendString(Builder);
185 Builder <<
TEXT(
":");
186 PrimaryAssetName.AppendString(Builder);
198 return PrimaryAssetType ==
Other.PrimaryAssetType && PrimaryAssetName ==
Other.PrimaryAssetName;
203 return PrimaryAssetType !=
Other.PrimaryAssetType || PrimaryAssetName !=
Other.PrimaryAssetName;
208 Ar <<
Other.PrimaryAssetType;
209 Ar <<
Other.PrimaryAssetName;
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
void SerializeForLog(FCbWriter &Writer, const FIoStatus &Status)
Definition IoStatus.cpp:107
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define USTRUCT(...)
Definition ObjectMacros.h:746
COREUOBJECT_API FStringBuilderBase & operator<<(FStringBuilderBase &Builder, const FPrimaryAssetId &Id)
Definition PrimaryAssetId.cpp:136
constexpr uint32 HashCombine(uint32 A, uint32 C)
Definition TypeHash.h:36
EName
Definition UnrealNames.h:16
Definition Archive.h:1208
Definition CompactBinaryWriter.h:68
Definition NameTypes.h:617
Definition OutputDevice.h:133
Definition StructuredArchiveSlots.h:52
CharType * GetData() UE_LIFETIMEBOUND
Definition StringBuilder.h:120
int32 Len() const
Definition StringBuilder.h:114
Definition StringBuilder.h:509
Definition PrimaryAssetId.h:126
FPrimaryAssetId(const FString &TypeAndName)
Definition PrimaryAssetId.h:156
bool IsValid() const
Definition PrimaryAssetId.h:166
void AppendString(FStringBuilderBase &Builder) const
Definition PrimaryAssetId.h:180
bool operator!=(const FPrimaryAssetId &Other) const
Definition PrimaryAssetId.h:201
static FPrimaryAssetId FromString(const FString &String)
Definition PrimaryAssetId.h:191
static FPrimaryAssetId ParseTypeAndName(const FString &TypeAndName)
Definition PrimaryAssetId.h:151
friend FArchive & operator<<(FArchive &Ar, FPrimaryAssetId &Other)
Definition PrimaryAssetId.h:206
FPrimaryAssetId & operator=(FPrimaryAssetId &&)=default
friend uint32 GetTypeHash(const FPrimaryAssetId &Key)
Definition PrimaryAssetId.h:218
FPrimaryAssetId & operator=(const FPrimaryAssetId &)=default
FPrimaryAssetId(const FPrimaryAssetId &)=default
FString ToString() const
Definition PrimaryAssetId.h:172
FPrimaryAssetId(FPrimaryAssetId &&)=default
bool operator==(const FPrimaryAssetId &Other) const
Definition PrimaryAssetId.h:196
Definition PrimaryAssetId.h:28
bool FastLess(const FPrimaryAssetType &Other) const
Definition PrimaryAssetId.h:96
FPrimaryAssetType(FPrimaryAssetType &&)=default
FPrimaryAssetType & operator=(FPrimaryAssetType &&)=default
FPrimaryAssetType(const ANSICHAR *InName)
Definition PrimaryAssetId.h:36
bool LexicalLess(const FPrimaryAssetType &Other) const
Definition PrimaryAssetId.h:91
friend uint32 GetTypeHash(const FPrimaryAssetType &Key)
Definition PrimaryAssetId.h:86
bool operator==(const FPrimaryAssetType &Other) const
Definition PrimaryAssetId.h:53
FPrimaryAssetType(EName InName)
Definition PrimaryAssetId.h:34
FString ToString() const
Definition PrimaryAssetId.h:70
FPrimaryAssetType & operator=(const FPrimaryAssetType &)=default
bool IsValid() const
Definition PrimaryAssetId.h:64
FPrimaryAssetType(const FPrimaryAssetType &)=default
void AppendString(FStringBuilderBase &Builder) const
Definition PrimaryAssetId.h:76
FPrimaryAssetType(const WIDECHAR *InName)
Definition PrimaryAssetId.h:35
bool operator!=(const FPrimaryAssetType &Other) const
Definition PrimaryAssetId.h:58
FName GetName() const
Definition PrimaryAssetId.h:48
Definition PropertyTag.h:38
Definition StructOpsTypeTraits.h:11
@ WithStructuredSerializeFromMismatchedTag
Definition StructOpsTypeTraits.h:29
@ WithZeroConstructor
Definition StructOpsTypeTraits.h:14
@ WithIdenticalViaEquality
Definition StructOpsTypeTraits.h:18
@ WithCopy
Definition StructOpsTypeTraits.h:17
@ WithExportTextItem
Definition StructOpsTypeTraits.h:20
@ WithImportTextItem
Definition StructOpsTypeTraits.h:21
Definition StructOpsTypeTraits.h:46