2018-05-27 12:57:47 +00:00
|
|
|
#ifndef OPENMW_WORLDSTATE_HPP
|
|
|
|
#define OPENMW_WORLDSTATE_HPP
|
|
|
|
|
|
|
|
#include <components/openmw-mp/Base/BaseWorldstate.hpp>
|
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
|
|
|
class Networking;
|
|
|
|
class Worldstate : public BaseWorldstate
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
Worldstate();
|
|
|
|
virtual ~Worldstate();
|
|
|
|
|
2018-06-07 09:49:12 +00:00
|
|
|
void setMapExplored();
|
|
|
|
|
|
|
|
void sendMapExplored(int x, int y, const std::vector<char>& imageData);
|
|
|
|
|
2018-05-27 12:57:47 +00:00
|
|
|
private:
|
|
|
|
Networking *getNetworking();
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_WORLDSTATE_HPP
|