1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-07 10:06:41 +00:00
openmw/apps/openmw/mwlua/eventqueue.hpp
2021-07-09 20:03:27 +02:00

23 lines
454 B
C++

#ifndef MWLUA_EVENTQUEUE_H
#define MWLUA_EVENTQUEUE_H
#include "object.hpp"
namespace MWLua
{
struct GlobalEvent
{
std::string eventName;
std::string eventData;
};
struct LocalEvent
{
ObjectId dest;
std::string eventName;
std::string eventData;
};
using GlobalEventQueue = std::vector<GlobalEvent>;
using LocalEventQueue = std::vector<LocalEvent>;
}
#endif // MWLUA_EVENTQUEUE_H