We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently I did not have a chance to set the language through Cards
Cards
static Cards() { var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("HearthDb.CardDefs.xml"); if(stream == null) return; using(TextReader tr = new StreamReader(stream)) { var xml = new XmlSerializer(typeof(CardDefs.CardDefs)); var cardDefs = (CardDefs.CardDefs)xml.Deserialize(tr); foreach(var entity in cardDefs.Entites) { var card = new Card(entity); All.Add(entity.CardId, card); if(card.Collectible && (card.Type != CardType.HERO || card.Set != CardSet.CORE && card.Set != CardSet.HERO_SKINS)) Collectible.Add(entity.CardId, card); } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently I did not have a chance to set the language through
Cards
The text was updated successfully, but these errors were encountered: