2019-10-08 08:09:08 +00:00
|
|
|
#ifndef OPENMW_PROCESSORPLACEHOLDER_HPP
|
|
|
|
#define OPENMW_PROCESSORPLACEHOLDER_HPP
|
2017-06-10 11:04:19 +00:00
|
|
|
|
|
|
|
#include "../PlayerProcessor.hpp"
|
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
2019-10-24 19:16:17 +00:00
|
|
|
class ProcessorPlayerPlaceholder final: public PlayerProcessor
|
2017-06-10 11:04:19 +00:00
|
|
|
{
|
|
|
|
public:
|
2019-10-08 08:09:08 +00:00
|
|
|
ProcessorPlayerPlaceholder()
|
2017-06-10 11:04:19 +00:00
|
|
|
{
|
2019-10-08 08:09:08 +00:00
|
|
|
BPP_INIT(ID_PLACEHOLDER)
|
2017-06-10 11:04:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
virtual void Do(PlayerPacket &packet, BasePlayer *player)
|
|
|
|
{
|
|
|
|
if (isRequest())
|
|
|
|
{
|
|
|
|
// Entire list of topics cannot currently be requested from players
|
|
|
|
}
|
|
|
|
else if (player != 0)
|
|
|
|
{
|
2019-10-08 08:09:08 +00:00
|
|
|
// Placeholder
|
2017-06-10 11:04:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2019-10-08 08:09:08 +00:00
|
|
|
#endif //OPENMW_PROCESSORPLACEHOLDER_HPP
|