1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-22 08:23:50 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Actor/PacketActorSpeech.cpp

16 lines
365 B
C++
Raw Normal View History

#include <components/openmw-mp/NetworkMessages.hpp>
#include <components/openmw-mp/Log.hpp>
#include "PacketActorSpeech.hpp"
using namespace mwmp;
PacketActorSpeech::PacketActorSpeech(RakNet::RakPeerInterface *peer) : ActorPacket(peer)
{
packetID = ID_ACTOR_SPEECH;
}
2017-06-02 19:42:10 +00:00
void PacketActorSpeech::Actor(BaseActor &actor, bool send)
{
2017-06-02 19:42:10 +00:00
RW(actor.sound, send);
}