WoW LibArtifactData-1.0 addon Shadowlands/Burning Crusade Classic 2021
logo
wow addon LibArtifactData-1.0

LibArtifactData-1.0

Game Version: 8.0.1
Total Downloads: 202,004
Updated: Jul 26, 2018
Created: Jun 20, 2016
download LibArtifactData-1.0Download Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
2.0 release 12.58 KB Jul 26, 2018 8.0.1 23,499 download LibArtifactData-1.0 2.0 releaseDownload
1.6 release 15.72 KB Jun 24, 2018 7.3.5 20,615 download LibArtifactData-1.0 1.6 releaseDownload
1.5 release 15.72 KB Feb 27, 2018 7.3.5 21,034 download LibArtifactData-1.0 1.5 releaseDownload
1.4 release 15.79 KB Dec 10, 2017 7.3.0 20,955 download LibArtifactData-1.0 1.4 releaseDownload
1.3 release 13.55 KB Oct 1, 2017 7.3.0 21,353 download LibArtifactData-1.0 1.3 releaseDownload
1.2 release 12.97 KB Mar 30, 2017 7.2.0 33,294 download LibArtifactData-1.0 1.2 releaseDownload
1.1.1 release 12.62 KB Oct 28, 2016 7.1.0 35,110 download LibArtifactData-1.0 1.1.1 releaseDownload
1.1 release 12.78 KB Oct 5, 2016 7.0.3 11,769 download LibArtifactData-1.0 1.1 releaseDownload
1.0.1 release 12.72 KB Sep 8, 2016 7.0.3 7,752 download LibArtifactData-1.0 1.0.1 releaseDownload
1.0 release 13.82 KB Aug 14, 2016 7.0.3 2,843 download LibArtifactData-1.0 1.0 releaseDownload
1.2-beta beta 13.07 KB Mar 28, 2017 7.2.0 994 download LibArtifactData-1.0 1.2-beta betaDownload
beta-1 beta 13.55 KB Jun 30, 2016 7.0.3 170 download LibArtifactData-1.0 beta-1 betaDownload
a606911-alpha alpha 12.45 KB Dec 19, 2016 7.1.0 607 download LibArtifactData-1.0 a606911-alpha alphaDownload
1.1-1-ga9a24e4 alpha 12.53 KB Oct 28, 2016 7.1.0 58 download LibArtifactData-1.0 1.1-1-ga9a24e4 alphaDownload
1.0.1-3-g88b5a99 alpha 12.73 KB Oct 3, 2016 7.0.3 344 download LibArtifactData-1.0 1.0.1-3-g88b5a99 alphaDownload
1.0.1-2-gb8402b9 alpha 12.65 KB Sep 22, 2016 7.0.3 412 download LibArtifactData-1.0 1.0.1-2-gb8402b9 alphaDownload
1.0.1-1-g00e4753 alpha 12.52 KB Sep 12, 2016 7.0.3 323 download LibArtifactData-1.0 1.0.1-1-g00e4753 alphaDownload
1.0-5-g0beaa30 alpha 12.65 KB Sep 8, 2016 7.0.3 137 download LibArtifactData-1.0 1.0-5-g0beaa30 alphaDownload
1.0-4-g79b6b36 alpha 12.61 KB Sep 4, 2016 7.0.3 184 download LibArtifactData-1.0 1.0-4-g79b6b36 alphaDownload
beta-1-5-g2c21094 alpha 12.60 KB Aug 14, 2016 7.0.3 55 download LibArtifactData-1.0 beta-1-5-g2c21094 alphaDownload
beta-1-4-g40bb2af alpha 12.57 KB Jul 5, 2016 7.0.3 113 download LibArtifactData-1.0 beta-1-4-g40bb2af alphaDownload
beta-1-1-gc111509 alpha 12.30 KB Jun 30, 2016 7.0.3 44 download LibArtifactData-1.0 beta-1-1-gc111509 alphaDownload
r20160630125556 alpha 13.47 KB Jun 30, 2016 7.0.3 52 download LibArtifactData-1.0 r20160630125556 alphaDownload
r20160627234439 alpha 12.86 KB Jun 27, 2016 7.0.3 187 download LibArtifactData-1.0 r20160627234439 alphaDownload
r20160627233051 alpha 12.83 KB Jun 27, 2016 7.0.3 50 download LibArtifactData-1.0 r20160627233051 alphaDownload
r20160627230319 alpha 14.26 KB Jun 27, 2016 7.0.3 50 download LibArtifactData-1.0 r20160627230319 alphaDownload

Description

Share this:

Description

LibArtifactData-1.0 is a data store for addons that need the player's artifacts data. It has a simple API for data access and uses CallbackHandler-1.0 to propagate data changes.

Why to use

The stock UI provides much of the artifact data only when an artifact is viewed and only for that one artifact. If an addon requires that data prior to the player opening the Artifact UI, or for all artifacts at once, it has to unregister the events the UI uses (so that it doesn't tamper with other UI elements), simulate a shift-right click on the artifact, collect the data and then restore the default state. However this would make the ARTIFACTUPDATE event fire, upon which all addons listening to it will scan for data anew. This leads to duplicated efforts and possibly some pointless scans, since ARTIFACTUPDATE does not automatically mean that the data actually changed.

LibArtifactData-1.0 tries to leverage this behavior by keeping the data for all artifacts accessible all the time and informs interested addons about changes when they actually occur.

Limitations

Data about artifacts placed in the bank is not available until the player opens the bank. LibArtifactData-1.0 can detect such a case and inform addons that some of the data is missing.

Currently LibArtifactData-1.0 does not collect appearance data.

Feedback

If you have problems using the library, run into any issues or have a feature request, please use the issue tracker.

Further reading

  1. How to use
  2. API
  3. Events
  4. Data structure

Comments

Add a comment