forked from teamnwah/openmw-tes3coop
45 lines
726 B
C++
45 lines
726 B
C++
#ifndef OPENMW_WORLDEVENT_HPP
|
|
#define OPENMW_WORLDEVENT_HPP
|
|
|
|
#include <components/esm/loadcell.hpp>
|
|
#include <components/esm/cellref.hpp>
|
|
#include <RakNetTypes.h>
|
|
|
|
namespace mwmp
|
|
{
|
|
class WorldEvent
|
|
{
|
|
public:
|
|
|
|
WorldEvent(RakNet::RakNetGUID guid) : guid(guid)
|
|
{
|
|
|
|
}
|
|
|
|
WorldEvent()
|
|
{
|
|
|
|
}
|
|
|
|
RakNet::RakNetGUID guid;
|
|
|
|
ESM::Cell cell;
|
|
ESM::CellRef cellRef;
|
|
|
|
ESM::Position pos;
|
|
|
|
int state;
|
|
int lockLevel;
|
|
float scale;
|
|
|
|
std::string video;
|
|
bool allowSkipping;
|
|
|
|
int index;
|
|
int shortVal;
|
|
float floatVal;
|
|
std::string globalName;
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_WORLDEVENT_HPP
|