2017-05-29 01:43:52 +00:00
|
|
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
|
|
#include "PacketPlayerAnimPlay.hpp"
|
|
|
|
|
|
|
|
mwmp::PacketPlayerAnimPlay::PacketPlayerAnimPlay(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
|
|
|
|
{
|
|
|
|
packetID = ID_PLAYER_ANIM_PLAY;
|
|
|
|
}
|
|
|
|
|
2019-12-04 08:17:33 +00:00
|
|
|
void mwmp::PacketPlayerAnimPlay::Packet(RakNet::BitStream *newBitstream, bool send)
|
2017-05-29 01:43:52 +00:00
|
|
|
{
|
2019-12-04 08:17:33 +00:00
|
|
|
PlayerPacket::Packet(newBitstream, send);
|
2017-05-29 01:43:52 +00:00
|
|
|
|
2017-10-27 06:10:29 +00:00
|
|
|
RW(player->animation.groupname, send);
|
|
|
|
RW(player->animation.mode, send);
|
|
|
|
RW(player->animation.count, send);
|
|
|
|
RW(player->animation.persist, send);
|
2017-05-29 01:43:52 +00:00
|
|
|
}
|