2017-06-26 22:01:45 +00:00
|
|
|
#include "PacketPlayerResurrect.hpp"
|
|
|
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
2019-08-19 18:39:33 +00:00
|
|
|
#include <components/openmw-mp/TimedLog.hpp>
|
2017-06-26 22:01:45 +00:00
|
|
|
|
|
|
|
using namespace mwmp;
|
|
|
|
|
|
|
|
PacketPlayerResurrect::PacketPlayerResurrect(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
|
|
|
|
{
|
|
|
|
packetID = ID_PLAYER_RESURRECT;
|
|
|
|
}
|
|
|
|
|
2019-12-04 08:17:33 +00:00
|
|
|
void PacketPlayerResurrect::Packet(RakNet::BitStream *newBitstream, bool send)
|
2017-06-26 22:01:45 +00:00
|
|
|
{
|
2019-12-04 08:17:33 +00:00
|
|
|
PlayerPacket::Packet(newBitstream, send);
|
2017-06-26 22:01:45 +00:00
|
|
|
|
|
|
|
RW(player->resurrectType, send);
|
|
|
|
}
|