mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-29 20:03:41 +01:00
add list of available aetherytes
This commit is contained in:
parent
d860ec1db7
commit
9155f68753
5 changed files with 238 additions and 0 deletions
35
Dalamud/Game/ClientState/Aetherytes/AetheryteEntry.cs
Normal file
35
Dalamud/Game/ClientState/Aetherytes/AetheryteEntry.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue