1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 05:49:56 +00:00
openmw-tes3mp/apps/openmw/mwmp/processors/object/ProcessorObjectDelete.hpp
2019-10-24 22:16:17 +03:00

25 lines
564 B
C++

#ifndef OPENMW_PROCESSOROBJECTDELETE_HPP
#define OPENMW_PROCESSOROBJECTDELETE_HPP
#include "BaseObjectProcessor.hpp"
namespace mwmp
{
class ProcessorObjectDelete final: public BaseObjectProcessor
{
public:
ProcessorObjectDelete()
{
BPP_INIT(ID_OBJECT_DELETE)
}
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
{
BaseObjectProcessor::Do(packet, objectList);
objectList.deleteObjects(ptrCellStore);
}
};
}
#endif //OPENMW_PROCESSOROBJECTDELETE_HPP