openmw-tes3coop/apps/openmw/mwmp/processors/object/ProcessorScriptGlobalShort.hpp

24 lines
603 B
C++

#ifndef OPENMW_PROCESSORSCRIPTGLOBALSHORT_HPP
#define OPENMW_PROCESSORSCRIPTGLOBALSHORT_HPP
#include "../ObjectProcessor.hpp"
namespace mwmp
{
class ProcessorScriptGlobalShort : public ObjectProcessor
{
public:
ProcessorScriptGlobalShort()
{
BPP_INIT(ID_SCRIPT_GLOBAL_SHORT)
}
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
{
LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Received %s", strPacketID.c_str());
objectList.setGlobalShorts();
}
};
}
#endif //OPENMW_PROCESSORSCRIPTGLOBALSHORT_HPP