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
9class FText;
10
11/**
12 * FMessageDialog
13 * These functions open a message dialog and display the specified informations
14 * these.
15 **/
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};
Definition Text.h:357
static void ShowLastError()
static void Debugf(const FText &Message, const FText *OptTitle=nullptr)
static EAppReturnType::Type Open(EAppMsgType::Type MessageType, const FText &Message, const FText *OptTitle=nullptr)
static EAppReturnType::Type Open(EAppMsgType::Type MessageType, EAppReturnType::Type DefaultValue, const FText &Message, const FText *OptTitle=nullptr)