2017-07-10 09:33:53 +00:00
|
|
|
#ifndef OPENMW_PROCESSOROBJECTSTATE_HPP
|
|
|
|
#define OPENMW_PROCESSOROBJECTSTATE_HPP
|
|
|
|
|
|
|
|
#include "BaseObjectProcessor.hpp"
|
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
|
|
|
class ProcessorObjectState : public BaseObjectProcessor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessorObjectState()
|
|
|
|
{
|
|
|
|
BPP_INIT(ID_OBJECT_STATE)
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual void Do(WorldPacket &packet, WorldEvent &event)
|
|
|
|
{
|
|
|
|
BaseObjectProcessor::Do(packet, event);
|
|
|
|
|
2017-07-13 06:46:30 +00:00
|
|
|
event.setObjectStates(ptrCellStore);
|
2017-07-10 09:33:53 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PROCESSOROBJECTSTATE_HPP
|