API GetSelectedArtifactInfo

Returns the information for the selected race's current artifact.

artifactName, artifactDescription, artifactRarity, artifactIcon, hoverDescription, keystoneCount, bgTexture, firstCompletionTime, completionCount = GetSelectedArtifactInfo;

Returns

 * artifactName : String - The name of the artifact.
 * artifactDescription : String - The description displayed on the artifact detail page. Only visible after completion for rare artifacts.
 * artifactRarity : Integer - The rarity of the artifact, 0 for Common and 1 for Rare.
 * artifactIcon : String - The path to the artifact's icon texture.
 * hoverDescription : String - The description shown in the tooltip when hovering over the completed artifact. Not visible before the artifact is completed.
 * keystoneCount : Integer - The number of Keystone slots this artifact has.
 * bgTexture : String - The path to the artifact's background texture. Only displayed when the artifact is rare.
 * firstCompletionTime : Integer - The first time the artifact was ever completed, in the same format as time.
 * completionCount : Integer - The number of times this artifact has been completed.

Details

 * The formatting used in the US client for the display of the firstCompletionTime tooltip is "%m/%d/%y %I:%M %p". You can view this formatting using the date function and the firstCompletionTime.

Also See

 * SetSelectedArtifact(raceIndex);


 * GetActiveArtifactByRace(raceIndex);
 * GetArtifactInfoByRace(raceIndex, artifactIndex);

ru:Справка:Статьи о функциях API/Предварительная загрузка