openmw-tes3coop/apps/openmw/mwmp/processors/object/ProcessorObjectPlace.hpp

27 lines
553 B
C++
Raw Normal View History

2017-04-18 03:37:32 +00:00
#ifndef OPENMW_PROCESSOROBJECTPLACE_HPP
#define OPENMW_PROCESSOROBJECTPLACE_HPP
#include "BaseObjectProcessor.hpp"
namespace mwmp
{
class ProcessorObjectPlace : public BaseObjectProcessor
{
public:
ProcessorObjectPlace()
{
BPP_INIT(ID_OBJECT_PLACE)
}
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.placeObjects(ptrCellStore);
2017-04-18 03:37:32 +00:00
}
};
}
#endif //OPENMW_PROCESSOROBJECTPLACE_HPP