mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 05:19:55 +00:00
25 lines
576 B
C++
25 lines
576 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(ObjectPacket &packet, ObjectList &objectList)
|
|
{
|
|
BaseObjectProcessor::Do(packet, objectList);
|
|
|
|
objectList.runConsoleCommands(ptrCellStore);
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSORCONSOLECOMMAND_HPP
|