OpenEnroth 52af553
Loading...
Searching...
No Matches
Classes | Enumerations
Inventory.h File Reference
#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_STASH = 0 , INVENTORY_ZONE_GRID = 1 , INVENTORY_ZONE_EQUIPMENT = 2 }
 

Enumeration Type Documentation

◆ InventoryZone

enum class InventoryZone
strong

Logical location of an Item inside an Inventory.

Enumerator
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 chest_try_place_items config option.

INVENTORY_ZONE_GRID 

Item is stored in the inventory grid.

INVENTORY_ZONE_EQUIPMENT 

Item is worn by a character. Applies only to character inventory.