Esempio n. 1
0
 /// <summary>
 /// Downloader for the Official Yu-Gi-Oh! database (http://www.db.yugioh-card.com/yugiohdb/).
 /// </summary>
 /// <param name="inputLanguage">The language of the name which passed into the Load method.</param>
 /// <param name="outputLanguage">The language of the downloaded cards.</param>
 /// <param name="loadProperties">Loads card properties (id, attribute, pendulum scale, level, atk, def, race, types).</param>
 public OfficialDatabase(DatabaseLanguage inputLanguage, DatabaseLanguage outputLanguage, bool loadProperties = true)
     : this(outputLanguage, loadProperties)
 {
     m_InputLanguage = Utility.HexToString(((int)inputLanguage).ToString("x"));
 }
Esempio n. 2
0
 /// <summary>
 /// Downloader for the Yu-Gi-Oh! Wikia database (http://yugioh.wikia.com/wiki/Yu-Gi-Oh!_Wikia).
 /// </summary>
 /// <param name="outputLanguage">The language of the downloaded cards.</param>
 /// <param name="loadProperties">Loads card properties (id, attribute, pendulum scale, level, atk, def, race, types).</param>
 public WikiaDatabase(DatabaseLanguage outputLanguage, bool loadProperties = true)
     : this(loadProperties)
 {
     this.m_OutputLanguage = Utility.HexToString(((int)outputLanguage).ToString("x"));
 }