mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 14:23:40 +01:00
feat: add config debug to DataWindow
This commit is contained in:
parent
a432218127
commit
c9d998dfce
1 changed files with 12 additions and 0 deletions
|
|
@ -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,
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
|
|
@ -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<DalamudConfiguration>.Get();
|
||||
Util.ShowObject(config);
|
||||
}
|
||||
|
||||
private void Load()
|
||||
{
|
||||
var dataManager = Service<DataManager>.Get();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue