1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-23 09:23:50 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Player/PacketPlayerAnimFlags.cpp

17 lines
504 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 *newBitstream, bool send)
{
PlayerPacket::Packet(newBitstream, send);
RW(player->movementFlags, send);
RW(player->drawState, send);
RW(player->isFlying, send);
RW(player->hasTcl, send);
}