1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-29 09:32:45 +00:00
OpenMW/apps/openmw/mwlua/eventqueue.hpp

24 lines
454 B
C++
Raw Normal View History

2020-12-18 23:21:10 +01:00
#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