2014-12-10 09:28:26 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
/*=============================================================================
|
|
|
|
|
GameplayDebuggerSettings.h: Declares the UGameplayDebuggerSettings class.
|
|
|
|
|
=============================================================================*/
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "LogVisualizerSessionSettings.generated.h"
|
|
|
|
|
|
|
|
|
|
UCLASS()
|
2014-12-11 07:19:14 -05:00
|
|
|
class LOGVISUALIZER_API ULogVisualizerSessionSettings : public UObject
|
2014-12-10 09:28:26 -05:00
|
|
|
{
|
2015-03-17 05:38:32 -04:00
|
|
|
GENERATED_UCLASS_BODY()
|
2014-12-10 09:28:26 -05:00
|
|
|
public:
|
|
|
|
|
/**Whether to show trivial logs, i.e. the ones with only one entry.*/
|
|
|
|
|
UPROPERTY(EditAnywhere, Category = "VisualLogger")
|
|
|
|
|
bool bEnableGraphsVisualization;
|
|
|
|
|
|
|
|
|
|
DECLARE_EVENT_OneParam(ULogVisualizerSessionSettings, FSettingChangedEvent, FName /*PropertyName*/);
|
|
|
|
|
FSettingChangedEvent& OnSettingChanged() { return SettingChangedEvent; }
|
|
|
|
|
|
|
|
|
|
// UObject overrides
|
|
|
|
|
#if WITH_EDITOR
|
|
|
|
|
virtual void PostEditChangeProperty(struct FPropertyChangedEvent& PropertyChangedEvent) override;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
// Holds an event delegate that is executed when a setting has changed.
|
|
|
|
|
FSettingChangedEvent SettingChangedEvent;
|
|
|
|
|
};
|