OpenMW
|
A single item stack managed by an item model. More...
#include <itemmodel.hpp>
Public Types | |
enum | Type { Type_Barter, Type_Equipped, Type_Normal } |
enum | Flags { Flag_Enchanted = (1<<0), Flag_Bound = (1<<1) } |
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 More... | |
Public Attributes | |
Type | mType |
int | mFlags |
ItemModel * | mCreator |
size_t | mCount |
MWWorld::Ptr | mBase |
A single item stack managed by an item model.
MWGui::ItemStack::ItemStack | ( | const MWWorld::Ptr & | base, |
ItemModel * | creator, | ||
size_t | count | ||
) |
MWGui::ItemStack::ItemStack | ( | ) |
like operator==, only without checking mType
MWWorld::Ptr MWGui::ItemStack::mBase |
size_t MWGui::ItemStack::mCount |
ItemModel* MWGui::ItemStack::mCreator |
int MWGui::ItemStack::mFlags |
Type MWGui::ItemStack::mType |