@Override
	public void readFromData(DataIn dataIn) throws IOException {
		int i = dataIn.readInt();

		classes = new ArrayList<>();
		while(i > 0) {
			try {
				@SuppressWarnings("unchecked")
				Class<? extends APacket> clazz = (Class<? extends APacket>) Class.forName(dataIn.readUTF());
				classes.add(clazz);
			} catch(ClassNotFoundException e) {
				e.printStackTrace();
			}
			i--;
		}
	}