An OpenMW mod that lets you play the whole Elder Scrolls III: Morrowind as a top-down isometric game — with full online co-op or MMO modes.
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)
}
virtual void Do(PlayerPacket &packet, BasePlayer *player)
{
if (isLocal())
{
static_cast<LocalPlayer*>(player)->setBooks();
}
}
};
}
#endif //OPENMW_PROCESSORPLAYERBOOK_HPP