1 #ifndef GAME_MWCLASS_ACTIVATOR_H
2 #define GAME_MWCLASS_ACTIVATOR_H
4 #include "../mwworld/class.hpp"
virtual bool hasToolTip(const MWWorld::ConstPtr &ptr) const
Definition: activator.cpp:77
virtual std::string getScript(const MWWorld::ConstPtr &ptr) const
Return name of the script attached to ptr.
Definition: activator.cpp:62
virtual boost::shared_ptr< MWWorld::Action > activate(const MWWorld::Ptr &ptr, const MWWorld::Ptr &actor) const
Generate action for activation.
Definition: activator.cpp:106
virtual MWWorld::Ptr copyToCellImpl(const MWWorld::ConstPtr &ptr, MWWorld::CellStore &cell) const
Definition: activator.cpp:122
Definition: renderinginterface.hpp:9
Definition: physicssystem.hpp:51
Base class for referenceable esm records.
Definition: class.hpp:52
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: activator.cpp:37
virtual std::string getModel(const MWWorld::ConstPtr &ptr) const
Definition: activator.cpp:44
virtual MWGui::ToolTipInfo getToolTipInfo(const MWWorld::ConstPtr &ptr, int count) const
Definition: activator.cpp:88
static void registerSelf()
Definition: activator.cpp:70
Mutable state of a cell.
Definition: cellstore.hpp:53
Definition: activator.hpp:8
Pointer to a const LiveCellRef.
Definition: ptr.hpp:90
virtual void insertObjectRendering(const MWWorld::Ptr &ptr, const std::string &model, MWRender::RenderingInterface &renderingInterface) const
Add reference into a cell for rendering.
Definition: activator.cpp:30
virtual bool allowTelekinesis(const MWWorld::ConstPtr &ptr) const
Return whether this class of object can be activated with telekinesis.
Definition: activator.cpp:84
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
virtual std::string getName(const MWWorld::ConstPtr &ptr) const
Definition: activator.cpp:55