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

25 lines
561 B
C++
Raw Normal View History

2017-04-18 03:37:32 +00:00
#ifndef OPENMW_PROCESSORMUSICPLAY_HPP
#define OPENMW_PROCESSORMUSICPLAY_HPP
#include "../ObjectProcessor.hpp"
2017-04-18 03:37:32 +00:00
namespace mwmp
{
class ProcessorMusicPlay : public ObjectProcessor
2017-04-18 03:37:32 +00:00
{
public:
ProcessorMusicPlay()
{
BPP_INIT(ID_MUSIC_PLAY)
}
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
2017-04-18 03:37:32 +00:00
{
LOG_MESSAGE_SIMPLE(TimedLog::LOG_VERBOSE, "Received %s", strPacketID.c_str());
objectList.playMusic();
2017-04-18 03:37:32 +00:00
}
};
}
#endif //OPENMW_PROCESSORSCRIPTGLOBALSHORT_HPP