1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 02:19:55 +00:00
openmw-tes3mp/apps/openmw-mp/processors/player/ProcessorPlayerSpeech.hpp

26 lines
539 B
C++
Raw Normal View History

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