2018-01-29 20:32:51 +00:00
|
|
|
#ifndef OPENMW_PROCESSORPLAYERREPUTATION_HPP
|
|
|
|
#define OPENMW_PROCESSORPLAYERREPUTATION_HPP
|
|
|
|
|
|
|
|
#include "../PlayerProcessor.hpp"
|
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
2018-01-29 22:54:56 +00:00
|
|
|
class ProcessorPlayerReputation final : public PlayerProcessor
|
2018-01-29 20:32:51 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessorPlayerReputation()
|
|
|
|
{
|
|
|
|
BPP_INIT(ID_PLAYER_REPUTATION)
|
|
|
|
}
|
|
|
|
|
2018-01-29 22:54:56 +00:00
|
|
|
void Do(PlayerPacket &packet, const std::shared_ptr<Player> &player) override
|
2018-01-29 20:32:51 +00:00
|
|
|
{
|
2018-01-29 22:54:56 +00:00
|
|
|
Networking::get().getState().getEventCtrl().Call<CoreEvent::ON_PLAYER_REPUTATION>(player);
|
2018-01-29 20:32:51 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PROCESSORPLAYERREPUTATION_HPP
|