You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-141143 [REVIEW] #rb mieszko.zielinski #preflight 6200fe3d6f05911039b3542b #lockdown julien.marchand #ROBOMERGE-AUTHOR: mikko.mononen #ROBOMERGE-SOURCE: CL 18884586 in //UE5/Release-5.0/... via CL 18884589 via CL 18884708 #ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042) [CL 18884927 by mikko mononen in ue5-main branch]
21 lines
576 B
C++
21 lines
576 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "StateTreeObjectHash.h"
|
|
#include "UObject/UnrealType.h"
|
|
|
|
#if WITH_EDITORONLY_DATA
|
|
|
|
bool FStateTreeObjectCRC32::ShouldSkipProperty(const FProperty* InProperty) const
|
|
{
|
|
if (InProperty == nullptr)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
static const FName ExcludeFromHashName(TEXT("ExcludeFromHash"));
|
|
const bool bExclude = InProperty->HasMetaData(ExcludeFromHashName);
|
|
|
|
return FArchiveObjectCrc32::ShouldSkipProperty(InProperty) || InProperty->HasAllPropertyFlags(CPF_Transient) || bExclude;
|
|
}
|
|
|
|
#endif // WITH_EDITORONLY_DATA
|