2017-04-02 21:46:46 +00:00
|
|
|
#ifndef OPENMW_PROCESSORSCRIPTGLOBALSHORT_HPP
|
|
|
|
#define OPENMW_PROCESSORSCRIPTGLOBALSHORT_HPP
|
|
|
|
|
2018-05-15 19:07:06 +00:00
|
|
|
#include "../ObjectProcessor.hpp"
|
2017-04-02 21:46:46 +00:00
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
2018-05-15 19:07:06 +00:00
|
|
|
class ProcessorScriptGlobalShort : public ObjectProcessor
|
2017-04-02 21:46:46 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessorScriptGlobalShort()
|
|
|
|
{
|
|
|
|
BPP_INIT(ID_SCRIPT_GLOBAL_SHORT)
|
|
|
|
}
|
2019-09-14 10:09:01 +00:00
|
|
|
|
|
|
|
void Do(ObjectPacket &packet, Player &player, BaseObjectList &objectList) override
|
|
|
|
{
|
|
|
|
LOG_MESSAGE_SIMPLE(TimedLog::LOG_INFO, "Received %s from %s", strPacketID.c_str(), player.npc.mName.c_str());
|
|
|
|
|
|
|
|
Script::Call<Script::CallbackIdentity("OnScriptGlobalShort")>(player.getId());
|
|
|
|
}
|
2017-04-02 21:46:46 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PROCESSORSCRIPTGLOBALSHORT_HPP
|