1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-22 14:53:50 +00:00
openmw-tes3mp/components/openmw-mp/Packets/World/PacketVideoPlay.cpp

16 lines
374 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) : WorldPacket(peer)
{
packetID = ID_VIDEO_PLAY;
2016-10-24 14:52:19 +00:00
}
2017-06-02 19:10:47 +00:00
void PacketVideoPlay::Object(WorldObject &worldObject, bool send)
2016-10-24 14:52:19 +00:00
{
2017-06-02 19:10:47 +00:00
RW(worldObject.filename, send);
RW(worldObject.allowSkipping, send);
2016-10-24 14:52:19 +00:00
}