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