mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-10-04 02:21:11 -04:00
31 lines
716 B
C++
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
|