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

31 lines
716 B
C++

#ifndef OPENMW_PROCESSORPLAYERBEHAVIOR_HPP
#define OPENMW_PROCESSORPLAYERBEHAVIOR_HPP
#include "../PlayerProcessor.hpp"
namespace mwmp
{
class ProcessorPlayerBehavior final: public PlayerProcessor
{
public:
ProcessorPlayerBehavior()
{
BPP_INIT(ID_PLAYER_BEHAVIOR)
}
virtual void Do(PlayerPacket &packet, BasePlayer *player)
{
if (isLocal())
{
//static_cast<LocalPlayer *>(player)->setBehavior();
}
else if (player != 0)
{
//static_cast<DedicatedPlayer *>(player)->setBehavior();
}
}
};
}
#endif //OPENMW_PROCESSORPLAYERBEHAVIOR_HPP