feat: add debug target status info
This commit is contained in:
parent
33dbff01b2
commit
ddd60a730e
|
@ -312,6 +312,13 @@ namespace PeepingTom {
|
|||
ImGui.Text($"Status: {status}");
|
||||
}
|
||||
|
||||
PlayerCharacter currentTarget = this.GetCurrentTarget();
|
||||
if (currentTarget != null) {
|
||||
IntPtr statusPtr = this.plugin.Interface.TargetModuleScanner.ResolveRelativeAddress(currentTarget.Address, 0x1901);
|
||||
byte status = Marshal.ReadByte(statusPtr);
|
||||
ImGui.Text($"Target status: {status}");
|
||||
}
|
||||
|
||||
ImGui.EndTabItem();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue