1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 13:49:56 +00:00
openmw-tes3mp/apps/openmw/mwworld/actionapply.hpp
2020-10-16 22:18:54 +04:00

36 lines
714 B
C++

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