mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-31 21:45:33 +00:00
25 lines
619 B
C++
25 lines
619 B
C++
#ifndef OPENMW_PROCESSORPLAYERJOURNAL_HPP
|
|
#define OPENMW_PROCESSORPLAYERJOURNAL_HPP
|
|
|
|
#include "../PlayerProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorPlayerJournal final: public PlayerProcessor
|
|
{
|
|
public:
|
|
ProcessorPlayerJournal()
|
|
{
|
|
BPP_INIT(ID_PLAYER_JOURNAL)
|
|
}
|
|
|
|
void Do(PlayerPacket &packet, const std::shared_ptr<Player> &player) override
|
|
{
|
|
DEBUG_PRINTF(strPacketID.c_str());
|
|
|
|
Networking::get().getState().getEventCtrl().Call<CoreEvent::ON_PLAYER_JOURNAL>(player);
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSORPLAYERJOURNAL_HPP
|