HearthDb is a .NET Hearthstone database.
HearthDb.Deckstrings.DeckSerializer can serialize decks from and to Hearthstones deck string format, used for importing/exporting decks.
See here for example usage.
Full deck strings documentation can be found here: https://hearthsim.info/docs/deckstrings/
HearthDb.Cards contains all card information of the CardDefs.xml, imported from the hsdata HearthSim project.
See here for example usage.
By default, HearthDb only loads locale data for enUS and zhCN. Additional language
data can be downloaded from api.hearthstonejson.com, e.g. https://api.hearthstonejson.com/v1/latest/CardDefs.deDE.xml and loaded at runtime via
HearthDb.Cards.LoadLocaleData(...).
If desired, all language data can be included by default by replacing the url in HearthDb.CardDefsDownloader with https://github.com/HearthSim/hsdata/blob/master/CardDefs.xml.
HearthDb.CardIds contains properly named constant for all cardIds existing in Hearthstone.
The CardIds.cs file is generated by HearthDb.CardIdLibGenerator.
See here for example usage.
HearthDb.Enums contains all the relevant Hearthstone enums.
The Enums.cs file is generated by HearthDb.EnumsGenerator.