forked from mirror/openmw-tes3mp
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
653 B
C++
29 lines
653 B
C++
8 years ago
|
//
|
||
|
// 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, Server> *serverMap);
|
||
|
private:
|
||
|
std::map<RakNet::SystemAddress, Server> *servers;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif //OPENMW_PACKETMASTERQUERY_HPP
|