Search in sources :

Example 11 with ObjectItem

use of delta.games.lotro.common.objects.ObjectItem in project lotro-tools by dmorcellet.

the class LotroWikiDeedCategoryPageParser method resolveItemRewards.

private void resolveItemRewards(DeedDescription deed) {
    Rewards rewards = deed.getRewards();
    ObjectsSet objects = rewards.getObjects();
    int nbItems = objects.getNbObjectItems();
    for (int i = 0; i < nbItems; i++) {
        ObjectItem objectItem = objects.getItem(i);
        resolveItem(objectItem);
    }
}
Also used : ObjectItem(delta.games.lotro.common.objects.ObjectItem) Rewards(delta.games.lotro.common.Rewards) ObjectsSet(delta.games.lotro.common.objects.ObjectsSet)

Aggregations

ObjectItem (delta.games.lotro.common.objects.ObjectItem)11 ObjectsSet (delta.games.lotro.common.objects.ObjectsSet)6 Rewards (delta.games.lotro.common.Rewards)4 Item (delta.games.lotro.lore.items.Item)4 DeedDescription (delta.games.lotro.lore.deeds.DeedDescription)2 DeedProxy (delta.games.lotro.lore.deeds.DeedProxy)2 ReputationItem (delta.games.lotro.common.ReputationItem)1 Title (delta.games.lotro.common.Title)1 Virtue (delta.games.lotro.common.Virtue)1 VirtueId (delta.games.lotro.common.VirtueId)1 Faction (delta.games.lotro.lore.reputation.Faction)1 ArrayList (java.util.ArrayList)1 Element (net.htmlparser.jericho.Element)1 TextExtractor (net.htmlparser.jericho.TextExtractor)1