mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-12-04 09:50:08 +00:00
38 lines
960 B
Java
38 lines
960 B
Java
|
package emu.grasscutter.game.gacha;
|
||
|
|
||
|
public class PlayerGachaInfo {
|
||
|
private PlayerGachaBannerInfo standardBanner;
|
||
|
private PlayerGachaBannerInfo eventCharacterBanner;
|
||
|
private PlayerGachaBannerInfo eventWeaponBanner;
|
||
|
|
||
|
public PlayerGachaInfo() {
|
||
|
this.standardBanner = new PlayerGachaBannerInfo();
|
||
|
this.eventCharacterBanner = new PlayerGachaBannerInfo();
|
||
|
this.eventWeaponBanner = new PlayerGachaBannerInfo();
|
||
|
}
|
||
|
|
||
|
public PlayerGachaBannerInfo getStandardBanner() {
|
||
|
return standardBanner;
|
||
|
}
|
||
|
|
||
|
public PlayerGachaBannerInfo getEventCharacterBanner() {
|
||
|
return eventCharacterBanner;
|
||
|
}
|
||
|
|
||
|
public PlayerGachaBannerInfo getEventWeaponBanner() {
|
||
|
return eventWeaponBanner;
|
||
|
}
|
||
|
|
||
|
public PlayerGachaBannerInfo getBannerInfo(GachaBanner banner) {
|
||
|
switch (banner.getBannerType()) {
|
||
|
case EVENT:
|
||
|
return this.eventCharacterBanner;
|
||
|
case WEAPON:
|
||
|
return this.eventWeaponBanner;
|
||
|
case STANDARD:
|
||
|
default:
|
||
|
return this.standardBanner;
|
||
|
}
|
||
|
}
|
||
|
}
|