1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 22:49:55 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Object/PacketObjectAnimPlay.cpp

18 lines
461 B
C++
Raw Normal View History

2016-10-27 13:09:02 +00:00
#include <components/openmw-mp/NetworkMessages.hpp>
#include "PacketObjectAnimPlay.hpp"
using namespace mwmp;
PacketObjectAnimPlay::PacketObjectAnimPlay(RakNet::RakPeerInterface *peer) : ObjectPacket(peer)
2016-10-27 13:09:02 +00:00
{
packetID = ID_OBJECT_ANIM_PLAY;
2017-06-02 19:10:47 +00:00
hasCellData = true;
2016-10-27 13:09:02 +00:00
}
void PacketObjectAnimPlay::Object(BaseObject &baseObject, bool send)
2016-10-27 13:09:02 +00:00
{
ObjectPacket::Object(baseObject, send);
RW(baseObject.animGroup, send);
RW(baseObject.animMode, send);
2016-10-27 13:09:02 +00:00
}