Represents a static manager for handling interactions with inventory bags and items. This class provides functionalities to access, query, and manipulate inventory data including free slots, filled slots, equipped items, and more. It also handles aggregated data related to both inventory and armory.
More...
|
static uint | FreeSlots [get] |
| Returns the number of free slots in the main inventory.
|
static IEnumerable< BagSlot > | EquippedItems [get] |
| Returns all the slots for Equipment.
|
static IEnumerable< BagSlot > | FilledSlots [get] |
| Returns all the items in the main inventory and key items.
|
static IEnumerable< BagSlot > | FilledArmorySlots [get] |
| Returns all currently equipped items and filled item slots in the armory.
|
static IEnumerable< BagSlot > | FilledInventoryAndArmory [get] |
| Returns all the items in inventory, key items, equipped items, and armory.
|
Represents a static manager for handling interactions with inventory bags and items. This class provides functionalities to access, query, and manipulate inventory data including free slots, filled slots, equipped items, and more. It also handles aggregated data related to both inventory and armory.
◆ GetBagByInventoryBagId()
Retrieves the bag corresponding to the specified inventory bag ID.
- Parameters
-
bagId | The inventory bag ID for which the bag needs to be retrieved. |
- Returns
- The bag associated with the specified inventory bag ID, or null if the ID is invalid or the bag is not found.
◆ GetBagsByInventoryBagId()
IEnumerable< Bag > ff14bot.Managers.InventoryManager.GetBagsByInventoryBagId |
( |
params InventoryBagId[] | bagIds | ) |
|
|
static |
Retrieves a collection of bags based on the specified inventory bag IDs.
- Parameters
-
- Returns
- An enumerable collection of Bag instances that correspond to the specified bag IDs.
◆ GetTomestoneCount()
int ff14bot.Managers.InventoryManager.GetTomestoneCount |
( |
uint | itemId | ) |
|
|
static |
Get the amount of tomestones a player has for a given id.
Most tomestones can be found by the faster method of using GetBagByInventoryBagId(InventoryBagId.Currency)
- Parameters
-
- Returns
◆ ItemCount()
uint ff14bot.Managers.InventoryManager.ItemCount |
( |
this Item | item | ) |
|
|
static |
Retrieves the total count of a specific item from all filled inventory slots.
- Parameters
-
item | The item for which the total count is to be retrieved. |
- Returns
- The total count of the specified item across all filled inventory slots.
◆ EquippedItems
IEnumerable<BagSlot> ff14bot.Managers.InventoryManager.EquippedItems |
|
staticget |
Returns all the slots for Equipment.
◆ FilledArmorySlots
IEnumerable<BagSlot> ff14bot.Managers.InventoryManager.FilledArmorySlots |
|
staticget |
Returns all currently equipped items and filled item slots in the armory.
◆ FilledInventoryAndArmory
IEnumerable<BagSlot> ff14bot.Managers.InventoryManager.FilledInventoryAndArmory |
|
staticget |
Returns all the items in inventory, key items, equipped items, and armory.
◆ FilledSlots
IEnumerable<BagSlot> ff14bot.Managers.InventoryManager.FilledSlots |
|
staticget |
Returns all the items in the main inventory and key items.
◆ FreeSlots
uint ff14bot.Managers.InventoryManager.FreeSlots |
|
staticget |
Returns the number of free slots in the main inventory.