mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 20:19:56 +00:00
9643eb6026
Rename structure Server to QueryData
28 lines
659 B
C++
28 lines
659 B
C++
//
|
|
// 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);
|
|
private:
|
|
std::map<RakNet::SystemAddress, QueryData> *servers;
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PACKETMASTERQUERY_HPP
|