Quantcast
Download
(7 Kb)
Download
Updated: 11/28/20 02:28 AM
Pictures
File Info
Compatibility:
Markarth (6.2.5)
Updated:11/28/20 02:28 AM
Created:11/17/20 07:13 AM
Monthly downloads:2,655
Total downloads:2,719
Favorites:8
MD5:
6.2.5
LibMultiAccountSets  Updated less than 3 days ago!
Version: 1.3.2
by: code65536 [More]
This is a library for tracking Item Set Collection progress across multiple accounts.


Dependencies

Required:
  • None

Recommended/Optional:

List of addons that can use this library

Advanced features for users

LibMultiAccountSets has a settings panel (requires LibAddonMenu), which can be accessed either by navigating your Addons settings, or by using the /lmas chat command.

Using this settings panel, users can share their data with friends by exporting and importing data sets. This feature is designed to facilitate trading gear between players.


For example, let's say that after exploring a zone, you acquired a number of set gear pieces. After binding the ones that you have not yet collected, you are left with some extras. Are any of your friends missing those pieces? If they had shared their LibMultiAccountSets set collection data with you, you can easily check, and using the Uncollected Set Items filter plugin for Advanced Filters (which makes use of this library), you can compose a mail and filter for those items that your friend doesn't have right there in the mail composition window!



For addon developers

Mirrored functions:

The following functions mirror their built-in counterparts, except with an account parameter. If account is nil, these functions will just pass the call to their built-in counterparts.
Code:
LibMultiAccountSets.GetNumItemSetCollectionSlotsUnlockedForAccount( account, itemSetId )
* Built-in counterpart: GetNumItemSetCollectionSlotsUnlocked

LibMultiAccountSets.IsItemSetCollectionSlotUnlockedForAccount( account, itemSetId, slot )
* Built-in counterpart: IsItemSetCollectionSlotUnlocked

LibMultiAccountSets.IsItemSetCollectionPieceUnlockedForAccount( account, pieceId )
* Built-in counterpart: IsItemSetCollectionPieceUnlocked

LibMultiAccountSets.GetItemReconstructionCurrencyOptionCostForAccount( account, itemSetId, currencyType )
* Built-in counterpart: GetItemReconstructionCurrencyOptionCost

Other functions:

Code:
LibMultiAccountSets.IsItemSetCollectionItemLinkUnlockedForAccount( account, itemLink )
* Return type: boolean

LibMultiAccountSets.GetAccountList( excludeCurrentAccount )
* Return type: table/array of strings

Callbacks: (LibMultiAccountSets 1.2 or later)

Event codes:
Code:
LibMultiAccountSets.EVENT_INITIALIZED
* Fired when LibMultiAccountSets has completed the initial scan of the current account's item set collection.

LibMultiAccountSets.EVENT_COLLECTION_UPDATED
* Fired when the item set collection data for the current account has been updated or when data for another account has been imported.
The functions for registration and unregistration mirror the syntax for the in-game RegisterForEvent and UnregisterForEvent:
Code:
LibMultiAccountSets.RegisterForCallback( name, eventCode, callback )
LibMultiAccountSets.UnregisterForCallback( name, eventCode )
* Return type: boolean
  • Version 1.3.2 (2020/11/28)
    • Outdated addons attempting to call a discontinued function will now fail gracefully instead of throwing a Lua error

  • Version 1.3.1 (2020/11/27)
    • The export function of the data sharing feature will now automatically select the export data text to facilitate copying to the clipboard

  • Version 1.3.0 (2020/11/25)
    • For addon developers: Added GetItemReconstructionCurrencyOptionCostForAccount
    • For addon developers: Removed AddAccountsCollectionStatusToTooltip

  • Version 1.2.0 (2020/11/21)
    • For addon developers: Addons using LibMultiAccountSets can now register for callbacks; see the LibMultiAccountSets web page for documentation

  • Version 1.1.0 (2020/11/18)
    • The export/import data sharing feature now includes a more robust check for data integrity; unfortunately, this required a change in the format of the exported data, and the exported data generated by LibMultiAccountSets version 1.0 is not compatible with version 1.1 and vice-versa, so two users who wish to share data with each other must both update to version 1.1
    • Added an option to change the colors of the account collection status text that can be added to item tooltips by addons using LibMultiAccountSets

  • Version 1.0.0 (2020/11/17)
    • Initial version
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Uploader
Date
1.3.1
7kB
code65536
11/27/20 07:22 AM
1.3.0
7kB
code65536
11/25/20 09:11 AM
1.2.0
7kB
code65536
11/21/20 04:06 AM
1.1.0
7kB
code65536
11/18/20 06:43 AM
1.0.0
6kB
code65536
11/17/20 07:20 AM


There have been no comments posted to this file.
Be the first to add one.



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.