Dalamud/Dalamud/Plugin/Services/IAetheryteList.cs
2025-10-19 23:19:48 +02:00

23 lines
732 B
C#

using System.Collections.Generic;
using Dalamud.Game.ClientState.Aetherytes;
namespace Dalamud.Plugin.Services;
/// <summary>
/// This collection represents the list of available Aetherytes in the Teleport window.
/// </summary>
public interface IAetheryteList : IDalamudService, IReadOnlyCollection<IAetheryteEntry>
{
/// <summary>
/// Gets the amount of Aetherytes the local player has unlocked.
/// </summary>
public int Length { get; }
/// <summary>
/// Gets a Aetheryte Entry at the specified index.
/// </summary>
/// <param name="index">Index.</param>
/// <returns>A <see cref="AetheryteEntry"/> at the specified index.</returns>
public IAetheryteEntry? this[int index] { get; }
}