Esempio n. 1
0
 public static int GetCount(int tab, int index)
 {
     return(Talents.FirstOrDefault(t => t.Tab == tab && t.Index == index).Count);
 }
Esempio n. 2
0
 public static bool IsSelected(int index)
 {
     return(Talents.FirstOrDefault(t => t.Index == index).Selected);
 }
Esempio n. 3
0
 /// <summary>
 ///   Checks if we have the talent or not
 /// </summary>
 /// <param name = "index">The index in the Talent Pane from left to right.</param>
 /// <returns></returns>
 public static bool HasTalent(int index)
 {
     return(Talents.FirstOrDefault(t => t.Index == index).Count != 0);
 }