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

26 lines
535 B
C++
Raw Normal View History

2017-04-18 03:37:32 +00:00
#ifndef OPENMW_PROCESSDOORSTATE_HPP
#define OPENMW_PROCESSDOORSTATE_HPP
#include "BaseObjectProcessor.hpp"
namespace mwmp
{
class ProcessorDoorState : public BaseObjectProcessor
{
public:
ProcessorDoorState()
{
BPP_INIT(ID_DOOR_STATE)
}
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
2017-04-18 03:37:32 +00:00
{
BaseObjectProcessor::Do(packet, objectList);
2017-04-18 03:37:32 +00:00
objectList.activateDoors(ptrCellStore);
2017-04-18 03:37:32 +00:00
}
};
}
#endif //OPENMW_PROCESSDOORSTATE_HPP