OpenMW
Public Types | Public Member Functions | Public Attributes
MWGui::ItemStack Struct Reference

A single item stack managed by an item model. More...

#include <itemmodel.hpp>

List of all members.

Public Types

enum  Type { Type_Barter, Type_Equipped, Type_Normal }
enum  Flags { Flag_Enchanted = (1<<0) }

Public Member Functions

 ItemStack (const MWWorld::Ptr &base, ItemModel *creator, size_t count)
 ItemStack ()
bool stacks (const ItemStack &other)
 like operator==, only without checking mType

Public Attributes

Type mType
int mFlags
ItemModelmCreator
size_t mCount
MWWorld::Ptr mBase

Detailed Description

A single item stack managed by an item model.


Member Enumeration Documentation

Enumerator:
Flag_Enchanted 
Enumerator:
Type_Barter 
Type_Equipped 
Type_Normal 

Constructor & Destructor Documentation

MWGui::ItemStack::ItemStack ( const MWWorld::Ptr base,
ItemModel creator,
size_t  count 
)

Member Function Documentation

bool MWGui::ItemStack::stacks ( const ItemStack other)

like operator==, only without checking mType


Member Data Documentation


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