The pickpocket item model randomly hides item stacks based on a specified chance. Equipped items are always hidden.
More...
|
| PickpocketItemModel (const MWWorld::Ptr &thief, ItemModel *sourceModel, bool hideItems=true) |
|
virtual bool | allowedToUseItems () const |
| Is the player allowed to use items from this item model? (default true) More...
|
|
virtual ItemStack | getItem (ModelIndex index) |
| Throws for invalid index or out of range index. More...
|
|
virtual size_t | getItemCount () |
|
virtual void | update () |
| Rebuild the item model, this will invalidate existing model indices. More...
|
|
virtual void | removeItem (const ItemStack &item, size_t count) |
|
virtual void | onClose () |
|
virtual bool | onDropItem (const MWWorld::Ptr &item, int count) |
|
virtual bool | onTakeItem (const MWWorld::Ptr &item, int count) |
|
| ProxyItemModel () |
|
virtual | ~ProxyItemModel () |
|
virtual MWWorld::Ptr | copyItem (const ItemStack &item, size_t count, bool setNewOwner=false) |
|
virtual ModelIndex | getIndex (ItemStack item) |
| Returns an invalid index if the item was not found. More...
|
|
void | setSourceModel (ItemModel *sourceModel) |
|
ModelIndex | mapToSource (ModelIndex index) |
|
ModelIndex | mapFromSource (ModelIndex index) |
|
| ItemModel () |
|
virtual | ~ItemModel () |
|
virtual MWWorld::Ptr | moveItem (const ItemStack &item, size_t count, ItemModel *otherModel) |
|
The pickpocket item model randomly hides item stacks based on a specified chance. Equipped items are always hidden.