UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PopupMethodReply.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 "
Input/ReplyBase.h
"
7
8
enum class
EPopupMethod
:
uint8
9
{
11
CreateNewWindow
,
13
UseCurrentWindow
14
};
15
16
enum class
EShouldThrottle
:
uint8
17
{
18
No
,
19
Yes
20
};
21
23
class
FPopupMethodReply
:
public
TReplyBase
<FPopupMethodReply>
24
{
25
public
:
27
static
FPopupMethodReply
Unhandled
()
28
{
29
return
FPopupMethodReply
(
false
,
EPopupMethod::CreateNewWindow
);
30
}
31
33
static
FPopupMethodReply
UseMethod
(
EPopupMethod
WithMethod
)
34
{
35
return
FPopupMethodReply
(
true
,
WithMethod
);
36
}
37
39
FPopupMethodReply
&
SetShouldThrottle
(
EShouldThrottle
InShouldThrottle
)
40
{
41
ShouldThrottle =
InShouldThrottle
;
42
return
Me
();
43
}
44
46
EShouldThrottle
GetShouldThrottle
()
const
47
{
48
return
ShouldThrottle;
49
}
50
52
EPopupMethod
GetPopupMethod
()
const
53
{
54
return
PopupMethod;
55
}
56
58
bool
IsSet
()
const
59
{
60
return
IsEventHandled
();
61
}
62
63
64
public
:
65
FPopupMethodReply
()
66
:
TReplyBase
<
FPopupMethodReply
>(
false
)
67
, PopupMethod(
EPopupMethod
::
CreateNewWindow
)
68
, ShouldThrottle(
EShouldThrottle
::
Yes
)
69
{}
70
71
private
:
72
FPopupMethodReply
(
bool
bIsHandled
,
EPopupMethod
InMethod
)
73
:
TReplyBase
<
FPopupMethodReply
>(
bIsHandled
)
74
, PopupMethod(
InMethod
)
75
, ShouldThrottle(
EShouldThrottle
::
Yes
)
76
{
77
}
78
79
EPopupMethod
PopupMethod;
80
EShouldThrottle
ShouldThrottle;
81
};
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
EPopupMethod
EPopupMethod
Definition
PopupMethodReply.h:9
EPopupMethod::CreateNewWindow
@ CreateNewWindow
EPopupMethod::UseCurrentWindow
@ UseCurrentWindow
EShouldThrottle
EShouldThrottle
Definition
PopupMethodReply.h:17
EShouldThrottle::Yes
@ Yes
EShouldThrottle::No
@ No
ReplyBase.h
uint8
uint8_t uint8
Definition
binka_ue_file_header.h:8
FPopupMethodReply
Definition
PopupMethodReply.h:24
FPopupMethodReply::SetShouldThrottle
FPopupMethodReply & SetShouldThrottle(EShouldThrottle InShouldThrottle)
Definition
PopupMethodReply.h:39
FPopupMethodReply::GetPopupMethod
EPopupMethod GetPopupMethod() const
Definition
PopupMethodReply.h:52
FPopupMethodReply::IsSet
bool IsSet() const
Definition
PopupMethodReply.h:58
FPopupMethodReply::GetShouldThrottle
EShouldThrottle GetShouldThrottle() const
Definition
PopupMethodReply.h:46
FPopupMethodReply::UseMethod
static FPopupMethodReply UseMethod(EPopupMethod WithMethod)
Definition
PopupMethodReply.h:33
FPopupMethodReply::FPopupMethodReply
FPopupMethodReply()
Definition
PopupMethodReply.h:65
FPopupMethodReply::Unhandled
static FPopupMethodReply Unhandled()
Definition
PopupMethodReply.h:27
FReplyBase::bIsHandled
bool bIsHandled
Definition
ReplyBase.h:33
FReplyBase::IsEventHandled
bool IsEventHandled() const
Definition
ReplyBase.h:19
TReplyBase
Definition
ReplyBase.h:41
TReplyBase< FPopupMethodReply >::Me
FPopupMethodReply & Me()
Definition
ReplyBase.h:59
false
@ false
Definition
radaudio_common.h:23
Engine
Source
Runtime
SlateCore
Public
Input
PopupMethodReply.h
Generated by
1.9.8