mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-11 10:34:35 +01:00
Update showObject, use in gauge pane
This commit is contained in:
parent
735292e86c
commit
287c7c8a78
2 changed files with 6 additions and 10 deletions
|
|
@ -799,15 +799,7 @@ namespace Dalamud.Interface.Internal.Windows
|
|||
return;
|
||||
}
|
||||
|
||||
var props = gauge.GetType().GetProperties().OrderBy(prop => prop.Name);
|
||||
foreach (var prop in props)
|
||||
{
|
||||
var result = prop.GetValue(gauge);
|
||||
if (result.GetType() == typeof(IntPtr))
|
||||
ImGui.Text($"{prop.Name}: {result:X}");
|
||||
else
|
||||
ImGui.Text($"{prop.Name}: {result}");
|
||||
}
|
||||
Util.ShowObject(gauge);
|
||||
}
|
||||
|
||||
private void DrawCommand()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue