1 #ifndef GAME_MWCLASS_REPAIR_H
2 #define GAME_MWCLASS_REPAIR_H
4 #include "../mwworld/class.hpp"
52 virtual boost::shared_ptr<MWWorld::Action>
use (
const MWWorld::Ptr& ptr)
virtual bool hasItemHealth(const MWWorld::ConstPtr &ptr) const
Definition: repair.cpp:106
virtual void insertObjectRendering(const MWWorld::Ptr &ptr, const std::string &model, MWRender::RenderingInterface &renderingInterface) const
Add reference into a cell for rendering.
Definition: repair.cpp:24
virtual float getWeight(const MWWorld::ConstPtr &ptr) const
Definition: repair.cpp:162
virtual std::string getScript(const MWWorld::ConstPtr &ptr) const
Return name of the script attached to ptr.
Definition: repair.cpp:60
virtual std::string getName(const MWWorld::ConstPtr &ptr) const
Definition: repair.cpp:47
Definition: renderinginterface.hpp:9
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: repair.cpp:157
virtual boost::shared_ptr< MWWorld::Action > use(const MWWorld::Ptr &ptr) const
Definition: repair.cpp:152
Definition: physicssystem.hpp:51
virtual std::string getInventoryIcon(const MWWorld::ConstPtr &ptr) const
Return name of inventory icon.
Definition: repair.cpp:92
virtual bool hasToolTip(const MWWorld::ConstPtr &ptr) const
Definition: repair.cpp:99
Base class for referenceable esm records.
Definition: class.hpp:52
static void registerSelf()
Definition: repair.cpp:75
virtual MWGui::ToolTipInfo getToolTipInfo(const MWWorld::ConstPtr &ptr, int count) const
Definition: repair.cpp:118
virtual boost::shared_ptr< MWWorld::Action > activate(const MWWorld::Ptr &ptr, const MWWorld::Ptr &actor) const
Generate action for activation.
Definition: repair.cpp:54
virtual MWWorld::Ptr copyToCellImpl(const MWWorld::ConstPtr &ptr, MWWorld::CellStore &cell) const
Definition: repair.cpp:145
virtual int getItemMaxHealth(const MWWorld::ConstPtr &ptr) const
Definition: repair.cpp:111
Mutable state of a cell.
Definition: cellstore.hpp:53
virtual std::string getDownSoundId(const MWWorld::ConstPtr &ptr) const
Return the put down sound Id.
Definition: repair.cpp:87
Pointer to a const LiveCellRef.
Definition: ptr.hpp:90
virtual std::string getModel(const MWWorld::ConstPtr &ptr) const
Definition: repair.cpp:36
virtual std::string getUpSoundId(const MWWorld::ConstPtr &ptr) const
Return the pick up sound Id.
Definition: repair.cpp:82
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: repair.cpp:31
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
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: repair.cpp:68