#include "td/protocol/packets/UpdateLobbyTimePacket.h"

namespace td {
namespace protocol {

DataBuffer UpdateLobbyTimePacket::Serialize(bool packetID) const {
	DataBuffer data;

	WritePacketID(data, packetID);
	data << m_RemainingTime;
	return data;
}

void UpdateLobbyTimePacket::Deserialize(DataBuffer& data) {
	data >> m_RemainingTime;
}

} // namespace protocol
} // namespace td
