forked from teamnwah/openmw-tes3coop
14 lines
365 B
C++
14 lines
365 B
C++
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
#include "PacketPlayerSpeech.hpp"
|
|
|
|
mwmp::PacketPlayerSpeech::PacketPlayerSpeech(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
|
|
{
|
|
packetID = ID_PLAYER_SPEECH;
|
|
}
|
|
|
|
void mwmp::PacketPlayerSpeech::Packet(RakNet::BitStream *bs, bool send)
|
|
{
|
|
PlayerPacket::Packet(bs, send);
|
|
|
|
RW(player->sound, send);
|
|
}
|