#include "PacketPlayerMomentum.hpp" #include using namespace mwmp; PacketPlayerMomentum::PacketPlayerMomentum(RakNet::RakPeerInterface *peer) : PlayerPacket(peer) { packetID = ID_PLAYER_MOMENTUM; priority = MEDIUM_PRIORITY; } void PacketPlayerMomentum::Packet(RakNet::BitStream *bs, bool send) { PlayerPacket::Packet(bs, send); RW(player->momentum.pos, send, true); }