Implement weekly points for the battle pass

This commit is contained in:
Melledy
2022-06-24 07:34:24 -07:00
parent 5eb1d34b14
commit a16bc72101
3 changed files with 29 additions and 6 deletions

View File

@@ -35,6 +35,10 @@ public class BattlePassMissionData extends GameResource {
return this.getTriggerConfig().getTriggerType();
}
public boolean isCycleRefresh() {
return getRefreshType() == null || getRefreshType() == BattlePassMissionRefreshType.BATTLE_PASS_MISSION_REFRESH_CYCLE_CROSS_SCHEDULE;
}
public boolean isValidRefreshType() {
return getRefreshType() == null ||
getRefreshType() == BattlePassMissionRefreshType.BATTLE_PASS_MISSION_REFRESH_CYCLE_CROSS_SCHEDULE ||