mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 13:49:55 +00:00
a74bf1baec
(cherry picked from commit 7748e582a8
)
24 lines
566 B
C++
24 lines
566 B
C++
#ifndef OPENMW_PROCESSORMUSICPLAY_HPP
|
|
#define OPENMW_PROCESSORMUSICPLAY_HPP
|
|
|
|
#include "../ObjectProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorMusicPlay final: public ObjectProcessor
|
|
{
|
|
public:
|
|
ProcessorMusicPlay()
|
|
{
|
|
BPP_INIT(ID_MUSIC_PLAY)
|
|
}
|
|
|
|
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
|
|
{
|
|
LOG_MESSAGE_SIMPLE(TimedLog::LOG_VERBOSE, "Received %s", strPacketID.c_str());
|
|
objectList.playMusic();
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSORSCRIPTGLOBALSHORT_HPP
|