2019-12-26 15:32:37 -05:00
// Copyright Epic Games, Inc. All Rights Reserved.
2019-05-02 15:32:14 -04:00
# include "AutomationControllerSettings.h"
2022-09-24 13:31:25 -04:00
# include UE_INLINE_GENERATED_CPP_BY_NAME(AutomationControllerSettings)
2021-09-15 16:50:42 -04:00
DEFINE_LOG_CATEGORY_STATIC ( LogAutomationControllerSettings , Log , All )
2019-05-02 15:32:14 -04:00
UAutomationControllerSettings : : UAutomationControllerSettings ( const FObjectInitializer & ObjectInitializer )
: Super ( ObjectInitializer )
2020-06-23 18:40:00 -04:00
, bSuppressLogErrors ( false )
, bSuppressLogWarnings ( false )
2021-09-15 16:50:42 -04:00
, bElevateLogWarningsToErrors ( true )
2022-08-29 15:29:28 -04:00
, bKeepPIEOpen ( false )
2020-06-23 18:40:00 -04:00
, bTreatLogWarningsAsTestErrors ( true )
2021-03-05 19:27:14 -04:00
, GameInstanceLostTimerSeconds ( 300.0f )
2021-03-10 14:00:26 -04:00
, bResetTelemetryStorageOnNewSession ( false )
2019-05-02 15:32:14 -04:00
{
}
2021-09-15 16:50:42 -04:00
void UAutomationControllerSettings : : PostInitProperties ( )
{
Super : : PostInitProperties ( ) ;
if ( ! bTreatLogWarningsAsTestErrors )
{
UE_LOG ( LogAutomationControllerSettings , Warning , TEXT ( " UAutomationControllerSettings::bTreatLogWarningsAsTestErrors is deprecated. Use bElevateLogWarningsToErrors instead. " ) ) ;
bElevateLogWarningsToErrors = false ;
}
2022-09-24 13:31:25 -04:00
}