2017-07-10 09:33:53 +00:00
|
|
|
#ifndef OPENMW_PROCESSORCONSOLECOMMAND_HPP
|
|
|
|
#define OPENMW_PROCESSORCONSOLECOMMAND_HPP
|
|
|
|
|
2017-11-22 22:21:47 +00:00
|
|
|
#include "BaseObjectProcessor.hpp"
|
2017-07-10 09:33:53 +00:00
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
2017-11-22 22:21:47 +00:00
|
|
|
class ProcessorConsoleCommand : public BaseObjectProcessor
|
2017-07-10 09:33:53 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessorConsoleCommand()
|
|
|
|
{
|
|
|
|
BPP_INIT(ID_CONSOLE_COMMAND)
|
|
|
|
}
|
|
|
|
|
2018-05-12 21:42:24 +00:00
|
|
|
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
|
2017-07-10 09:33:53 +00:00
|
|
|
{
|
2018-05-12 21:42:24 +00:00
|
|
|
BaseObjectProcessor::Do(packet, objectList);
|
2017-11-22 22:21:47 +00:00
|
|
|
|
2018-05-12 21:42:24 +00:00
|
|
|
objectList.runConsoleCommands(ptrCellStore);
|
2017-07-10 09:33:53 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PROCESSORCONSOLECOMMAND_HPP
|