1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-24 23:23:51 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Object/PacketVideoPlay.cpp
2019-12-07 08:47:35 +02:00

15 lines
382 B
C++

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