mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 07:19:54 +00:00
25 lines
552 B
C++
25 lines
552 B
C++
#ifndef OPENMW_PROCESSOROBJECTSPAWN_HPP
|
|
#define OPENMW_PROCESSOROBJECTSPAWN_HPP
|
|
|
|
#include "BaseObjectProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorObjectSpawn : public BaseObjectProcessor
|
|
{
|
|
public:
|
|
ProcessorObjectSpawn()
|
|
{
|
|
BPP_INIT(ID_OBJECT_SPAWN)
|
|
}
|
|
|
|
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
|
|
{
|
|
BaseObjectProcessor::Do(packet, objectList);
|
|
|
|
objectList.spawnObjects(ptrCellStore);
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSOROBJECTSPAWN_HPP
|