forked from mirror/openmw-tes3mp
16 lines
415 B
C++
16 lines
415 B
C++
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
#include "PacketObjectRemoval.hpp"
|
|
|
|
using namespace mwmp;
|
|
|
|
PacketObjectRemoval::PacketObjectRemoval(RakNet::RakPeerInterface *peer) : WorldPacket(peer)
|
|
{
|
|
packetID = ID_WORLD_OBJECT_REMOVAL;
|
|
}
|
|
|
|
void PacketObjectRemoval::Packet(RakNet::BitStream *bs, WorldEvent *event, bool send)
|
|
{
|
|
WorldPacket::Packet(bs, event, send);
|
|
|
|
RW(*event->CellRef(), send);
|
|
}
|