1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 10:19:55 +00:00
openmw-tes3mp/apps/openmw/mwworld/actionapply.hpp
2012-07-27 12:00:10 +02:00

40 lines
782 B
C++

#ifndef GAME_MWWORLD_ACTIONAPPLY_H
#define GAME_MWWORLD_ACTIONAPPLY_H
#include <string>
#include "action.hpp"
#include "ptr.hpp"
namespace MWWorld
{
class ActionApply : public Action
{
Ptr mTarget;
std::string mId;
virtual void executeImp (const Ptr& actor);
public:
ActionApply (const Ptr& target, const std::string& id);
};
class ActionApplyWithSkill : public Action
{
Ptr mTarget;
std::string mId;
int mSkillIndex;
int mUsageType;
virtual void executeImp (const Ptr& actor);
public:
ActionApplyWithSkill (const Ptr& target, const std::string& id,
int skillIndex, int usageType);
};
}
#endif