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