1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 21:49:56 +00:00
openmw-tes3mp/apps/openmw-mp/processors/player/ProcessorPlayerBook.hpp

25 lines
557 B
C++

#ifndef OPENMW_PROCESSORPLAYERBOOK_HPP
#define OPENMW_PROCESSORPLAYERBOOK_HPP
#include "../PlayerProcessor.hpp"
namespace mwmp
{
class ProcessorPlayerBook : public PlayerProcessor
{
public:
ProcessorPlayerBook()
{
BPP_INIT(ID_PLAYER_BOOK)
}
void Do(PlayerPacket &packet, Player &player) override
{
DEBUG_PRINTF(strPacketID.c_str());
Script::Call<Script::CallbackIdentity("OnPlayerBook")>(player.getId());
}
};
}
#endif //OPENMW_PROCESSORPLAYERBOOK_HPP