Module |
|
Header |
/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/UI/SLogDialog.h |
Include |
#include "UI/SLogDialog.h" |
Source |
/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/UI/SLogDialog.cpp |
TSharedRef< SWindow > OpenLogDialog_NonModal
(
EAppMsgType::Type InMessageType,
const FText & InMessage,
const FText & InTitle,
FOnLogDialogResult ResultCallback
)
Opens a non-modal/non-blocking message box, which returns its result through a delegate/callback, using a reference to the created window, to identify which dialog has returned a result (in case there are multiple dialog windows)
Returns the dialog window reference, which the calling code should store, to identify which dialog returned
Parameter |
Description |
---|---|
InMessageType |
The type of message box to display (e.g. 'ok', or 'yes'/'no' etc.) |
InMessage |
The message to display in the message box |
InTitle |
The title to display for the message box |
ResultCallback |
Optionally, specify a delegate/callback instance, where results should be returned |