2017-05-29 01:43:52 +00:00
|
|
|
#ifndef OPENMW_PROCESSORPLAYERMAP_HPP
|
|
|
|
#define OPENMW_PROCESSORPLAYERMAP_HPP
|
|
|
|
|
2017-07-03 17:13:10 +00:00
|
|
|
#include "../PlayerProcessor.hpp"
|
2017-05-29 01:43:52 +00:00
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
2017-12-09 02:20:55 +00:00
|
|
|
class ProcessorPlayerMap final: public PlayerProcessor
|
2017-05-29 01:43:52 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessorPlayerMap()
|
|
|
|
{
|
|
|
|
BPP_INIT(ID_PLAYER_MAP)
|
|
|
|
}
|
|
|
|
|
2017-12-07 23:32:39 +00:00
|
|
|
void Do(PlayerPacket &packet, const std::shared_ptr<Player> &player) override
|
2017-05-29 01:43:52 +00:00
|
|
|
{
|
|
|
|
DEBUG_PRINTF(strPacketID.c_str());
|
|
|
|
|
2018-05-10 19:33:36 +00:00
|
|
|
Networking::get().getState().getEventCtrl().Call<CoreEvent::ON_PLAYER_MAP>(player.get());
|
2017-05-29 01:43:52 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PROCESSORPLAYERMAP_HPP
|