2017-04-18 03:37:32 +00:00
|
|
|
#ifndef OPENMW_PROCESSORMUSICPLAY_HPP
|
|
|
|
#define OPENMW_PROCESSORMUSICPLAY_HPP
|
|
|
|
|
2018-05-15 19:56:47 +00:00
|
|
|
#include "../ObjectProcessor.hpp"
|
2017-04-18 03:37:32 +00:00
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
2018-05-15 19:56:47 +00:00
|
|
|
class ProcessorMusicPlay : public ObjectProcessor
|
2017-04-18 03:37:32 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessorMusicPlay()
|
|
|
|
{
|
|
|
|
BPP_INIT(ID_MUSIC_PLAY)
|
|
|
|
}
|
|
|
|
|
2018-05-12 21:42:24 +00:00
|
|
|
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
|
2017-04-18 03:37:32 +00:00
|
|
|
{
|
2019-08-19 18:39:33 +00:00
|
|
|
LOG_MESSAGE_SIMPLE(TimedLog::LOG_VERBOSE, "Received %s", strPacketID.c_str());
|
2018-05-12 21:42:24 +00:00
|
|
|
objectList.playMusic();
|
2017-04-18 03:37:32 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PROCESSORSCRIPTGLOBALSHORT_HPP
|