2017-04-05 01:06:45 +00:00
|
|
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
|
|
#include "PacketActorAuthority.hpp"
|
|
|
|
|
|
|
|
using namespace mwmp;
|
|
|
|
|
2017-04-09 05:51:28 +00:00
|
|
|
PacketActorAuthority::PacketActorAuthority(RakNet::RakPeerInterface *peer) : ActorPacket(peer)
|
2017-04-05 01:06:45 +00:00
|
|
|
{
|
|
|
|
packetID = ID_ACTOR_AUTHORITY;
|
|
|
|
}
|
|
|
|
|
|
|
|
void PacketActorAuthority::Packet(RakNet::BitStream *bs, bool send)
|
|
|
|
{
|
2017-06-02 19:42:10 +00:00
|
|
|
BasePacket::Packet(bs, send);
|
|
|
|
|
2017-11-28 13:51:34 +00:00
|
|
|
RW(actorList->cell.mData, send, true);
|
|
|
|
RW(actorList->cell.mName, send, true);
|
2017-04-05 01:06:45 +00:00
|
|
|
}
|