// // 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: explicit PacketMasterUpdate(RakNet::RakPeerInterface *peer); void Packet(RakNet::BitStream *bs, bool send) override; void SetServer(std::pair *serverPair); private: std::pair *server; }; } #endif //OPENMW_PACKETMASTERUPDATE_HPP