mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 19:49:54 +00:00
17 lines
461 B
C++
17 lines
461 B
C++
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
#include "PacketObjectAnimPlay.hpp"
|
|
|
|
using namespace mwmp;
|
|
|
|
PacketObjectAnimPlay::PacketObjectAnimPlay(RakNet::RakPeerInterface *peer) : ObjectPacket(peer)
|
|
{
|
|
packetID = ID_OBJECT_ANIM_PLAY;
|
|
hasCellData = true;
|
|
}
|
|
|
|
void PacketObjectAnimPlay::Object(BaseObject &baseObject, bool send)
|
|
{
|
|
ObjectPacket::Object(baseObject, send);
|
|
RW(baseObject.animGroup, send);
|
|
RW(baseObject.animMode, send);
|
|
}
|