[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

@ -45,7 +45,7 @@ internal sealed unsafe partial class AetheryteList : IServiceType, IAetheryteLis
if (this.telepoInstance->TeleportList.First == this.telepoInstance->TeleportList.Last)
return 0;
return (int)this.telepoInstance->TeleportList.Size();
return this.telepoInstance->TeleportList.Count;
}
}
@ -62,7 +62,7 @@ internal sealed unsafe partial class AetheryteList : IServiceType, IAetheryteLis
if (this.clientState.LocalPlayer == null)
return null;
return new AetheryteEntry(this.telepoInstance->TeleportList.Get((ulong)index));
return new AetheryteEntry(this.telepoInstance->TeleportList[index]);
}
}