mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 05:19:55 +00:00
17 lines
387 B
C++
17 lines
387 B
C++
|
#include "PacketPlayerBounty.hpp"
|
||
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
||
|
|
||
|
using namespace mwmp;
|
||
|
|
||
|
PacketPlayerBounty::PacketPlayerBounty(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
|
||
|
{
|
||
|
packetID = ID_PLAYER_BOUNTY;
|
||
|
}
|
||
|
|
||
|
void PacketPlayerBounty::Packet(RakNet::BitStream *bs, bool send)
|
||
|
{
|
||
|
PlayerPacket::Packet(bs, send);
|
||
|
|
||
|
RW(player->npcStats.mBounty, send);
|
||
|
}
|