1 #ifndef MWGUI_COMPANION_ITEM_MODEL_H
2 #define MWGUI_COMPANION_ITEM_MODEL_H
bool hasProfit(const MWWorld::Ptr &actor)
Definition: companionitemmodel.cpp:44
A single item stack managed by an item model.
Definition: itemmodel.hpp:12
The companion item model keeps track of the companion's profit by monitoring which items are being ad...
Definition: companionitemmodel.hpp:11
virtual void removeItem(const ItemStack &item, size_t count)
Definition: companionitemmodel.cpp:36
CompanionItemModel(const MWWorld::Ptr &actor)
Definition: companionitemmodel.cpp:23
Definition: inventoryitemmodel.hpp:9
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
virtual MWWorld::Ptr copyItem(const ItemStack &item, size_t count, bool setNewOwner)
Definition: companionitemmodel.cpp:28