1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 21:19:57 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Actor/PacketActorAnimFlags.cpp
2019-08-19 21:39:33 +03:00

17 lines
455 B
C++

#include <components/openmw-mp/NetworkMessages.hpp>
#include <components/openmw-mp/TimedLog.hpp>
#include "PacketActorAnimFlags.hpp"
using namespace mwmp;
PacketActorAnimFlags::PacketActorAnimFlags(RakNet::RakPeerInterface *peer) : ActorPacket(peer)
{
packetID = ID_ACTOR_ANIM_FLAGS;
}
void PacketActorAnimFlags::Actor(BaseActor &actor, bool send)
{
RW(actor.movementFlags, send);
RW(actor.drawState, send);
RW(actor.isFlying, send);
}