use of fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_skillqueue in project JCELechat by guiguilechat.
the class Skills method makeTraining.
protected ObjHolder<R_get_characters_character_id_skillqueue> makeTraining() {
return getQueue().map(l -> {
LocalDateTime now = LocalDateTime.now();
R_get_characters_character_id_skillqueue ret = l.stream().filter(sq -> sq.finish_date != null && now.isBefore(ESITools.convertLocalDateTime(sq.finish_date))).findFirst().orElse(null);
if (ret == null) {
ret = new R_get_characters_character_id_skillqueue();
}
return ret;
}, null);
}
Aggregations