mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 09:32:45 +00:00
24 lines
454 B
C++
24 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
|