1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 04:19:55 +00:00
openmw-tes3mp/apps/openmw/mwmp/processors/object/ProcessorVideoPlay.hpp

24 lines
548 B
C++

#ifndef OPENMW_PROCESSORVIDEOPLAY_HPP
#define OPENMW_PROCESSORVIDEOPLAY_HPP
#include "../ObjectProcessor.hpp"
namespace mwmp
{
class ProcessorVideoPlay : public ObjectProcessor
{
public:
ProcessorVideoPlay()
{
BPP_INIT(ID_VIDEO_PLAY)
}
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
{
LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Received %s", strPacketID.c_str());
objectList.playVideo();
}
};
}
#endif //OPENMW_PROCESSORVIDEOPLAY_HPP