2018-07-15 02:34:59 +00:00
|
|
|
#ifndef OPENMW_PROCESSORWORLDKILLCOUNT_HPP
|
|
|
|
#define OPENMW_PROCESSORWORLDKILLCOUNT_HPP
|
|
|
|
|
|
|
|
#include "../PlayerProcessor.hpp"
|
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
|
|
|
class ProcessorWorldKillCount : public PlayerProcessor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessorWorldKillCount()
|
|
|
|
{
|
|
|
|
BPP_INIT(ID_WORLD_KILL_COUNT)
|
|
|
|
}
|
|
|
|
|
|
|
|
void Do(PlayerPacket &packet, Player &player) override
|
|
|
|
{
|
|
|
|
DEBUG_PRINTF(strPacketID.c_str());
|
|
|
|
|
|
|
|
packet.Send(true);
|
|
|
|
|
2019-01-16 15:52:22 +00:00
|
|
|
Plugin::Call<CallbackIndex("OnWorldKillCount")>(player.getId());
|
2018-07-15 02:34:59 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PROCESSORWORLDKILLCOUNT_HPP
|