2017-05-29 01:43:52 +00:00
|
|
|
#ifndef OPENMW_PROCESSORPLAYERSPEECH_HPP
|
|
|
|
#define OPENMW_PROCESSORPLAYERSPEECH_HPP
|
|
|
|
|
2017-07-03 17:13:10 +00:00
|
|
|
#include "../PlayerProcessor.hpp"
|
2017-05-29 01:43:52 +00:00
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
|
|
|
class ProcessorPlayerSpeech : public PlayerProcessor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessorPlayerSpeech()
|
|
|
|
{
|
|
|
|
BPP_INIT(ID_PLAYER_SPEECH)
|
|
|
|
}
|
|
|
|
|
2017-08-27 16:15:56 +00:00
|
|
|
void Do(PlayerPacket &packet, std::shared_ptr<Player> player) override
|
2017-05-29 01:43:52 +00:00
|
|
|
{
|
|
|
|
DEBUG_PRINTF(strPacketID.c_str());
|
|
|
|
|
2017-08-27 16:15:56 +00:00
|
|
|
player->sendToLoaded(&packet);
|
2017-05-29 01:43:52 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PROCESSORPLAYERSPEECH_HPP
|