1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-31 20:45:32 +00:00
openmw-tes3mp/apps/openmw-mp/processors/player/ProcessorPlayerSpeech.hpp
2017-12-09 15:03:06 +08:00

25 lines
555 B
C++

#ifndef OPENMW_PROCESSORPLAYERSPEECH_HPP
#define OPENMW_PROCESSORPLAYERSPEECH_HPP
#include "../PlayerProcessor.hpp"
namespace mwmp
{
class ProcessorPlayerSpeech final: public PlayerProcessor
{
public:
ProcessorPlayerSpeech()
{
BPP_INIT(ID_PLAYER_SPEECH)
}
void Do(PlayerPacket &packet, const std::shared_ptr<Player> &player) override
{
DEBUG_PRINTF(strPacketID.c_str());
player->sendToLoaded(packet);
}
};
}
#endif //OPENMW_PROCESSORPLAYERSPEECH_HPP