1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00
OpenMW/apps/openmw/mwworld/actionapply.hpp
2022-09-22 21:35:26 +03:00

34 lines
652 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