OpenMW
Public Member Functions
MWGui::CompanionItemModel Class Reference

The companion item model keeps track of the companion's profit by monitoring which items are being added to and removed from the model. More...

#include <companionitemmodel.hpp>

List of all members.

Public Member Functions

 CompanionItemModel (const MWWorld::Ptr &actor)
virtual void copyItem (const ItemStack &item, size_t count)
virtual void removeItem (const ItemStack &item, size_t count)

Detailed Description

The companion item model keeps track of the companion's profit by monitoring which items are being added to and removed from the model.


Constructor & Destructor Documentation


Member Function Documentation

void MWGui::CompanionItemModel::copyItem ( const ItemStack item,
size_t  count 
) [virtual]

Reimplemented from MWGui::InventoryItemModel.

void MWGui::CompanionItemModel::removeItem ( const ItemStack item,
size_t  count 
) [virtual]

Reimplemented from MWGui::InventoryItemModel.


The documentation for this class was generated from the following files: