예제 #1
0
 public void NewArenaDeck(string heroId)
 {
     TempArenaDeck = new Deck
     {
         Name        = Helper.ParseDeckNameTemplate(Config.Instance.ArenaDeckNameTemplate),
         IsArenaDeck = true,
         Class       = Database.GetHeroNameFromId(heroId)
     };
     Logger.WriteLine("Created new arena deck: " + TempArenaDeck.Class);
 }
예제 #2
0
 public static string GetHeroNameFromId(string id, bool returnIdIfNotFound = true)
 {
     return(Database.GetHeroNameFromId(id, returnIdIfNotFound));
 }