Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
style: add something for debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Feb 22, 2023
1 parent aa418fa commit c4be5d8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion RotationSolver/Windows/RotationConfigWindow_Debug.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ private unsafe void DrawStatus()

ImGui.Text("Have pet: " + TargetUpdater.HavePet.ToString());
ImGui.Text("Have Companion: " + TargetUpdater.HaveCompanion.ToString());
ImGui.Text("Is Moving: " + AgentMap.Instance()->IsPlayerMoving.ToString());


foreach (var status in Service.ClientState.LocalPlayer.StatusList)
Expand All @@ -62,7 +63,7 @@ private unsafe void DrawStatus()
}
private unsafe void DrawParty()
{
var status = AgentDeepDungeonStatus.Instance();
//var status = AgentDeepDungeonStatus.Instance();
//if ((IntPtr)status != IntPtr.Zero)
//{
// foreach (var item in status->Data->PomanderSpan)
Expand All @@ -81,6 +82,12 @@ private unsafe void DrawParty()
ImGui.Text("CanHealSingleSpell: " + TargetUpdater.CanHealSingleSpell.ToString());
ImGui.Text("CanHealAreaAbility: " + TargetUpdater.CanHealAreaAbility.ToString());
ImGui.Text("CanHealAreaSpell: " + TargetUpdater.CanHealAreaSpell.ToString());

foreach (var member in TargetUpdater.PartyMembers)
{
var cha = (FFXIVClientStructs.FFXIV.Client.Game.Character.Character*)member.GetAddress();
ImGui.Text(((VfxStruct*)cha->Omen)->Flags.ToString());
}
}

private unsafe void DrawTargetData()
Expand Down

0 comments on commit c4be5d8

Please sign in to comment.