forked from teamnwah/openmw-tes3coop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
466 B
C++
18 lines
466 B
C++
8 years ago
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
||
|
#include "PacketObjectAnimPlay.hpp"
|
||
|
|
||
|
using namespace mwmp;
|
||
|
|
||
7 years ago
|
PacketObjectAnimPlay::PacketObjectAnimPlay(RakNet::RakPeerInterface *peer) : ObjectPacket(peer)
|
||
8 years ago
|
{
|
||
|
packetID = ID_OBJECT_ANIM_PLAY;
|
||
8 years ago
|
hasCellData = true;
|
||
8 years ago
|
}
|
||
|
|
||
8 years ago
|
void PacketObjectAnimPlay::Object(WorldObject &worldObject, bool send)
|
||
8 years ago
|
{
|
||
7 years ago
|
ObjectPacket::Object(worldObject, send);
|
||
8 years ago
|
RW(worldObject.animGroup, send);
|
||
|
RW(worldObject.animMode, send);
|
||
8 years ago
|
}
|