2018-01-29 20:32:51 +00:00
|
|
|
#ifndef OPENMW_PROCESSDOORDESTINATION_HPP
|
|
|
|
#define OPENMW_PROCESSDOORDESTINATION_HPP
|
|
|
|
|
|
|
|
#include "BaseObjectProcessor.hpp"
|
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
|
|
|
class ProcessorDoorDestination : public BaseObjectProcessor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessorDoorDestination()
|
|
|
|
{
|
|
|
|
BPP_INIT(ID_DOOR_DESTINATION)
|
|
|
|
}
|
|
|
|
|
2018-05-12 21:42:24 +00:00
|
|
|
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
|
2018-01-29 20:32:51 +00:00
|
|
|
{
|
2018-05-12 21:42:24 +00:00
|
|
|
BaseObjectProcessor::Do(packet, objectList);
|
2018-01-29 20:32:51 +00:00
|
|
|
|
2018-05-12 21:42:24 +00:00
|
|
|
objectList.setDoorDestinations(ptrCellStore);
|
2018-01-29 20:32:51 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PROCESSDOORDESTINATION_HPP
|