2012-11-17 17:17:08 +00:00
|
|
|
#ifndef GAME_MWWORLD_FAILEDACTION_H
|
|
|
|
#define GAME_MWWORLD_FAILEDACTION_H
|
|
|
|
|
|
|
|
#include "action.hpp"
|
|
|
|
#include "ptr.hpp"
|
|
|
|
|
|
|
|
namespace MWWorld
|
|
|
|
{
|
|
|
|
class FailedAction : public Action
|
|
|
|
{
|
2022-08-23 20:14:27 +00:00
|
|
|
std::string_view mMessage;
|
2012-11-17 17:17:08 +00:00
|
|
|
|
2020-10-16 18:18:54 +00:00
|
|
|
void executeImp(const Ptr& actor) override;
|
2013-08-09 05:34:53 +00:00
|
|
|
|
|
|
|
public:
|
2022-08-23 20:14:27 +00:00
|
|
|
FailedAction(std::string_view message = {}, const Ptr& target = Ptr());
|
2012-11-17 17:17:08 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2015-03-11 14:54:45 +00:00
|
|
|
#endif
|