mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 22:56:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			578 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			578 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef MWGUI_COMPANION_ITEM_MODEL_H
 | |
| #define MWGUI_COMPANION_ITEM_MODEL_H
 | |
| 
 | |
| #include "inventoryitemmodel.hpp"
 | |
| 
 | |
| namespace MWGui
 | |
| {
 | |
| 
 | |
|     /// @brief The companion item model keeps track of the companion's profit by
 | |
|     /// monitoring which items are being added to and removed from the model.
 | |
|     class CompanionItemModel : public InventoryItemModel
 | |
|     {
 | |
|     public:
 | |
|         CompanionItemModel (const MWWorld::Ptr& actor);
 | |
| 
 | |
|         virtual void copyItem (const ItemStack& item, size_t count);
 | |
|         virtual void removeItem (const ItemStack& item, size_t count);
 | |
|     };
 | |
| 
 | |
| }
 | |
| 
 | |
| #endif
 |