Files
UnrealEngine/Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Private/StateTreeObjectHash.h
2025-05-18 13:04:45 +08:00

21 lines
556 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Serialization/ArchiveObjectCrc32.h"
#if WITH_EDITORONLY_DATA
/**
* Archive based object hashing to be used with StateTree data calculation.
* If a property has "IncludeInHash" meta tag, any of its child properties will be included in the hash.
* Editor only since it relies on meta data.
*/
class FStateTreeObjectCRC32 : public FArchiveObjectCrc32
{
public:
virtual bool ShouldSkipProperty(const FProperty* InProperty) const override;
};
#endif // WITH_EDITORONLY_DATA