forked from teamnwah/openmw-tes3coop
31 lines
612 B
C++
31 lines
612 B
C++
|
//
|
||
|
// Created by koncord on 18.04.17.
|
||
|
//
|
||
|
|
||
|
#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)
|
||
|
}
|
||
|
|
||
|
virtual void Do(WorldPacket &packet, WorldEvent &event)
|
||
|
{
|
||
|
BaseObjectProcessor::Do(packet, event);
|
||
|
|
||
|
event.setLocalFloats(ptrCellStore);
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif //OPENMW_PROCESSORSCRIPTLOCALFLOAT_HPP
|