openmw-tes3coop/components/openmw-mp/Packets/Object/PacketMusicPlay.cpp

14 lines
331 B
C++

#include <components/openmw-mp/NetworkMessages.hpp>
#include "PacketMusicPlay.hpp"
using namespace mwmp;
PacketMusicPlay::PacketMusicPlay(RakNet::RakPeerInterface *peer) : ObjectPacket(peer)
{
packetID = ID_MUSIC_PLAY;
}
void PacketMusicPlay::Object(BaseObject &baseObject, bool send)
{
RW(baseObject.filename, send);
}