2017-04-11 08:37:38 +00:00
|
|
|
#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-04-11 08:37:38 +00:00
|
|
|
{
|
2017-06-02 19:42:10 +00:00
|
|
|
RW(actor.response, send);
|
|
|
|
RW(actor.sound, send);
|
2017-04-11 08:37:38 +00:00
|
|
|
}
|