#include #include "PacketObjectMove.hpp" using namespace mwmp; PacketObjectMove::PacketObjectMove(RakNet::RakPeerInterface *peer) : WorldPacket(peer) { packetID = ID_OBJECT_MOVE; hasCellData = true; } void PacketObjectMove::Object(WorldObject &worldObject, bool send) { WorldPacket::Object(worldObject, send); RW(worldObject.position.pos, send); }