1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 19:49:54 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Player/PacketPlayerAnimFlags.cpp

16 lines
454 B
C++

#include <components/openmw-mp/NetworkMessages.hpp>
#include "PacketPlayerAnimFlags.hpp"
mwmp::PacketPlayerAnimFlags::PacketPlayerAnimFlags(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
{
packetID = ID_PLAYER_ANIM_FLAGS;
}
void mwmp::PacketPlayerAnimFlags::Packet(RakNet::BitStream *bs, bool send)
{
PlayerPacket::Packet(bs, send);
RW(player->movementFlags, send);
RW(player->drawState, send);
RW(player->isFlying, send);
}