2018-06-07 09:49:12 +00:00
|
|
|
#ifndef OPENMW_PROCESSORWORLDMAP_HPP
|
|
|
|
#define OPENMW_PROCESSORWORLDMAP_HPP
|
|
|
|
|
|
|
|
#include "../WorldstateProcessor.hpp"
|
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
|
|
|
class ProcessorWorldMap : public WorldstateProcessor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessorWorldMap()
|
|
|
|
{
|
|
|
|
BPP_INIT(ID_WORLD_MAP)
|
|
|
|
}
|
|
|
|
|
|
|
|
void Do(WorldstatePacket &packet, Player &player, BaseWorldstate &worldstate) override
|
|
|
|
{
|
|
|
|
DEBUG_PRINTF(strPacketID.c_str());
|
|
|
|
|
2019-01-16 15:52:22 +00:00
|
|
|
Plugin::Call<CallbackIndex("OnWorldMap")>(player.getId());
|
2018-06-07 09:49:12 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PROCESSORWORLDMAP_HPP
|