Implement selection chests for BP rewards.

This commit is contained in:
GanyusLeftHorn
2022-06-27 02:43:51 -07:00
committed by Melledy
parent 8104378b95
commit b0d19e54db
4 changed files with 97 additions and 20 deletions

View File

@@ -17,11 +17,12 @@ public class BattlePassRewardData extends GameResource {
@Override
public int getId() {
return this.level;
// Reward ID is a combination of index and level.
// We do this to get a unique ID.
return this.indexId * 100 + this.level;
}
@Override
public void onLoad() {
}
}