Difference between revisions of "API GetArtifactProgress"

From Wowpedia
Jump to: navigation, search
m (→‎Also See: remove ru interwiki)
Tag: WoW API docs
 
Line 21: Line 21:
 
<big>'''Result'''</big>
 
<big>'''Result'''</big>
 
22 12 45
 
22 12 45
  +
  +
== Patch changes ==
  +
{{Patch 4.0.1|note=Added.}}
   
 
== Also See ==
 
== Also See ==

Latest revision as of 05:02, 14 February 2020

Returns information about current used fragments for the selected artifact.

numFragmentsCollected, numFragmentsAdded, numFragmentsRequired = GetArtifactProgress();

Returns

numFragmentsCollected 
Number - Number of collected fragments for selected artifact.
numFragmentsAdded 
Number - Number of fragments currently added through keystones for selected artifact.
numFragmentsRequired 
Number - Number of fragments required to solve the selected artifact.

Example

My selected Project requires 45 fragments, i have 22 fragments and a Keystone slot which i do not use. Result 22 0 45 The same project, this time the Keystone slot is used. Result 22 12 45

Patch changes

Cataclysm Patch 4.0.1 (2010-10-12): Added.


Also See

SetSelectedArtifact(raceIndex)