feat: add Util.ShowGameObjectStruct, switch target data viewer

This commit is contained in:
goat 2021-12-07 22:29:51 +01:00
parent 2e20ee7a4a
commit ca52a8c9e4
No known key found for this signature in database
GPG key ID: 7773BB5B43BA52E5
4 changed files with 34 additions and 12 deletions

View file

@ -1019,15 +1019,16 @@ namespace Dalamud.Interface.Internal.Windows
this.PrintGameObject(targetMgr.Target, "CurrentTarget");
ImGui.Text("Target");
Util.ShowObject(targetMgr.Target);
Util.ShowGameObjectStruct(targetMgr.Target);
var tot = targetMgr.Target.TargetObject;
if (tot != null)
{
ImGuiHelpers.ScaledDummy(10);
ImGui.Separator();
ImGui.Text("ToT");
Util.ShowObject(tot);
Util.ShowGameObjectStruct(tot);
}
ImGuiHelpers.ScaledDummy(10);