#include "PacketPlayerShapeshift.hpp" #include using namespace mwmp; PacketPlayerShapeshift::PacketPlayerShapeshift(RakNet::RakPeerInterface *peer) : PlayerPacket(peer) { packetID = ID_PLAYER_SHAPESHIFT; } void PacketPlayerShapeshift::Packet(RakNet::BitStream *bs, bool send) { PlayerPacket::Packet(bs, send); RW(player->scale, send); RW(player->isWerewolf, send); RW(player->displayCreatureName, send); RW(player->creatureRefId, send, true); }