RSS

Четверг, 14.11.2024, 19:08
Главная » WoW API » API Функции » Профессия Археология »

GetSelectedArtifactInfo

[ править ]
Returns information about the currently selected artifact.
[клоны]
Returns information about the currently selected artifact. Works even if the archeology panel is closed. Artifacts have specific information as well as information specific to the spell casted when creating the artifact. Common artifacts share the same description throughout the same race.

Signature:
Code
name, description, rarity, icon, spellDescription, numSockets, bgTexture = GetSelectedArtifactInfo()

Returns:
  • name - Name of the artifact (string)
  • description - Description of the artifact (string)
  • rarity - Rarity of the artifact (0 for common, 1 for rare) (number)
  • icon - Path to the icon of the spell for the artifact (string)
  • spellDescription - Description of the spell for the artifact (string)
  • numSockets - Number of sockets usable to create the artifact (number)
  • bgTexture - Path to the background texture for the artifact (string)

Также смотрите: Профессия Археология , Archaeology profession functions
Ссылки: http://wowprogramming.com/docs/api/GetSelectedArtifactInfo