mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 20:49:56 +00:00
9643eb6026
Rename structure Server to QueryData
28 lines
665 B
C++
28 lines
665 B
C++
//
|
|
// Created by koncord on 22.04.17.
|
|
//
|
|
|
|
#ifndef OPENMW_PACKETMASTERUPDATE_HPP
|
|
#define OPENMW_PACKETMASTERUPDATE_HPP
|
|
|
|
#include "../Packets/BasePacket.hpp"
|
|
#include "MasterData.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProxyMasterPacket;
|
|
class PacketMasterUpdate : public BasePacket
|
|
{
|
|
friend class ProxyMasterPacket;
|
|
public:
|
|
PacketMasterUpdate(RakNet::RakPeerInterface *peer);
|
|
|
|
virtual void Packet(RakNet::BitStream *bs, bool send);
|
|
|
|
void SetServer(std::pair<RakNet::SystemAddress, QueryData> *serverPair);
|
|
private:
|
|
std::pair<RakNet::SystemAddress, QueryData> *server;
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PACKETMASTERUPDATE_HPP
|