2017-05-29 01:43:52 +00:00
|
|
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
|
|
#include <components/openmw-mp/Log.hpp>
|
|
|
|
#include "PacketActorDeath.hpp"
|
|
|
|
|
|
|
|
using namespace mwmp;
|
|
|
|
|
|
|
|
PacketActorDeath::PacketActorDeath(RakNet::RakPeerInterface *peer) : ActorPacket(peer)
|
|
|
|
{
|
|
|
|
packetID = ID_ACTOR_DEATH;
|
|
|
|
}
|
|
|
|
|
2017-06-02 19:42:10 +00:00
|
|
|
void PacketActorDeath::Actor(BaseActor &actor, bool send)
|
2017-05-29 01:43:52 +00:00
|
|
|
{
|
2018-06-27 18:47:55 +00:00
|
|
|
RW(actor.deathReason, send);
|
2017-05-29 01:43:52 +00:00
|
|
|
}
|