mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-31 15:45:33 +00:00
23 lines
570 B
C++
23 lines
570 B
C++
#ifndef OPENMW_PROCESSORPLAYERBOUNTY_HPP
|
|
#define OPENMW_PROCESSORPLAYERBOUNTY_HPP
|
|
|
|
#include "../PlayerProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorPlayerBounty final: public PlayerProcessor
|
|
{
|
|
public:
|
|
ProcessorPlayerBounty()
|
|
{
|
|
BPP_INIT(ID_PLAYER_BOUNTY)
|
|
}
|
|
|
|
void Do(PlayerPacket &packet, const std::shared_ptr<Player> &player) override
|
|
{
|
|
Networking::get().getState().getEventCtrl().Call<CoreEvent::ON_PLAYER_BOUNTY>(player.get());
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSORPLAYERBOUNTY_HPP
|