UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
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"
7#include "HAL/PlatformMisc.h"
8
9class FText;
10
17{
22 static CORE_API void Debugf( const FText& Message );
23 static CORE_API void Debugf( const FText& Message, const FText& Title );
24 UE_DEPRECATED(5.3, "Use the overload of Debugf that takes the Title by-value.")
25 static CORE_API void Debugf( const FText& Message, const FText* OptTitle );
26
28 static CORE_API void ShowLastError();
29
37 static CORE_API EAppReturnType::Type Open( EAppMsgType::Type MessageType, const FText& Message);
38 static CORE_API EAppReturnType::Type Open( EAppMsgType::Type MessageType, const FText& Message, const FText& Title);
41 UE_DEPRECATED(5.3, "Use the overload of Open that takes the Title by-value.")
42 static CORE_API EAppReturnType::Type Open( EAppMsgType::Type MessageType, const FText& Message, const FText* OptTitle);
43
52 static CORE_API EAppReturnType::Type Open(EAppMsgType::Type MessageType, EAppReturnType::Type DefaultValue, const FText& Message);
53 static CORE_API EAppReturnType::Type Open(EAppMsgType::Type MessageType, EAppReturnType::Type DefaultValue, const FText& Message, const FText& Title);
56 UE_DEPRECATED(5.3, "Use the overload of Open that takes the Title by-value.")
57 static CORE_API EAppReturnType::Type Open(EAppMsgType::Type MessageType, EAppReturnType::Type DefaultValue, const FText& Message, const FText* OptTitle);
58};
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EAppMsgCategory
Definition GenericPlatformMisc.h:292
Definition Text.h:385
Type
Definition GenericPlatformMisc.h:306
Type
Definition GenericPlatformMisc.h:325
Definition MessageDialog.h:17
static CORE_API void Debugf(const FText &Message)
Definition MessageDialog.cpp:39
static CORE_API void ShowLastError()
Definition MessageDialog.cpp:63