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

25 lines
535 B
C++

#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)
{
BaseObjectProcessor::Do(packet, objectList);
objectList.activateDoors(ptrCellStore);
}
};
}
#endif //OPENMW_PROCESSDOORSTATE_HPP