mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 04:15:31 +00:00
31 lines
697 B
C++
31 lines
697 B
C++
|
#ifndef OPENMW_PROCESSORPLAYERJAIL_HPP
|
||
|
#define OPENMW_PROCESSORPLAYERJAIL_HPP
|
||
|
|
||
|
#include "../PlayerProcessor.hpp"
|
||
|
#include "apps/openmw/mwmp/Main.hpp"
|
||
|
#include "apps/openmw/mwmp/Networking.hpp"
|
||
|
|
||
|
namespace mwmp
|
||
|
{
|
||
|
class ProcessorPlayerJail : public PlayerProcessor
|
||
|
{
|
||
|
public:
|
||
|
ProcessorPlayerJail()
|
||
|
{
|
||
|
BPP_INIT(ID_PLAYER_JAIL)
|
||
|
}
|
||
|
|
||
|
virtual void Do(PlayerPacket &packet, BasePlayer *player)
|
||
|
{
|
||
|
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Received ID_PLAYER_JAIL from server");
|
||
|
|
||
|
if (isLocal())
|
||
|
{
|
||
|
// To be filled in
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif //OPENMW_PROCESSORPLAYERJAIL_HPP
|