openmw-tes3coop/apps/openmw/mwmp/processors/player/ProcessorPlayerInput.hpp
2018-07-15 00:36:07 +03:00

27 lines
676 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 : 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