openmw-tes3coop/apps/openmw-mp/processors/player/ProcessorPlayerAnimPlay.hpp

26 lines
557 B
C++
Raw Normal View History

#ifndef OPENMW_PROCESSORPLAYERANIMPLAY_HPP
#define OPENMW_PROCESSORPLAYERANIMPLAY_HPP
#include "../PlayerProcessor.hpp"
namespace mwmp
{
class ProcessorPlayerAnimPlay : public PlayerProcessor
{
public:
ProcessorPlayerAnimPlay()
{
BPP_INIT(ID_PLAYER_ANIM_PLAY)
}
void Do(PlayerPacket &packet, std::shared_ptr<Player> player) override
{
DEBUG_PRINTF(strPacketID.c_str());
player->sendToLoaded(&packet);
}
};
}
#endif //OPENMW_PROCESSORPLAYERANIMPLAY_HPP