openmw-tes3coop/components/openmw-mp/Base/WorldEvent.hpp
2016-10-20 22:15:47 +03:00

37 lines
508 B
C++

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