forked from mirror/openmw-tes3mp
30 lines
592 B
C++
30 lines
592 B
C++
|
//
|
||
|
// Created by koncord on 18.04.17.
|
||
|
//
|
||
|
|
||
|
#ifndef OPENMW_PROCESSORVIDEOPLAY_HPP
|
||
|
#define OPENMW_PROCESSORVIDEOPLAY_HPP
|
||
|
|
||
|
|
||
|
#include "apps/openmw/mwmp/WorldProcessor.hpp"
|
||
|
|
||
|
namespace mwmp
|
||
|
{
|
||
|
class ProcessorVideoPlay : public WorldProcessor
|
||
|
{
|
||
|
public:
|
||
|
ProcessorVideoPlay()
|
||
|
{
|
||
|
BPP_INIT(ID_VIDEO_PLAY)
|
||
|
}
|
||
|
|
||
|
virtual void Do(WorldPacket &packet, WorldEvent &event)
|
||
|
{
|
||
|
LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Received %s", strPacketID.c_str());
|
||
|
event.playVideo();
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif //OPENMW_PROCESSORVIDEOPLAY_HPP
|