[apiX] first pass update for new clientstructs (#1818)

* first pass update for new clientstructs

* track latest clientstructs & fix compilation errors

* fix GameInventory hook bug
rename Appartment
This commit is contained in:
aers 2024-05-31 09:09:28 -07:00 committed by GitHub
parent 666eab98bd
commit d823db7930
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 126 additions and 93 deletions

View file

@ -49,7 +49,7 @@ internal unsafe class AddonWidget : IDataWindowWidget
}
var addon = (FFXIVClientStructs.FFXIV.Component.GUI.AtkUnitBase*)address;
var name = MemoryHelper.ReadStringNullTerminated((nint)addon->Name);
var name = addon->NameString;
ImGui.TextUnformatted($"{name} - 0x{address.ToInt64():X}\n v:{addon->IsVisible} x:{addon->X} y:{addon->Y} s:{addon->Scale}, w:{addon->RootNode->Width}, h:{addon->RootNode->Height}");
if (ImGui.Button("Find Agent"))

View file

@ -83,7 +83,7 @@ internal class AetherytesWidget : IDataWindowWidget
ImGui.TextUnformatted($"{info.IsSharedHouse}");
ImGui.TableNextColumn(); // Apartment
ImGui.TextUnformatted($"{info.IsAppartment}");
ImGui.TextUnformatted($"{info.IsApartment}");
}
ImGui.EndTable();