openmw-tes3coop/apps/openmw-mp/processors/player/ProcessorPlayerDrawState.hpp
2017-04-03 06:13:56 +08:00

33 lines
603 B
C++

//
// Created by koncord on 01.04.17.
//
#ifndef OPENMW_PROCESSORPLAYERDRAWSTATE_HPP
#define OPENMW_PROCESSORPLAYERDRAWSTATE_HPP
#include "apps/openmw-mp/PlayerProcessor.hpp"
namespace mwmp
{
class ProcessorPlayerDrawState : public PlayerProcessor
{
public:
ProcessorPlayerDrawState()
{
BPP_INIT(ID_PLAYER_DRAWSTATE)
}
void Do(PlayerPacket &packet, Player &player) override
{
DEBUG_PRINTF(strPacketID.c_str());
player.sendToLoaded(&packet);
}
};
}
#endif //OPENMW_PROCESSORPLAYERDRAWSTATE_HPP