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;
|
|
|
|
}
|
|
|
|
|
2019-12-04 08:17:33 +00:00
|
|
|
void PacketActorAuthority::Packet(RakNet::BitStream *newBitstream, bool send)
|
2017-04-05 01:06:45 +00:00
|
|
|
{
|
2019-12-04 08:17:33 +00:00
|
|
|
BasePacket::Packet(newBitstream, send);
|
2017-06-02 19:42:10 +00:00
|
|
|
|
2018-07-02 18:50:21 +00:00
|
|
|
RW(actorList->cell.mData, send, true);
|
|
|
|
RW(actorList->cell.mName, send, true);
|
2017-04-05 01:06:45 +00:00
|
|
|
}
|