1 #ifndef GAME_MWCLASS_PROBE_H
2 #define GAME_MWCLASS_PROBE_H
4 #include "../mwworld/class.hpp"
54 virtual boost::shared_ptr<MWWorld::Action>
use (
const MWWorld::Ptr& ptr)
virtual int getItemMaxHealth(const MWWorld::ConstPtr &ptr) const
Return item max health or throw an exception, if class does not have item health. ...
Definition: probe.cpp:163
virtual std::string getInventoryIcon(const MWWorld::ConstPtr &ptr) const
Return name of inventory icon.
Definition: probe.cpp:101
virtual bool hasItemHealth(const MWWorld::ConstPtr &ptr) const
Definition: probe.hpp:67
virtual std::pair< std::vector< int >, bool > getEquipmentSlots(const MWWorld::ConstPtr &ptr) const
Definition: probe.cpp:68
virtual float getWeight(const MWWorld::ConstPtr &ptr) const
Definition: probe.cpp:170
Definition: renderinginterface.hpp:9
static void registerSelf()
Definition: probe.cpp:84
virtual void insertObjectRendering(const MWWorld::Ptr &ptr, const std::string &model, MWRender::RenderingInterface &renderingInterface) const
Add reference into a cell for rendering.
Definition: probe.cpp:25
Definition: physicssystem.hpp:51
virtual boost::shared_ptr< MWWorld::Action > activate(const MWWorld::Ptr &ptr, const MWWorld::Ptr &actor) const
Generate action for activation.
Definition: probe.cpp:54
virtual std::string getName(const MWWorld::ConstPtr &ptr) const
Definition: probe.cpp:48
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: probe.cpp:32
Base class for referenceable esm records.
Definition: class.hpp:52
virtual std::string getModel(const MWWorld::ConstPtr &ptr) const
Definition: probe.cpp:37
virtual bool hasToolTip(const MWWorld::ConstPtr &ptr) const
Definition: probe.cpp:108
virtual boost::shared_ptr< MWWorld::Action > use(const MWWorld::Ptr &ptr) const
Generate action for using via inventory menu.
Definition: probe.cpp:142
virtual std::string getUpSoundId(const MWWorld::ConstPtr &ptr) const
Return the pick up sound Id.
Definition: probe.cpp:91
virtual MWWorld::Ptr copyToCellImpl(const MWWorld::ConstPtr &ptr, MWWorld::CellStore &cell) const
Definition: probe.cpp:151
Mutable state of a cell.
Definition: cellstore.hpp:53
Pointer to a const LiveCellRef.
Definition: ptr.hpp:90
virtual MWGui::ToolTipInfo getToolTipInfo(const MWWorld::ConstPtr &ptr, int count) const
Definition: probe.cpp:115
virtual std::string getDownSoundId(const MWWorld::ConstPtr &ptr) const
Return the put down sound Id.
Definition: probe.cpp:96
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: probe.cpp:158
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: probe.cpp:77
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
virtual std::string getScript(const MWWorld::ConstPtr &ptr) const
Return name of the script attached to ptr.
Definition: probe.cpp:60