OpenEnroth 4aaa0a0
|
#include <cassert>
#include <array>
#include <ranges>
#include <optional>
#include <span>
#include <type_traits>
#include "Inventory.h"
#include "Library/Geometry/Size.h"
#include "Library/Geometry/Point.h"
#include "Library/Geometry/Rect.h"
#include "Library/Binary/BinaryTags.h"
#include "ItemEnums.h"
#include "Item.h"
Classes | |
class | InventoryConstEntry |
class | InventoryEntry |
class | Inventory |
struct | Inventory::InventoryRecord |
class | ChestInventory |
class | CharacterInventory |
Enumerations | |
enum class | InventoryZone { INVENTORY_ZONE_INVALID = 0 , INVENTORY_ZONE_STASH = 1 , INVENTORY_ZONE_GRID = 2 , INVENTORY_ZONE_EQUIPMENT = 3 } |
|
strong |
Logical location of an Item
inside an Inventory
.
Enumerator | |
---|---|
INVENTORY_ZONE_INVALID | This is for invalid inventory entries. |
INVENTORY_ZONE_STASH | Item is effectively hidden. Applies only to chest inventory. MM7 had chests that were filled to the brim with stuff, so that there was simply not enough chest space to place all the items, and some items ended up hidden. See |
INVENTORY_ZONE_GRID | Item is stored in the inventory grid. |
INVENTORY_ZONE_EQUIPMENT | Item is worn by a character. Applies only to character inventory. |