OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
actionapply.hpp
Go to the documentation of this file.
1 #ifndef GAME_MWWORLD_ACTIONAPPLY_H
2 #define GAME_MWWORLD_ACTIONAPPLY_H
3 
4 #include <string>
5 
6 #include "action.hpp"
7 #include "ptr.hpp"
8 
9 namespace MWWorld
10 {
11  class ActionApply : public Action
12  {
13  std::string mId;
14 
15  virtual void executeImp (const Ptr& actor);
16 
17  public:
18 
19  ActionApply (const Ptr& object, const std::string& id);
20  };
21 
23  {
24  std::string mId;
27 
28  virtual void executeImp (const Ptr& actor);
29 
30  public:
31 
32  ActionApplyWithSkill (const Ptr& object, const std::string& id,
33  int skillIndex, int usageType);
34  };
35 }
36 
37 #endif
std::string mId
Definition: actionapply.hpp:13
virtual void executeImp(const Ptr &actor)
Definition: actionapply.cpp:18
Abstract base for actions.
Definition: action.hpp:11
ActionApply(const Ptr &object, const std::string &id)
Definition: actionapply.cpp:14
Definition: actionapply.hpp:11
int mSkillIndex
Definition: actionapply.hpp:25
Definition: actionapply.hpp:22
virtual void executeImp(const Ptr &actor)
Definition: actionapply.cpp:33
int mUsageType
Definition: actionapply.hpp:26
std::string mId
Definition: actionapply.hpp:24
ActionApplyWithSkill(const Ptr &object, const std::string &id, int skillIndex, int usageType)
Definition: actionapply.cpp:28
Pointer to a LiveCellRef.
Definition: ptr.hpp:19