/* * Copyright (C) 2022 NotEnoughUpdates contributors * * This file is part of NotEnoughUpdates. * * NotEnoughUpdates is free software: you can redistribute it * and/or modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later version. * * NotEnoughUpdates is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with NotEnoughUpdates. If not, see . */ package io.github.moulberry.notenoughupdates.miscgui.minionhelper; import java.util.List; import java.util.Map; public class ApiData { private final Map highestCollectionTier; private final Map slayerTiers; private final int magesReputation; private final int barbariansReputation; private final boolean collectionApiDisabled; private final List craftedMinions; private int peltCount; public ApiData( Map highestCollectionTier, Map slayerTiers, int magesReputation, int barbariansReputation, boolean collectionApiDisabled, List craftedMinions, int peltCount ) { this.highestCollectionTier = highestCollectionTier; this.slayerTiers = slayerTiers; this.magesReputation = magesReputation; this.barbariansReputation = barbariansReputation; this.collectionApiDisabled = collectionApiDisabled; this.craftedMinions = craftedMinions; this.peltCount = peltCount; } public Map getHighestCollectionTier() { return highestCollectionTier; } public Map getSlayerTiers() { return slayerTiers; } public int getMagesReputation() { return magesReputation; } public int getBarbariansReputation() { return barbariansReputation; } public boolean isCollectionApiDisabled() { return collectionApiDisabled; } public List getCraftedMinions() { return craftedMinions; } public int getPeltCount() { return peltCount; } public void setPeltCount(int peltCount) { this.peltCount = peltCount; } }