1 #ifndef GAME_MWCLASS_CLOTHING_H 
    2 #define GAME_MWCLASS_CLOTHING_H 
    4 #include "../mwworld/class.hpp" 
   68             virtual std::shared_ptr<MWWorld::Action> 
use (
const MWWorld::Ptr& ptr, 
bool force=
false) 
const;
 
virtual int getEquipmentSkill(const MWWorld::ConstPtr &ptr) const 
Definition: clothing.cpp:108
 
virtual void insertObjectRendering(const MWWorld::Ptr &ptr, const std::string &model, MWRender::RenderingInterface &renderingInterface) const 
Add reference into a cell for rendering. 
Definition: clothing.cpp:26
 
virtual std::shared_ptr< MWWorld::Action > activate(const MWWorld::Ptr &ptr, const MWWorld::Ptr &actor) const 
Generate action for activation. 
Definition: clothing.cpp:56
 
virtual MWWorld::Ptr copyToCellImpl(const MWWorld::ConstPtr &ptr, MWWorld::CellStore &cell) const 
Definition: clothing.cpp:255
 
Definition: clothing.hpp:8
 
Definition: renderinginterface.hpp:9
 
virtual MWGui::ToolTipInfo getToolTipInfo(const MWWorld::ConstPtr &ptr, int count) const 
Definition: clothing.cpp:168
 
Definition: physicssystem.hpp:52
 
virtual std::pair< int, std::string > canBeEquipped(const MWWorld::ConstPtr &ptr, const MWWorld::Ptr &npc) const 
Definition: clothing.cpp:215
 
virtual void insertObject(const MWWorld::Ptr &ptr, const std::string &model, MWPhysics::PhysicsSystem &physics) const 
Add reference into a cell for rendering (default implementation: don't render anything). 
Definition: clothing.cpp:33
 
virtual std::string getDownSoundId(const MWWorld::ConstPtr &ptr) const 
Return the put down sound Id. 
Definition: clothing.cpp:143
 
Base class for referenceable esm records. 
Definition: class.hpp:51
 
virtual int getValue(const MWWorld::ConstPtr &ptr) const 
Return trade value of the object. Throws an exception, if the object can't be traded. 
Definition: clothing.cpp:118
 
virtual std::pair< std::vector< int >, bool > getEquipmentSlots(const MWWorld::ConstPtr &ptr) const 
Definition: clothing.cpp:69
 
virtual int getEnchantmentPoints(const MWWorld::ConstPtr &ptr) const 
Definition: clothing.cpp:262
 
Mutable state of a cell. 
Definition: cellstore.hpp:51
 
virtual bool canSell(const MWWorld::ConstPtr &item, int npcServices) const 
Determine whether or not item can be sold to an npc with the given npcServices. 
Definition: clothing.cpp:269
 
Pointer to a const LiveCellRef. 
Definition: ptr.hpp:90
 
virtual std::string getScript(const MWWorld::ConstPtr &ptr) const 
Return name of the script attached to ptr. 
Definition: clothing.cpp:62
 
virtual bool hasToolTip(const MWWorld::ConstPtr &ptr) const 
Definition: clothing.cpp:161
 
virtual std::string getName(const MWWorld::ConstPtr &ptr) const 
Definition: clothing.cpp:49
 
virtual std::string getUpSoundId(const MWWorld::ConstPtr &ptr) const 
Return the pick up sound Id. 
Definition: clothing.cpp:132
 
virtual std::string getEnchantment(const MWWorld::ConstPtr &ptr) const 
Definition: clothing.cpp:195
 
virtual std::string getInventoryIcon(const MWWorld::ConstPtr &ptr) const 
Return name of inventory icon. 
Definition: clothing.cpp:154
 
Pointer to a LiveCellRef. 
Definition: ptr.hpp:19
 
virtual std::shared_ptr< MWWorld::Action > use(const MWWorld::Ptr &ptr, bool force=false) const 
Generate action for using via inventory menu. 
Definition: clothing.cpp:246
 
virtual std::string applyEnchantment(const MWWorld::ConstPtr &ptr, const std::string &enchId, int enchCharge, const std::string &newName) const 
Creates a new record using ptr as template, with the given name and the given enchantment applied to ...
Definition: clothing.cpp:202
 
virtual float getWeight(const MWWorld::ConstPtr &ptr) const 
Definition: clothing.cpp:275
 
static void registerSelf()
Definition: clothing.cpp:125
 
virtual std::string getModel(const MWWorld::ConstPtr &ptr) const 
Definition: clothing.cpp:38