forked from mirror/openmw-tes3mp
25 lines
551 B
C++
25 lines
551 B
C++
#ifndef OPENMW_PROCESSORPLAYERSPEECH_HPP
|
|
#define OPENMW_PROCESSORPLAYERSPEECH_HPP
|
|
|
|
#include "../PlayerProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorPlayerSpeech : 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
|