mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 02:49:55 +00:00
40 lines
628 B
C++
40 lines
628 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;
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_WORLDEVENT_HPP
|