openmw-tes3coop/apps/openmw-mp/processors/world/ProcessorObjectMove.hpp

27 lines
525 B
C++

//
// Created by koncord on 03.04.17.
//
#ifndef OPENMW_PROCESSOROBJECTMOVE_HPP
#define OPENMW_PROCESSOROBJECTMOVE_HPP
#include "apps/openmw-mp/WorldProcessor.hpp"
namespace mwmp
{
class ProcessorObjectMove : public WorldProcessor
{
public:
ProcessorObjectMove()
{
BPP_INIT(ID_OBJECT_MOVE)
}
void Do(WorldPacket &packet, Player &player, BaseEvent &event) override
{
packet.Send(true);
}
};
}
#endif //OPENMW_PROCESSOROBJECTMOVE_HPP