2016-10-20 11:28:19 +00:00
|
|
|
#ifndef OPENMW_WORLDEVENT_HPP
|
|
|
|
#define OPENMW_WORLDEVENT_HPP
|
|
|
|
|
2016-10-22 17:15:32 +00:00
|
|
|
#include <components/esm/loadcell.hpp>
|
2016-10-20 19:15:47 +00:00
|
|
|
#include <components/esm/cellref.hpp>
|
2016-10-20 11:28:19 +00:00
|
|
|
#include <RakNetTypes.h>
|
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
|
|
|
class WorldEvent
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
WorldEvent(RakNet::RakNetGUID guid) : guid(guid)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
WorldEvent()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
RakNet::RakNetGUID guid;
|
2016-10-22 15:44:13 +00:00
|
|
|
|
2016-10-22 17:09:13 +00:00
|
|
|
ESM::Cell cell;
|
2016-10-22 11:13:16 +00:00
|
|
|
ESM::CellRef cellRef;
|
2016-10-25 11:07:00 +00:00
|
|
|
|
|
|
|
ESM::Position pos;
|
2016-10-24 21:52:42 +00:00
|
|
|
|
2016-10-25 07:40:55 +00:00
|
|
|
int state;
|
2016-10-24 10:20:04 +00:00
|
|
|
int lockLevel;
|
2016-10-24 21:52:42 +00:00
|
|
|
float scale;
|
2016-10-24 14:52:19 +00:00
|
|
|
|
|
|
|
std::string video;
|
|
|
|
bool allowSkipping;
|
2016-10-26 09:25:50 +00:00
|
|
|
|
|
|
|
int index;
|
|
|
|
int shortVal;
|
|
|
|
float floatVal;
|
|
|
|
std::string globalName;
|
2016-10-20 11:28:19 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_WORLDEVENT_HPP
|