1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 02:49:55 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Actor/PacketActorAnimFlags.cpp

18 lines
450 B
C++
Raw Normal View History

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