mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-21 15:27:43 +01:00
[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:
parent
666eab98bd
commit
d823db7930
36 changed files with 126 additions and 93 deletions
|
|
@ -60,9 +60,9 @@ public sealed class AetheryteEntry
|
|||
public bool IsSharedHouse => this.data.IsSharedHouse;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this Aetheryte is an Appartment or not.
|
||||
/// Gets a value indicating whether this Aetheryte is an Apartment or not.
|
||||
/// </summary>
|
||||
public bool IsAppartment => this.data.IsAppartment;
|
||||
public bool IsApartment => this.data.IsApartment;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the Aetheryte data related to this aetheryte.
|
||||
|
|
|
|||
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue