forked from mirror/openmw-tes3mp
28 lines
525 B
C++
28 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
|