openmw-tes3coop/apps/openmw/mwmp/processors/world/ProcessorMusicPlay.hpp
David Cernat 27148ce9eb [General] Add placeholders for 12 new packets, to be implemented soon
Additionally, make it slightly clearer who created which previously existing packets.
2017-05-29 04:43:52 +03:00

24 lines
557 B
C++

#ifndef OPENMW_PROCESSORMUSICPLAY_HPP
#define OPENMW_PROCESSORMUSICPLAY_HPP
#include "apps/openmw/mwmp/WorldProcessor.hpp"
namespace mwmp
{
class ProcessorMusicPlay : public WorldProcessor
{
public:
ProcessorMusicPlay()
{
BPP_INIT(ID_MUSIC_PLAY)
}
virtual void Do(WorldPacket &packet, WorldEvent &event)
{
LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Received %s", strPacketID.c_str());
event.playMusic();
}
};
}
#endif //OPENMW_PROCESSORSCRIPTGLOBALSHORT_HPP