2017-05-29 01:43:52 +00:00
|
|
|
#ifndef OPENMW_PROCESSOROBJECTSPAWN_HPP
|
|
|
|
#define OPENMW_PROCESSOROBJECTSPAWN_HPP
|
|
|
|
|
|
|
|
#include "BaseObjectProcessor.hpp"
|
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
|
|
|
class ProcessorObjectSpawn : public BaseObjectProcessor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessorObjectSpawn()
|
|
|
|
{
|
|
|
|
BPP_INIT(ID_OBJECT_SPAWN)
|
|
|
|
}
|
|
|
|
|
2018-05-12 21:42:24 +00:00
|
|
|
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
|
2017-05-29 01:43:52 +00:00
|
|
|
{
|
2018-05-12 21:42:24 +00:00
|
|
|
BaseObjectProcessor::Do(packet, objectList);
|
2017-05-29 01:43:52 +00:00
|
|
|
|
2018-05-12 21:42:24 +00:00
|
|
|
objectList.spawnObjects(ptrCellStore);
|
2017-05-29 01:43:52 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PROCESSOROBJECTSPAWN_HPP
|