Æli76737 - legacy41592048 (talk | contribs) (Created page with "{{wowapi}} __NOTOC__ <!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> Returns information about current used fragments for the se...") |
Æli76737 - legacy41592048 (talk | contribs) No edit summary |
||
Line 22: | Line 22: | ||
22 12 45 |
22 12 45 |
||
⚫ | |||
− | <!-- If it helps, include example results here, though they are not required. You're allowed to cheat liberally since WoW isn't a command line language. --> |
||
+ | : [[API SetSelectedArtifact|SetSelectedArtifact]](raceIndex) |
||
− | The following functions are getting pointed to the current nightelf-project (raceIndex 4) |
||
− | |||
⚫ | |||
− | : [[API SocketItemToArtifact|SocketItemToArtifact]]() |
||
− | : [[API RemoveItemFromArtifact|RemoveItemFromArtifact]]() |
||
− | : [[API CanItemBeSocketedToArtifact|CanItemBeSocketedToArtifact]](itemID) |
||
− | : [[API GetActiveArtifactByRace|GetActiveArtifactByRace]](raceIndex) |
||
− | : [[API GetSelectedArtifactInfo|GetSelectedArtifactInfo]]() |
||
− | : [[API GetArtifactProgress|GetArtifactProgress]]() |
||
<noinclude>[[ru:Справка:Статьи о функциях API/Предварительная загрузка]]</noinclude> |
<noinclude>[[ru:Справка:Статьи о функциях API/Предварительная загрузка]]</noinclude> |
Revision as of 07:47, 3 March 2011
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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)
ru:Справка:Статьи о функциях API/Предварительная загрузка