Difference between revisions of "API GetArtifactProgress"

From Wowpedia
Jump to: navigation, search
m (→‎Also See: remove ru interwiki)
Line 26: Line 26:
   
   
  +
<noinclude></noinclude>
<noinclude>[[ru:Справка:Статьи о функциях API/Предварительная загрузка]]</noinclude>
 

Revision as of 22:03, 10 September 2017

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

Also See

SetSelectedArtifact(raceIndex)