openmw-tes3coop/apps/openmw-mp/processors/world/ProcessorVideoPlay.hpp

27 lines
519 B
C++

//
// Created by koncord on 03.04.17.
//
#ifndef OPENMW_PROCESSORVIDEOPLAY_HPP
#define OPENMW_PROCESSORVIDEOPLAY_HPP
#include "apps/openmw-mp/WorldProcessor.hpp"
namespace mwmp
{
class ProcessorVideoPlay : public WorldProcessor
{
public:
ProcessorVideoPlay()
{
BPP_INIT(ID_VIDEO_PLAY)
}
void Do(WorldPacket &packet, Player &player, BaseEvent &event) override
{
packet.Send(true);
}
};
}
#endif //OPENMW_PROCESSORVIDEOPLAY_HPP