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

26 lines
586 B
C++
Raw Normal View History

#ifndef OPENMW_PROCESSORPLAYERREST_HPP
#define OPENMW_PROCESSORPLAYERREST_HPP
#include "../PlayerProcessor.hpp"
namespace mwmp
{
class ProcessorPlayerRest : public PlayerProcessor
{
public:
ProcessorPlayerRest()
{
BPP_INIT(ID_PLAYER_REST)
}
void Do(PlayerPacket &packet, std::shared_ptr<Player> player) override
{
DEBUG_PRINTF(strPacketID.c_str());
Networking::get().getState().getEventCtrl().Call<CoreEvent::ON_PLAYER_REST>(player);
}
};
}
#endif //OPENMW_PROCESSORPLAYERREST_HPP