mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 16:53:52 +00:00
25 lines
598 B
C++
25 lines
598 B
C++
#ifndef OPENMW_PROCESSORPLAYERBOOK_HPP
|
|
#define OPENMW_PROCESSORPLAYERBOOK_HPP
|
|
|
|
#include "../PlayerProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorPlayerBook final: public PlayerProcessor
|
|
{
|
|
public:
|
|
ProcessorPlayerBook()
|
|
{
|
|
BPP_INIT(ID_PLAYER_BOOK)
|
|
}
|
|
|
|
void Do(PlayerPacket &packet, const std::shared_ptr<Player> &player) override
|
|
{
|
|
DEBUG_PRINTF(strPacketID.c_str());
|
|
|
|
Networking::get().getState().getEventCtrl().Call<CoreEvent::ON_PLAYER_BOOK>(player);
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSORPLAYERBOOK_HPP
|