forked from teamnwah/openmw-tes3coop
25 lines
560 B
C++
25 lines
560 B
C++
#ifndef OPENMW_PROCESSORCONSOLECOMMAND_HPP
|
|
#define OPENMW_PROCESSORCONSOLECOMMAND_HPP
|
|
|
|
#include "BaseObjectProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorConsoleCommand : public BaseObjectProcessor
|
|
{
|
|
public:
|
|
ProcessorConsoleCommand()
|
|
{
|
|
BPP_INIT(ID_CONSOLE_COMMAND)
|
|
}
|
|
|
|
virtual void Do(WorldPacket &packet, WorldEvent &event)
|
|
{
|
|
BaseObjectProcessor::Do(packet, event);
|
|
|
|
event.runConsoleCommands(ptrCellStore);
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSORCONSOLECOMMAND_HPP
|