openmw-tes3coop/components/openmw-mp/Master/PacketMasterQuery.hpp

29 lines
659 B
C++
Raw Normal View History

2017-04-23 05:36:47 +00:00
//
// Created by koncord on 22.04.17.
//
#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:
PacketMasterQuery(RakNet::RakPeerInterface *peer);
virtual void Packet(RakNet::BitStream *bs, bool send);
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