mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-01 05:13:40 +01:00
Gauge data pane
This commit is contained in:
parent
8758c4c04d
commit
735292e86c
1 changed files with 5 additions and 2 deletions
|
|
@ -799,11 +799,14 @@ namespace Dalamud.Interface.Internal.Windows
|
|||
return;
|
||||
}
|
||||
|
||||
var props = gauge.GetType().GetProperties();
|
||||
var props = gauge.GetType().GetProperties().OrderBy(prop => prop.Name);
|
||||
foreach (var prop in props)
|
||||
{
|
||||
var result = prop.GetValue(gauge);
|
||||
ImGui.Text($"{prop.Name}: {result}");
|
||||
if (result.GetType() == typeof(IntPtr))
|
||||
ImGui.Text($"{prop.Name}: {result:X}");
|
||||
else
|
||||
ImGui.Text($"{prop.Name}: {result}");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue