mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 07:19:54 +00:00
19 lines
465 B
C++
19 lines
465 B
C++
//
|
|
// Created by koncord on 13.01.16.
|
|
//
|
|
|
|
#include "PacketPlayerStatsDynamic.hpp"
|
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
|
|
using namespace mwmp;
|
|
|
|
PacketPlayerStatsDynamic::PacketPlayerStatsDynamic(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
|
|
{
|
|
packetID = ID_PLAYER_STATS_DYNAMIC;
|
|
}
|
|
|
|
void PacketPlayerStatsDynamic::Packet(RakNet::BitStream *bs, bool send)
|
|
{
|
|
PlayerPacket::Packet(bs, send);
|
|
RW(player->creatureStats.mDynamic, send);
|
|
}
|