From c9d998dfce0281cdde44ac43e177c2c0c4b40c99 Mon Sep 17 00:00:00 2001
From: goat <16760685+goaaats@users.noreply.github.com>
Date: Wed, 29 Sep 2021 02:36:38 +0200
Subject: [PATCH] feat: add config debug to DataWindow
---
Dalamud/Interface/Internal/Windows/DataWindow.cs | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/Dalamud/Interface/Internal/Windows/DataWindow.cs b/Dalamud/Interface/Internal/Windows/DataWindow.cs
index 22a4ed7ca..d61a67311 100644
--- a/Dalamud/Interface/Internal/Windows/DataWindow.cs
+++ b/Dalamud/Interface/Internal/Windows/DataWindow.cs
@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Numerics;
+using Dalamud.Configuration.Internal;
using Dalamud.Data;
using Dalamud.Game;
using Dalamud.Game.ClientState;
@@ -135,6 +136,7 @@ namespace Dalamud.Interface.Internal.Windows
Tex,
KeyState,
Gamepad,
+ Configuration,
}
///
@@ -298,6 +300,10 @@ namespace Dalamud.Interface.Internal.Windows
case DataKind.Gamepad:
this.DrawGamepad();
break;
+
+ case DataKind.Configuration:
+ this.DrawConfiguration();
+ break;
}
}
else
@@ -1244,6 +1250,12 @@ namespace Dalamud.Interface.Internal.Windows
$"RightStickDown {gamepadState.RightStickDown:0.00} ");
}
+ private void DrawConfiguration()
+ {
+ var config = Service.Get();
+ Util.ShowObject(config);
+ }
+
private void Load()
{
var dataManager = Service.Get();