EM_Task/CoreUObject/Public/Misc/NotifyHook.h

22 lines
811 B
C
Raw Normal View History

2026-02-13 16:18:33 +08:00
// 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);
};