Exemple #1
0
 private void UpdateShowBoost(BoostStatus boost)
 {
     //IL_0046: Unknown result type (might be due to invalid IL or missing references)
     switch (boost.type)
     {
     case 1:
     case 2:
     case 3:
     case 201:
         SetColor((Enum)UI.LBL_BOOST_RATE, boostAnimator.GetRateColor(boost.value));
         SetLabelText((Enum)UI.LBL_BOOST_RATE, boost.GetBoostRateText());
         SetLabelText((Enum)UI.LBL_BOOST_TIME, boost.GetRemainTime());
         break;
     }
 }
 private void UpdateShowBoost(BoostStatus boost)
 {
     //IL_0055: Unknown result type (might be due to invalid IL or missing references)
     switch (boost.type)
     {
     case 1:
     case 2:
     case 3:
     case 201:
         boostRate.text  = boost.GetBoostRateText();
         boostRate.color = boostAnimator.GetRateColor(boost.value);
         boostTime.text  = boost.GetRemainTime();
         break;
     }
 }