add list of available aetherytes

This commit is contained in:
pohky 2021-12-09 16:13:11 +01:00
parent d860ec1db7
commit 9155f68753
5 changed files with 238 additions and 0 deletions

View file

@ -0,0 +1,35 @@
using Dalamud.Game.ClientState.Resolvers;
using FFXIVClientStructs.FFXIV.Client.Game.UI;
namespace Dalamud.Game.ClientState.Aetherytes
{
public class AetheryteEntry
{
private readonly TeleportInfo data;
internal AetheryteEntry(TeleportInfo data)
{
this.data = data;
}
public uint AetheryteId => this.data.AetheryteId;
public uint TerritoryId => this.data.TerritoryId;
public byte SubIndex => this.data.SubIndex;
public byte Ward => this.data.Ward;
public byte Plot => this.data.Plot;
public uint GilCost => this.data.GilCost;
public bool IsFavourite => this.data.IsFavourite != 0;
public bool IsSharedHouse => this.data.IsSharedHouse;
public bool IsAppartment => this.data.IsAppartment;
public ExcelResolver<Lumina.Excel.GeneratedSheets.Aetheryte> AetheryteData => new(this.AetheryteId);
}
}