openmw-tes3coop/components/openmw-mp/Packets/Player/PacketPlayerSpeech.cpp
2017-10-31 15:19:14 +02:00

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);
}