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

namespace td {
namespace protocol {

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

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

void RemoveTowerPacket::Deserialize(DataBuffer& data) {
	data >> m_TowerID;
}

} // namespace protocol
} // namespace td
