mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 02:19:55 +00:00
26 lines
539 B
C++
26 lines
539 B
C++
|
#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
|