openmw-tes3coop/apps/openmw/mwmp/processors/world/ProcessorObjectMove.hpp
David Cernat 27148ce9eb [General] Add placeholders for 12 new packets, to be implemented soon
Additionally, make it slightly clearer who created which previously existing packets.
2017-05-29 04:43:52 +03:00

25 lines
529 B
C++

#ifndef OPENMW_PROCESSOROBJECTMOVE_HPP
#define OPENMW_PROCESSOROBJECTMOVE_HPP
#include "BaseObjectProcessor.hpp"
namespace mwmp
{
class ProcessorObjectMove : public BaseObjectProcessor
{
public:
ProcessorObjectMove()
{
BPP_INIT(ID_OBJECT_MOVE)
}
virtual void Do(WorldPacket &packet, WorldEvent &event)
{
BaseObjectProcessor::Do(packet, event);
event.moveObjects(ptrCellStore);
}
};
}
#endif //OPENMW_PROCESSOROBJECTMOVE_HPP