Module |
|
Header |
/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/UnitTestManager.h |
Include |
#include "UnitTestManager.h" |
Source |
/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/UnitTestManager.cpp |
void NotifyCloseDialogResult
(
const TSharedRef< SWindow > & DialogWindow,
EAppReturnType::Type Result,
bool bNoResult
)
When a log window is closed, a dialog pops up asking if the unit test should be aborted - this returns the result NOTE: This dialog is non-modal, i.e. doesn't block the game thread - so the unit test is not guaranteed to still exist
Parameter |
Description |
---|---|
DialogWindow |
The dialog window the result is coming from |
Result |
The result (yes/no) for the dialog |
bNoResult |
Whether or not the result is invalid, e.g. the dialog was closed instead of a button clicked |