You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3mp/apps/openmw/mwworld/actionapply.hpp

37 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