1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 10:49:57 +00:00
openmw-tes3mp/apps/openmw/mwmp/processors/object/ProcessorObjectLock.hpp

26 lines
545 B
C++
Raw Normal View History

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)
}
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.lockObjects(ptrCellStore);
2017-04-18 03:37:32 +00:00
}
};
}
#endif //OPENMW_PROCESSOROBJECTLOCK_HPP