Esempio n. 1
0
 // Token: 0x060008E2 RID: 2274 RVA: 0x000B6268 File Offset: 0x000B4468
 public byte GetRemainFreePlay(UIBattle_Gambling.eMode mod)
 {
     if (mod == UIBattle_Gambling.eMode.Normal)
     {
         return(GamblingManager.Instance.m_GambleGameInfo.GambleData[1].RemainFreePlay);
     }
     return(GamblingManager.Instance.m_GambleGameInfo.GambleData[0].RemainFreePlay);
 }
Esempio n. 2
0
    // Token: 0x060008E3 RID: 2275 RVA: 0x000B62B4 File Offset: 0x000B44B4
    public bool IsSpecialType(UIBattle_Gambling.eMode mod)
    {
        int num;

        if (mod == UIBattle_Gambling.eMode.Normal)
        {
            num = 1;
        }
        else
        {
            num = 0;
        }
        return(GamblingManager.Instance.m_GambleGameInfo.GambleData[num].Stage > 10);
    }
Esempio n. 3
0
 // Token: 0x060008E1 RID: 2273 RVA: 0x000B61A8 File Offset: 0x000B43A8
 public bool IsDailyFreeScardStar(UIBattle_Gambling.eMode mod)
 {
     if (mod == UIBattle_Gambling.eMode.Turbo)
     {
         bool flag = DataManager.Instance.CheckPrizeFlag(9);
         if (flag)
         {
             bool flag2 = DataManager.Instance.RoleAttr.DailyFreeScardStar == 1 || DataManager.Instance.RoleAttr.DailyFreeScardStar == 3;
             return(!flag2);
         }
         return(false);
     }
     else
     {
         bool flag3 = DataManager.Instance.CheckPrizeFlag(9);
         if (flag3)
         {
             return(DataManager.Instance.RoleAttr.DailyFreeScardStar == 0 && NewbieManager.IsTeachWorking(ETeachKind.GAMBLING1));
         }
         bool flag2 = DataManager.Instance.RoleAttr.DailyFreeScardStar == 2 || DataManager.Instance.RoleAttr.DailyFreeScardStar == 3;
         return(!flag2);
     }
 }