1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 20:19:56 +00:00
openmw-tes3mp/components/openmw-mp/Master/PacketMasterQuery.hpp

25 lines
637 B
C++
Raw Normal View History

2017-04-23 05:36:47 +00:00
#ifndef OPENMW_PACKETMASTERQUERY_HPP
#define OPENMW_PACKETMASTERQUERY_HPP
#include "../Packets/BasePacket.hpp"
#include "MasterData.hpp"
namespace mwmp
{
class ProxyMasterPacket;
class PacketMasterQuery : public BasePacket
{
friend class ProxyMasterPacket;
public:
explicit PacketMasterQuery(RakNet::RakPeerInterface *peer);
2017-04-23 05:36:47 +00:00
void Packet(RakNet::BitStream *newBitstream, bool send) override;
2017-04-23 05:36:47 +00:00
void SetServers(std::map<RakNet::SystemAddress, QueryData> *serverMap);
2017-04-23 05:36:47 +00:00
private:
std::map<RakNet::SystemAddress, QueryData> *servers;
2017-04-23 05:36:47 +00:00
};
}
#endif //OPENMW_PACKETMASTERQUERY_HPP