mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-25 00:53:52 +00:00
a74bf1baec
(cherry picked from commit 7748e582a8
)
30 lines
684 B
C++
30 lines
684 B
C++
#ifndef OPENMW_PROCESSORPLACEHOLDER_HPP
|
|
#define OPENMW_PROCESSORPLACEHOLDER_HPP
|
|
|
|
#include "../PlayerProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorPlayerPlaceholder final: public PlayerProcessor
|
|
{
|
|
public:
|
|
ProcessorPlayerPlaceholder()
|
|
{
|
|
BPP_INIT(ID_PLACEHOLDER)
|
|
}
|
|
|
|
virtual void Do(PlayerPacket &packet, BasePlayer *player)
|
|
{
|
|
if (isRequest())
|
|
{
|
|
// Entire list of topics cannot currently be requested from players
|
|
}
|
|
else if (player != 0)
|
|
{
|
|
// Placeholder
|
|
}
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSORPLACEHOLDER_HPP
|