TES3MP/apps/openmw/mwmp/processors/player/ProcessorPlayerInput.hpp
Koncord a74bf1baec [Client] Mark derived processor classes as final
(cherry picked from commit 7748e582a8dbfbac66b508df5e30baf2572f8fb2)
2019-10-24 22:16:17 +03:00

28 lines
681 B
C++

#ifndef OPENMW_PROCESSORPLAYERINPUT_HPP
#define OPENMW_PROCESSORPLAYERINPUT_HPP
#include "apps/openmw/mwmp/Main.hpp"
#include "../PlayerProcessor.hpp"
#include "apps/openmw/mwmp/MechanicsHelper.hpp"
namespace mwmp
{
class ProcessorPlayerInput final: public PlayerProcessor
{
public:
ProcessorPlayerInput()
{
BPP_INIT(ID_PLAYER_INPUT)
}
virtual void Do(PlayerPacket &packet, BasePlayer *player)
{
//if (player != 0)
// MechanicsHelper::processInteraction(player->interaction, static_cast<DedicatedPlayer*>(player)->getPtr());
}
};
}
#endif //OPENMW_PROCESSORPLAYERINPUT_HPP