openmw-tes3coop/apps/openmw/mwmp/processors/object/ProcessorObjectAnimPlay.hpp

25 lines
573 B
C++

#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(ObjectPacket &packet, ObjectList &objectList)
{
BaseObjectProcessor::Do(packet, objectList);
objectList.animateObjects(ptrCellStore);
}
};
}
#endif //OPENMW_PROCESSOROBJECTANIMPLAY_HPP