mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 12:53:41 +01:00
Add IGameInventory.GetInventoryItems (#2008)
This commit is contained in:
parent
620a802755
commit
2a9ee760c6
2 changed files with 10 additions and 0 deletions
|
|
@ -103,4 +103,11 @@ public interface IGameInventory
|
|||
|
||||
/// <inheritdoc cref="ItemMerged"/>
|
||||
public event InventoryChangedDelegate<InventoryItemMergedArgs> ItemMergedExplicit;
|
||||
|
||||
/// <summary>
|
||||
/// Gets all item slots of the specified inventory type.
|
||||
/// </summary>
|
||||
/// <param name="type">The type of inventory to get the items for.</param>
|
||||
/// <returns>A read-only span of all items in the specified inventory type.</returns>
|
||||
public ReadOnlySpan<GameInventoryItem> GetInventoryItems(GameInventoryType type);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue