Class GachaBanner

java.lang.Object
emu.grasscutter.game.gacha.GachaBanner

public class GachaBanner extends Object
  • Constructor Details

    • GachaBanner

      public GachaBanner()
  • Method Details

    • onLoad

      public void onLoad()
    • getCost

      public ItemParamData getCost(int numRolls)
    • getCostItem

      @Deprecated public int getCostItem()
      Deprecated.
    • hasEpitomized

      public boolean hasEpitomized()
    • getWeight

      public int getWeight(int rarity, int pity)
    • getPoolBalanceWeight

      public int getPoolBalanceWeight(int rarity, int pity)
    • getEventChance

      public int getEventChance(int rarity)
    • toProto

      public GachaInfoOuterClass.GachaInfo toProto(Player player)
    • getGachaType

      public int getGachaType()
    • getScheduleId

      public int getScheduleId()
    • getSortId

      public int getSortId()
    • getPrefabPath

      public String getPrefabPath()
    • getPreviewPrefabPath

      public String getPreviewPrefabPath()
    • getTitlePath

      public String getTitlePath()
    • getBeginTime

      public int getBeginTime()
    • getEndTime

      public int getEndTime()
    • getGachaTimesLimit

      public int getGachaTimesLimit()
    • getRateUpItems4

      public int[] getRateUpItems4()
    • getRateUpItems5

      public int[] getRateUpItems5()
    • getBannerType

      public GachaBanner.BannerType getBannerType()
    • getFallbackItems3

      public int[] getFallbackItems3()
    • getFallbackItems4Pool1

      public int[] getFallbackItems4Pool1()
    • getFallbackItems4Pool2

      public int[] getFallbackItems4Pool2()
    • getFallbackItems5Pool1

      public int[] getFallbackItems5Pool1()
    • getFallbackItems5Pool2

      public int[] getFallbackItems5Pool2()
    • isRemoveC6FromPool

      public boolean isRemoveC6FromPool()
    • isAutoStripRateUpFromFallback

      public boolean isAutoStripRateUpFromFallback()
    • getWishMaxProgress

      public int getWishMaxProgress()
    • isDeprecated

      public boolean isDeprecated()
    • isDisabled

      public boolean isDisabled()