// // Created by koncord on 17.03.16. // #include "PacketPlayerSkill.hpp" #include #include using namespace mwmp; PacketPlayerSkill::PacketPlayerSkill(RakNet::RakPeerInterface *peer) : PlayerPacket(peer) { packetID = ID_PLAYER_SKILL; } void PacketPlayerSkill::Packet(RakNet::BitStream *bs, bool send) { PlayerPacket::Packet(bs, send); RW(player->npcStats.mSkills, send); RW(player->npcStats.mSkillIncrease, send); RW(player->npcStats.mLevelProgress, send); }