2019-09-01 05:30:03 +00:00
|
|
|
#ifndef OPENMW_PROCESSOROBJECTHIT_HPP
|
|
|
|
#define OPENMW_PROCESSOROBJECTHIT_HPP
|
|
|
|
|
|
|
|
#include "BaseObjectProcessor.hpp"
|
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
2019-10-24 19:16:17 +00:00
|
|
|
class ProcessorObjectHit final: public BaseObjectProcessor
|
2019-09-01 05:30:03 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessorObjectHit()
|
|
|
|
{
|
|
|
|
BPP_INIT(ID_OBJECT_HIT)
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
|
|
|
|
{
|
|
|
|
BaseObjectProcessor::Do(packet, objectList);
|
|
|
|
|
2020-06-06 20:11:16 +00:00
|
|
|
ptrCellStore = Main::get().getCellController()->getCellStore(objectList.cell);
|
|
|
|
|
|
|
|
if (!ptrCellStore) return;
|
|
|
|
|
2019-09-01 05:30:03 +00:00
|
|
|
//objectList.hitObjects(ptrCellStore);
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PROCESSOROBJECTHIT_HPP
|