forked from teamnwah/openmw-tes3coop
27148ce9eb
Additionally, make it slightly clearer who created which previously existing packets.
25 lines
569 B
C++
25 lines
569 B
C++
#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
|