openmw-tes3coop/apps/openmw/mwmp/processors/world/ProcessorObjectState.hpp
2017-07-13 09:46:30 +03:00

25 lines
539 B
C++

#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);
event.setObjectStates(ptrCellStore);
}
};
}
#endif //OPENMW_PROCESSOROBJECTSTATE_HPP