mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 18:49:54 +00:00
36 lines
714 B
C++
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
|