openmw-tes3coop/apps/openmw/mwmp/processors/world/ProcessorObjectAnimPlay.hpp
2017-04-18 11:50:22 +08:00

30 lines
600 B
C++

//
// Created by koncord on 18.04.17.
//
#ifndef OPENMW_PROCESSOROBJECTANIMPLAY_HPP
#define OPENMW_PROCESSOROBJECTANIMPLAY_HPP
#include "BaseObjectProcessor.hpp"
namespace mwmp
{
class ProcessorObjectAnimPlay : public BaseObjectProcessor
{
public:
ProcessorObjectAnimPlay()
{
BPP_INIT(ID_OBJECT_ANIM_PLAY)
}
virtual void Do(WorldPacket &packet, WorldEvent &event)
{
BaseObjectProcessor::Do(packet, event);
event.animateObjects(ptrCellStore);
}
};
}
#endif //OPENMW_PROCESSOROBJECTANIMPLAY_HPP