2017-04-25 18:24:39 +00:00
|
|
|
#ifndef OPENMW_PROCESSORPLAYERBOUNTY_HPP
|
|
|
|
#define OPENMW_PROCESSORPLAYERBOUNTY_HPP
|
|
|
|
|
2017-07-03 17:13:10 +00:00
|
|
|
#include "../PlayerProcessor.hpp"
|
2017-04-25 18:24:39 +00:00
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
|
|
|
class ProcessorPlayerBounty : public PlayerProcessor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessorPlayerBounty()
|
|
|
|
{
|
|
|
|
BPP_INIT(ID_PLAYER_BOUNTY)
|
|
|
|
}
|
|
|
|
|
|
|
|
void Do(PlayerPacket &packet, Player &player) override
|
|
|
|
{
|
2017-05-16 17:52:09 +00:00
|
|
|
Script::Call<Script::CallbackIdentity("OnPlayerBounty")>(player.getId());
|
2017-04-25 18:24:39 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PROCESSORPLAYERBOUNTY_HPP
|