mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-22 07:47:45 +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.Linq;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
|
|
||||||
|
using Dalamud.Configuration.Internal;
|
||||||
using Dalamud.Data;
|
using Dalamud.Data;
|
||||||
using Dalamud.Game;
|
using Dalamud.Game;
|
||||||
using Dalamud.Game.ClientState;
|
using Dalamud.Game.ClientState;
|
||||||
|
|
@ -135,6 +136,7 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
Tex,
|
Tex,
|
||||||
KeyState,
|
KeyState,
|
||||||
Gamepad,
|
Gamepad,
|
||||||
|
Configuration,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
|
|
@ -298,6 +300,10 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
case DataKind.Gamepad:
|
case DataKind.Gamepad:
|
||||||
this.DrawGamepad();
|
this.DrawGamepad();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case DataKind.Configuration:
|
||||||
|
this.DrawConfiguration();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
@ -1244,6 +1250,12 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
$"RightStickDown {gamepadState.RightStickDown:0.00} ");
|
$"RightStickDown {gamepadState.RightStickDown:0.00} ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void DrawConfiguration()
|
||||||
|
{
|
||||||
|
var config = Service<DalamudConfiguration>.Get();
|
||||||
|
Util.ShowObject(config);
|
||||||
|
}
|
||||||
|
|
||||||
private void Load()
|
private void Load()
|
||||||
{
|
{
|
||||||
var dataManager = Service<DataManager>.Get();
|
var dataManager = Service<DataManager>.Get();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue