Skip to content

Commit cce1c89

Browse files
add returnee calendar manager to claim rewards
1 parent 53dd0cd commit cce1c89

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
package eu.darkbot.api.managers;
2+
3+
import eu.darkbot.api.API;
4+
5+
import java.util.List;
6+
7+
/**
8+
* Provide access to Returnee data
9+
*/
10+
public interface ReturneeAPI extends API.Singleton {
11+
12+
/**
13+
* @return if one time login reward is claimable
14+
*/
15+
boolean isLoginClaimable();
16+
17+
/**
18+
* @return {@code List} of all Rewards for one time login claimable
19+
*/
20+
List<? extends LoginRewardList> getLoginRewardList();
21+
22+
/**
23+
* Provide access to one time Reward data in Retunee window containing loot id and amount of the item
24+
*/
25+
interface LoginRewardList {
26+
String getLootId();
27+
28+
double getAmount();
29+
}
30+
31+
/**
32+
* @return if daily calendar reward is claimable
33+
*/
34+
boolean isCalendarClaimable();
35+
36+
/**
37+
* @return {@code List} of all Daily calendar rewards
38+
*/
39+
List<? extends CalendarRewardList> getCalendarRewardList();
40+
41+
/**
42+
* Provide access to daily calendar reward data in Retunee window containing
43+
* loot id and amount of the item, and if claimed
44+
*/
45+
interface CalendarRewardList {
46+
String getLootId();
47+
48+
int getAmount();
49+
50+
boolean getClaimed();
51+
}
52+
}

0 commit comments

Comments
 (0)