1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 17:19:56 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Actor/PacketActorAuthority.cpp

18 lines
460 B
C++
Raw Normal View History

#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);
2017-06-02 19:42:10 +00:00
RW(actorList->cell.mData, send, true);
RW(actorList->cell.mName, send, true);
}