forked from teamnwah/openmw-tes3coop
27148ce9eb
Additionally, make it slightly clearer who created which previously existing packets.
25 lines
557 B
C++
25 lines
557 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(WorldPacket &packet, WorldEvent &event)
|
|
{
|
|
BaseObjectProcessor::Do(packet, event);
|
|
|
|
event.animateObjects(ptrCellStore);
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSOROBJECTANIMPLAY_HPP
|