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
52 changes: 52 additions & 0 deletions api/src/main/java/eu/darkbot/api/managers/ReturneeAPI.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
package eu.darkbot.api.managers;

import eu.darkbot.api.API;

import java.util.List;

/**
* Provide access to Returnee data
*/
public interface ReturneeAPI extends API.Singleton {

/**
* @return if one time login reward is claimable
*/
boolean isLoginClaimable();

/**
* @return {@code List} of all Rewards for one time login claimable
*/
List<? extends LoginReward> getLoginRewardList();

/**
* Provide access to one time Reward data in Retunee window containing loot id and amount of the item
*/
interface LoginReward {
String getLootId();

double getAmount();
}

/**
* @return if daily calendar reward is claimable
*/
boolean isCalendarClaimable();

/**
* @return {@code List} of all Daily calendar rewards
*/
List<? extends CalendarReward> getCalendarRewardList();

/**
* Provide access to daily calendar reward data in Retunee window containing
* loot id and amount of the item, and if claimed
*/
interface CalendarReward {
String getLootId();

int getAmount();

boolean getClaimed();
}
}