From 1ae42607d37d5e3543a2baf46bab6da5347ae20b Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Fri, 27 Aug 2021 01:31:23 +0200 Subject: [PATCH] feat: show ToT in data window --- Dalamud/Interface/Internal/Windows/DataWindow.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Dalamud/Interface/Internal/Windows/DataWindow.cs b/Dalamud/Interface/Internal/Windows/DataWindow.cs index 676c2e9c1..d438c6450 100644 --- a/Dalamud/Interface/Internal/Windows/DataWindow.cs +++ b/Dalamud/Interface/Internal/Windows/DataWindow.cs @@ -937,7 +937,20 @@ namespace Dalamud.Interface.Internal.Windows if (targetMgr.Target != null) { this.PrintGameObject(targetMgr.Target, "CurrentTarget"); + + ImGui.Text("Target"); Util.ShowObject(targetMgr.Target); + + var tot = targetMgr.Target.TargetObject; + if (tot != null) + { + ImGuiHelpers.ScaledDummy(10); + + ImGui.Text("ToT"); + Util.ShowObject(tot); + } + + ImGuiHelpers.ScaledDummy(10); } if (targetMgr.FocusTarget != null)