2017-04-11 08:37:38 +00:00
|
|
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
|
|
#include <components/openmw-mp/Log.hpp>
|
|
|
|
#include "PacketActorAnimPlay.hpp"
|
|
|
|
|
|
|
|
using namespace mwmp;
|
|
|
|
|
|
|
|
PacketActorAnimPlay::PacketActorAnimPlay(RakNet::RakPeerInterface *peer) : ActorPacket(peer)
|
|
|
|
{
|
|
|
|
packetID = ID_ACTOR_ANIM_PLAY;
|
|
|
|
}
|
|
|
|
|
2017-06-02 19:42:10 +00:00
|
|
|
void PacketActorAnimPlay::Actor(BaseActor &actor, bool send)
|
2017-04-11 08:37:38 +00:00
|
|
|
{
|
|
|
|
|
2017-06-02 19:42:10 +00:00
|
|
|
RW(actor.animation.groupname, send);
|
|
|
|
RW(actor.animation.mode, send);
|
|
|
|
RW(actor.animation.count, send);
|
|
|
|
RW(actor.animation.persist, send);
|
2017-04-11 08:37:38 +00:00
|
|
|
}
|