1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 12:54:00 +00:00
OpenMW/apps/openmw/mwworld/actionapply.hpp

37 lines
712 B
C++
Raw Normal View History

2012-07-13 07:41:38 +00:00
#ifndef GAME_MWWORLD_ACTIONAPPLY_H
#define GAME_MWWORLD_ACTIONAPPLY_H
#include <string>
#include "action.hpp"
namespace MWWorld
{
class ActionApply : public Action
{
std::string mId;
2012-07-27 10:00:10 +00:00
virtual void executeImp (const Ptr& actor);
2012-07-13 07:41:38 +00:00
2012-07-27 10:00:10 +00:00
public:
2012-07-13 07:41:38 +00:00
ActionApply (const Ptr& object, const std::string& id);
2012-07-13 07:41:38 +00:00
};
class ActionApplyWithSkill : public Action
{
std::string mId;
int mSkillIndex;
int mUsageType;
2012-07-27 10:00:10 +00:00
virtual void executeImp (const Ptr& actor);
2012-07-13 07:41:38 +00:00
public:
ActionApplyWithSkill (const Ptr& object, const std::string& id,
2012-07-13 07:41:38 +00:00
int skillIndex, int usageType);
};
}
#endif