mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 05:49:56 +00:00
a74bf1baec
(cherry picked from commit 7748e582a8
)
25 lines
550 B
C++
25 lines
550 B
C++
#ifndef OPENMW_PROCESSOROBJECTLOCK_HPP
|
|
#define OPENMW_PROCESSOROBJECTLOCK_HPP
|
|
|
|
#include "BaseObjectProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorObjectLock final: public BaseObjectProcessor
|
|
{
|
|
public:
|
|
ProcessorObjectLock()
|
|
{
|
|
BPP_INIT(ID_OBJECT_LOCK)
|
|
}
|
|
|
|
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
|
|
{
|
|
BaseObjectProcessor::Do(packet, objectList);
|
|
|
|
objectList.lockObjects(ptrCellStore);
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSOROBJECTLOCK_HPP
|