EM_Task/CoreUObject/Public/Misc/NotifyHook.h
Boshuang Zhao 5144a49c9b add
2026-02-13 16:18:33 +08:00

22 lines
811 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
/*=============================================================================
CoreMisc.h: General-purpose file utilities.
=============================================================================*/
#pragma once
#include "CoreMinimal.h"
struct FPropertyChangedEvent;
// Notification hook.
class COREUOBJECT_API FNotifyHook
{
public:
virtual void NotifyPreChange(FProperty* PropertyAboutToChange) {}
virtual void NotifyPostChange(const FPropertyChangedEvent& PropertyChangedEvent, FProperty* PropertyThatChanged) {}
virtual void NotifyPreChange(class FEditPropertyChain* PropertyAboutToChange);
virtual void NotifyPostChange(const FPropertyChangedEvent& PropertyChangedEvent, class FEditPropertyChain* PropertyThatChanged);
};