1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 10:19:55 +00:00
openmw-tes3mp/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
}