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

16 lines
371 B
C++
Raw Normal View History

2016-10-24 14:52:19 +00:00
#include <components/openmw-mp/NetworkMessages.hpp>
#include "PacketVideoPlay.hpp"
using namespace mwmp;
PacketVideoPlay::PacketVideoPlay(RakNet::RakPeerInterface *peer) : ObjectPacket(peer)
2016-10-24 14:52:19 +00:00
{
packetID = ID_VIDEO_PLAY;
2016-10-24 14:52:19 +00:00
}
void PacketVideoPlay::Object(BaseObject &baseObject, bool send)
2016-10-24 14:52:19 +00:00
{
RW(baseObject.filename, send);
RW(baseObject.allowSkipping, send);
2016-10-24 14:52:19 +00:00
}