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