mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-31 08:45:36 +00:00
5858e05362
Conflicts: apps/openmw-mp/CMakeLists.txt apps/openmw-mp/Script/ScriptFunctions.hpp components/CMakeLists.txt
27 lines
717 B
C++
27 lines
717 B
C++
#ifndef OPENMW_PROCESSORPLAYERINTERACTION_HPP
|
|
#define OPENMW_PROCESSORPLAYERINTERACTION_HPP
|
|
|
|
#include "apps/openmw/mwmp/Main.hpp"
|
|
#include "../PlayerProcessor.hpp"
|
|
#include "apps/openmw/mwmp/MechanicsHelper.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorPlayerInteraction final: public PlayerProcessor
|
|
{
|
|
public:
|
|
ProcessorPlayerInteraction()
|
|
{
|
|
BPP_INIT(ID_PLAYER_INTERACTION)
|
|
}
|
|
|
|
virtual void Do(PlayerPacket &packet, BasePlayer *player)
|
|
{
|
|
//if (player != 0)
|
|
// MechanicsHelper::processInteraction(player->interaction, static_cast<DedicatedPlayer*>(player)->getPtr());
|
|
}
|
|
};
|
|
}
|
|
|
|
|
|
#endif //OPENMW_PROCESSORPLAYERINTERACTION_HPP
|