Files
UnrealEngine/Engine/Source/Editor/PropertyEditor/Public/DetailRowMenuContext.h
2025-05-18 13:04:45 +08:00

31 lines
719 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "UObject/Object.h"
#include "DetailRowMenuContext.generated.h"
class IDetailsView;
class IPropertyHandle;
UCLASS()
class PROPERTYEDITOR_API UDetailRowMenuContext : public UObject
{
GENERATED_BODY()
public:
/** Optionally invoke to refresh the widget. */
TMulticastDelegate<void()>& ForceRefreshWidget() { return ForceRefreshWidgetDelegate; }
/** PropertyHandles associated with the Row. */
TArray<TSharedPtr<IPropertyHandle>> PropertyHandles;
/** Containing DetailsView. */
TWeakPtr<IDetailsView> DetailsView;
private:
/** Optionally invoke to refresh the widget. */
TMulticastDelegate<void()> ForceRefreshWidgetDelegate;
};