UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
WidgetFieldNotificationExtension.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Components/Visual.h"
9
10#include "WidgetFieldNotificationExtension.generated.h"
11
12class UVisual;
13
14UCLASS(MinimalAPI, Transient, NotBlueprintType)
16{
18
19public:
24
25public:
30
35
40
45
47 {
48 return Delegates.RemoveAll(InObject, InUserObject);
49 }
50
55
57 {
58 Delegates.Broadcast(InObject, InFieldId);
59 }
60
61private:
63};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
const void * FDelegateUserObjectConst
Definition IDelegateInstance.h:108
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
Definition IDelegateInstance.h:14
Definition DelegateSignatureImpl.inl:310
Definition FieldNotificationDelegate.h:26
INotifyFieldValueChanged::FFieldValueChangedDelegate FDelegate
Definition FieldNotificationDelegate.h:28
Definition UserWidgetExtension.h:20
Definition Visual.h:13
Definition WidgetFieldNotificationExtension.h:16
FDelegateHandle AddFieldValueChangedDelegate(const UVisual *InObject, FFieldId InFieldId, FDelegate InNewDelegate)
Definition WidgetFieldNotificationExtension.h:26
void BroadcastFieldValueChanged(UVisual *InObject, UE::FieldNotification::FFieldId InFieldId)
Definition WidgetFieldNotificationExtension.h:56
FDelegateHandle AddFieldValueChangedDelegate(const UVisual *InObject, FFieldId InFieldId, const FFieldValueChangedDynamicDelegate &InDelegate)
Definition WidgetFieldNotificationExtension.h:31
FRemoveFromResult RemoveFieldValueChangedDelegate(const UVisual *InObject, FFieldId InFieldId, const FFieldValueChangedDynamicDelegate &InDelegate)
Definition WidgetFieldNotificationExtension.h:41
FRemoveAllResult RemoveAllFieldValueChangedDelegates(const UVisual *InObject, FFieldId InFieldId, FDelegateUserObjectConst InUserObject)
Definition WidgetFieldNotificationExtension.h:51
FRemoveAllResult RemoveAllFieldValueChangedDelegates(const UVisual *InObject, FDelegateUserObjectConst InUserObject)
Definition WidgetFieldNotificationExtension.h:46
FRemoveFromResult RemoveFieldValueChangedDelegate(const UVisual *InObject, FFieldId InFieldId, FDelegateHandle InDelegateHandle)
Definition WidgetFieldNotificationExtension.h:36
Definition FieldNotificationId.h:16