1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 04:49:54 +00:00
openmw-tes3mp/components/openmw-mp/Base/WorldEvent.hpp

38 lines
508 B
C++
Raw Normal View History

#ifndef OPENMW_WORLDEVENT_HPP
#define OPENMW_WORLDEVENT_HPP
2016-10-20 19:15:47 +00:00
#include <components/esm/cellref.hpp>
#include <RakNetTypes.h>
namespace mwmp
{
class WorldEvent
{
public:
WorldEvent(RakNet::RakNetGUID guid) : guid(guid)
{
}
WorldEvent()
{
}
2016-10-20 19:15:47 +00:00
virtual ESM::CellRef *CellRef()
{
return &ref;
}
RakNet::RakNetGUID guid;
2016-10-20 19:15:47 +00:00
protected:
ESM::CellRef ref;
};
}
#endif //OPENMW_WORLDEVENT_HPP