#ifndef OPENMW_PROCESSORPLAYERLEVEL_HPP #define OPENMW_PROCESSORPLAYERLEVEL_HPP #include "../PlayerProcessor.hpp" namespace mwmp { class ProcessorPlayerLevel : public PlayerProcessor { public: ProcessorPlayerLevel() { BPP_INIT(ID_PLAYER_LEVEL) } void Do(PlayerPacket &packet, std::shared_ptr player) override { if (!player->creatureStats.mDead) Networking::get().getState().getEventCtrl().Call(player); } }; } #endif //OPENMW_PROCESSORPLAYERLEVEL_HPP