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

32 lines
580 B
C++
Raw Normal View History

2017-04-18 03:37:32 +00:00
//
// Created by koncord on 18.04.17.
//
#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(WorldPacket &packet, WorldEvent &event)
{
BaseObjectProcessor::Do(packet, event);
event.placeObjects(ptrCellStore);
}
};
}
#endif //OPENMW_PROCESSOROBJECTPLACE_HPP