Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions api/src/main/java/eu/darkbot/api/managers/BonusCalendarAPI.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
package eu.darkbot.api.managers;

import eu.darkbot.api.API;

import java.util.List;

public interface BonusCalendarAPI extends API.Singleton {
/**
* @return number of days claimed
*/
int getDaysClaimed();

/**
* @return The {@code List} of all rewards from rewards list
*/
List<? extends Reward> getRewardList();

/**
* @return if reward is claimable for the day
*/
boolean isClaimable();


/**
* In game rewards loot representation, includes loot id, &amp; amount
*/
interface Reward {

/**
* @return in game variable name of reward
*/
String getLootId();

/**
* @return amount of reward
*/
int getAmount();

}
}