2017-04-18 03:37:32 +00:00
|
|
|
#ifndef OPENMW_PROCESSOROBJECTLOCK_HPP
|
|
|
|
#define OPENMW_PROCESSOROBJECTLOCK_HPP
|
|
|
|
|
|
|
|
#include "BaseObjectProcessor.hpp"
|
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
|
|
|
class ProcessorObjectLock : public BaseObjectProcessor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessorObjectLock()
|
|
|
|
{
|
|
|
|
BPP_INIT(ID_OBJECT_LOCK)
|
|
|
|
}
|
|
|
|
|
2018-05-12 21:42:24 +00:00
|
|
|
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
|
2017-04-18 03:37:32 +00:00
|
|
|
{
|
2018-05-12 21:42:24 +00:00
|
|
|
BaseObjectProcessor::Do(packet, objectList);
|
2017-04-18 03:37:32 +00:00
|
|
|
|
2018-05-12 21:42:24 +00:00
|
|
|
objectList.lockObjects(ptrCellStore);
|
2017-04-18 03:37:32 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PROCESSOROBJECTLOCK_HPP
|