openmw-tes3coop/apps/openmw-mp/processors/player/ProcessorPlayerStatsDynamic.hpp

30 lines
626 B
C++
Raw Normal View History

//
// Created by koncord on 01.04.17.
//
#ifndef OPENMW_PROCESSORPLAYERSTATS_DYNAMIC_HPP
#define OPENMW_PROCESSORPLAYERSTATS_DYNAMIC_HPP
#include "../PlayerProcessor.hpp"
namespace mwmp
{
class ProcessorPlayerStatsDynamic : public PlayerProcessor
{
public:
ProcessorPlayerStatsDynamic()
{
BPP_INIT(ID_PLAYER_STATS_DYNAMIC)
}
void Do(PlayerPacket &packet, std::shared_ptr<Player> player) override
{
DEBUG_PRINTF(strPacketID.c_str());
player->sendToLoaded(&packet);
}
};
}
#endif //OPENMW_PROCESSORPLAYERSTATS_DYNAMIC_HPP