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

namespace td {
namespace protocol {

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

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

void SelectTeamPacket::Deserialize(DataBuffer& data) {
	data >> m_SelectedTeam;
}

} // namespace protocol
} // namespace td
