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) } |
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 |
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 | ||
) |
bool MWGui::ItemStack::stacks | ( | const ItemStack & | other | ) |
like operator==, only without checking mType
size_t MWGui::ItemStack::mCount |