You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
15 lines
517 B
C++
15 lines
517 B
C++
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|||
|
|
|
|||
|
|
#include "StateTreeObjectHash.h"
|
|||
|
|
|
|||
|
|
#if WITH_EDITORONLY_DATA
|
|||
|
|
|
|||
|
|
bool FStateTreeObjectCRC32::ShouldSkipProperty(const FProperty* InProperty) const
|
|||
|
|
{
|
|||
|
|
static const FName ExcludeFromHashName(TEXT("ExcludeFromHash"));
|
|||
|
|
const bool bExclude = InProperty != nullptr && InProperty->HasMetaData(ExcludeFromHashName);
|
|||
|
|
|
|||
|
|
return FArchiveObjectCrc32::ShouldSkipProperty(InProperty) || InProperty->HasAllPropertyFlags(CPF_Transient) || bExclude;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endif // WITH_EDITORONLY_DATA
|