mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-31 15:45:33 +00:00
5858e05362
Conflicts: apps/openmw-mp/CMakeLists.txt apps/openmw-mp/Script/ScriptFunctions.hpp components/CMakeLists.txt
23 lines
593 B
C++
23 lines
593 B
C++
#ifndef OPENMW_PROCESSORPLAYERREPUTATION_HPP
|
|
#define OPENMW_PROCESSORPLAYERREPUTATION_HPP
|
|
|
|
#include "../PlayerProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorPlayerReputation final : public PlayerProcessor
|
|
{
|
|
public:
|
|
ProcessorPlayerReputation()
|
|
{
|
|
BPP_INIT(ID_PLAYER_REPUTATION)
|
|
}
|
|
|
|
void Do(PlayerPacket &packet, const std::shared_ptr<Player> &player) override
|
|
{
|
|
Networking::get().getState().getEventCtrl().Call<CoreEvent::ON_PLAYER_REPUTATION>(player);
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSORPLAYERREPUTATION_HPP
|