Return IReadOnlyList instead of ReadOnlySpan

This commit is contained in:
Haselnussbomber 2025-10-06 02:08:18 +02:00
parent bcf651b5c1
commit 2cf869872d
No known key found for this signature in database
GPG key ID: BB905BB49E7295D1
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,5 @@
using System.Collections.Generic;
using Dalamud.Game.PlayerState;
using Lumina.Excel;
@ -147,9 +149,9 @@ public interface IPlayerState
RowRef<Aetheryte> HomeAetheryte { get; }
/// <summary>
/// Gets a span of Aetheryte rows for the local player's favourite aetherytes.
/// Gets an array of Aetheryte rows for the local player's favourite aetherytes.
/// </summary>
ReadOnlySpan<RowRef<Aetheryte>> FavoriteAetherytes { get; }
IReadOnlyList<RowRef<Aetheryte>> FavoriteAetherytes { get; }
/// <summary>
/// Gets the Aetheryte row for the local player's free aetheryte.