2017-04-18 03:37:32 +00:00
|
|
|
#ifndef OPENMW_PROCESSORSCRIPTLOCALFLOAT_HPP
|
|
|
|
#define OPENMW_PROCESSORSCRIPTLOCALFLOAT_HPP
|
|
|
|
|
|
|
|
#include "BaseObjectProcessor.hpp"
|
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
|
|
|
class ProcessorScriptLocalFloat : public BaseObjectProcessor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessorScriptLocalFloat()
|
|
|
|
{
|
|
|
|
BPP_INIT(ID_SCRIPT_LOCAL_FLOAT)
|
|
|
|
}
|
|
|
|
|
2018-05-12 16:40:00 +00:00
|
|
|
virtual void Do(ObjectPacket &packet, WorldEvent &event)
|
2017-04-18 03:37:32 +00:00
|
|
|
{
|
|
|
|
BaseObjectProcessor::Do(packet, event);
|
|
|
|
|
|
|
|
event.setLocalFloats(ptrCellStore);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PROCESSORSCRIPTLOCALFLOAT_HPP
|