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