mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 15:19:55 +00:00
17 lines
460 B
C++
17 lines
460 B
C++
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
#include "PacketActorAuthority.hpp"
|
|
|
|
using namespace mwmp;
|
|
|
|
PacketActorAuthority::PacketActorAuthority(RakNet::RakPeerInterface *peer) : ActorPacket(peer)
|
|
{
|
|
packetID = ID_ACTOR_AUTHORITY;
|
|
}
|
|
|
|
void PacketActorAuthority::Packet(RakNet::BitStream *newBitstream, bool send)
|
|
{
|
|
BasePacket::Packet(newBitstream, send);
|
|
|
|
RW(actorList->cell.mData, send, true);
|
|
RW(actorList->cell.mName, send, true);
|
|
}
|