Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
MessageDialog.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#
pragma
once
4
5
#
include
"CoreTypes.h"
6
#
include
"GenericPlatform/GenericPlatformMisc.h"
7
#
include
"HAL/PlatformMisc.h"
8
9
class
FText
;
10
11
/**
12
* FMessageDialog
13
* These functions open a message dialog and display the specified informations
14
* these.
15
**/
16
struct
FMessageDialog
17
{
18
/** Pops up a message dialog box containing the input string.
19
* @param Message Text of message to show
20
* @param OptTitle Optional title to use (defaults to "Message")
21
*/
22
static
void
Debugf
(
const
FText
& Message,
const
FText
* OptTitle =
nullptr
);
23
24
/** Pops up a message dialog box containing the last system error code in string form. */
25
static
void
ShowLastError
();
26
27
/**
28
* Open a modal message box dialog
29
* @param MessageType Controls buttons dialog should have
30
* @param Message Text of message to show
31
* @param OptTitle Optional title to use (defaults to "Message")
32
*/
33
static
EAppReturnType
::
Type
Open
(
EAppMsgType
::
Type
MessageType,
const
FText
& Message,
const
FText
* OptTitle =
nullptr
);
34
35
/**
36
* Open a modal message box dialog
37
* @param MessageType Controls buttons dialog should have
38
* @param DefaultValue If the application is Unattended, the function will log and return DefaultValue
39
* @param Message Text of message to show
40
* @param OptTitle Optional title to use (defaults to "Message")
41
*/
42
static
EAppReturnType
::
Type
Open
(
EAppMsgType
::
Type
MessageType,
EAppReturnType
::
Type
DefaultValue,
const
FText
& Message,
const
FText
* OptTitle =
nullptr
);
43
};
FText
Definition
Text.h:357
EAppMsgType
Definition
GenericPlatformMisc.h:278
EAppMsgType::Type
Type
Definition
GenericPlatformMisc.h:283
EAppReturnType
Definition
GenericPlatformMisc.h:297
EAppReturnType::Type
Type
Definition
GenericPlatformMisc.h:302
FMessageDialog
Definition
MessageDialog.h:17
FMessageDialog::ShowLastError
static void ShowLastError()
FMessageDialog::Debugf
static void Debugf(const FText &Message, const FText *OptTitle=nullptr)
FMessageDialog::Open
static EAppReturnType::Type Open(EAppMsgType::Type MessageType, const FText &Message, const FText *OptTitle=nullptr)
FMessageDialog::Open
static EAppReturnType::Type Open(EAppMsgType::Type MessageType, EAppReturnType::Type DefaultValue, const FText &Message, const FText *OptTitle=nullptr)
Downloads
ArkServerAPI_NEW
ASA
AsaApi
AsaApi
Core
Public
API
UE
Misc
MessageDialog.h
Generated by
1.10.0