Пример #1
0
 public static bool IsHavePetCanSkillLvUp()
 {
     using (Dictionary <long, PetInfo> .Enumerator enumerator = PetManager.Instance.MaplistPet.GetEnumerator())
     {
         while (enumerator.MoveNext())
         {
             KeyValuePair <long, PetInfo> current = enumerator.get_Current();
             int petId = current.get_Value().petId;
             if (PetEvoGlobal.IsSkillsCanLvUp(petId))
             {
                 return(true);
             }
         }
     }
     return(false);
 }
Пример #2
0
 public static bool IsCurrPetCanSkillLvUp()
 {
     return(PetEvoGlobal.IsSkillsCanLvUp(PetBasicUIViewModel.PetID));
 }