mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 05:49:56 +00:00
27 lines
542 B
C++
27 lines
542 B
C++
#ifndef OPENMW_LOCALEVENT_HPP
|
|
#define OPENMW_LOCALEVENT_HPP
|
|
|
|
#include <components/openmw-mp/Base/WorldEvent.hpp>
|
|
#include "../mwworld/cellstore.hpp"
|
|
#include <RakNetTypes.h>
|
|
|
|
namespace mwmp
|
|
{
|
|
class Networking;
|
|
class LocalEvent : public WorldEvent
|
|
{
|
|
public:
|
|
|
|
LocalEvent(RakNet::RakNetGUID guid);
|
|
virtual ~LocalEvent();
|
|
|
|
void addCellRef(MWWorld::CellRef worldCellRef);
|
|
void addRefId(std::string refId);
|
|
|
|
private:
|
|
Networking *getNetworking();
|
|
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_LOCALEVENT_HPP
|