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

namespace td {
namespace protocol {

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

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

void UpdateGameStatePacket::Deserialize(DataBuffer& data) {
	data >> m_GameState;
}

} // namespace protocol
} // namespace td
