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_PROCESSORPLAYERDISPOSITION_HPP
#define OPENMW_PROCESSORPLAYERDISPOSITION_HPP
#include "../PlayerProcessor.hpp"
namespace mwmp
{
class ProcessorPlayerDisposition : public PlayerProcessor
{
public:
ProcessorPlayerDisposition()
{
BPP_INIT(ID_PLAYER_DISPOSITION)
}
void Do(PlayerPacket &packet, Player &player) override
{
DEBUG_PRINTF(strPacketID.c_str());
packet.Send(true);
Script::Call<Script::CallbackIdentity("OnPlayerDisposition")>(player.getId());
}
};
}
#endif //OPENMW_PROCESSORPLAYERDISPOSITION_HPP