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

LibAlts-1.0

Game Version: 7.1.0
Total Downloads: 111,190
Updated: Nov 27, 2016
Created: Oct 21, 2008
download LibAlts-1.0Download Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
2.0.1 +1 More release 8.09 KB Nov 27, 2016 7.1.0 5,656 download LibAlts-1.0 2.0.1

+1 More releaseDownload
2.0 +1 More release 8.28 KB Nov 29, 2011 4.3.0 34,765 download LibAlts-1.0 2.0

+1 More releaseDownload
1.9 +1 More release 8.29 KB Jun 28, 2011 4.2.0 10,930 download LibAlts-1.0 1.9

+1 More releaseDownload
1.8 +1 More release 8.29 KB Apr 26, 2011 4.0.6 10,270 download LibAlts-1.0 1.8

+1 More releaseDownload
1.7 +1 More release 8.40 KB Nov 3, 2010 4.0.1 23,196 download LibAlts-1.0 1.7

+1 More releaseDownload
1.6 +1 More release 8.76 KB Oct 13, 2010 4.0.1 8,510 download LibAlts-1.0 1.6

+1 More releaseDownload
1.5 +1 More release 8.72 KB Sep 29, 2010 4.0.1 +1 520 download LibAlts-1.0 1.5

+1 More releaseDownload
v1.7 +1 More release 7.57 KB Sep 21, 2010 4.0.1 +1 27 download LibAlts-1.0 v1.7

+1 More releaseDownload
v1.0.7 +1 More release 7.36 KB Sep 21, 2010 4.0.1 +1 27 download LibAlts-1.0 v1.0.7

+1 More releaseDownload
v1.0.7-nolib release 3.27 KB Sep 21, 2010 4.0.1 +1 22 download LibAlts-1.0 v1.0.7-nolib releaseDownload
1.4-nolib release 2.11 KB Sep 21, 2010 3.3.5 85 download LibAlts-1.0 1.4-nolib releaseDownload
1.3-nolib release 2.09 KB Sep 21, 2010 3.3.5 17 download LibAlts-1.0 1.3-nolib releaseDownload
1.2-nolib release 1.86 KB Sep 21, 2010 3.2.0 21 download LibAlts-1.0 1.2-nolib releaseDownload
1.1 +1 More release 6.16 KB Sep 21, 2010 3.1.0 30 download LibAlts-1.0 1.1

+1 More releaseDownload
v1.0.7-nolib release 3.27 KB Sep 21, 2010 4.0.1 +1 18 download LibAlts-1.0 v1.0.7-nolib releaseDownload
1.4-nolib release 2.19 KB Sep 21, 2010 3.3.5 36 download LibAlts-1.0 1.4-nolib releaseDownload
1.3-nolib release 2.04 KB Sep 21, 2010 3.3.5 19 download LibAlts-1.0 1.3-nolib releaseDownload
1.2-nolib release 1.81 KB Sep 21, 2010 3.2.0 19 download LibAlts-1.0 1.2-nolib releaseDownload
1.1-nolib release 1.81 KB Sep 21, 2010 3.1.0 21 download LibAlts-1.0 1.1-nolib releaseDownload
1.0-nolib release 1.80 KB Sep 21, 2010 3.0.9 22 download LibAlts-1.0 1.0-nolib releaseDownload
1.4 +1 More release 6.54 KB Aug 8, 2010 3.3.5 197 download LibAlts-1.0 1.4

+1 More releaseDownload
1.3 +1 More release 6.60 KB Dec 11, 2009 3.3.0 104 download LibAlts-1.0 1.3

+1 More releaseDownload
1.2 +1 More release 6.26 KB Aug 4, 2009 3.2.0 70 download LibAlts-1.0 1.2

+1 More releaseDownload
1.1 +1 More release 6.67 KB Apr 14, 2009 3.1.0 285 download LibAlts-1.0 1.1

+1 More releaseDownload
1.0 +1 More release 6.64 KB Feb 8, 2009 3.0.8 112 download LibAlts-1.0 1.0

+1 More releaseDownload
1.0b1 +1 More beta 5.89 KB Sep 21, 2010 3.0.9 96 download LibAlts-1.0 1.0b1

+1 More betaDownload
1.0b1 +1 More beta 6.38 KB Jan 31, 2009 3.0.8 45 download LibAlts-1.0 1.0b1

+1 More betaDownload
r49-alpha +1 More alpha 8.09 KB Nov 27, 2016 7.1.0 79 download LibAlts-1.0 r49-alpha

+1 More alphaDownload
r48-alpha +1 More alpha 7.81 KB Nov 27, 2016 7.1.0 32 download LibAlts-1.0 r48-alpha

+1 More alphaDownload
r46 +1 More alpha 8.24 KB Nov 29, 2011 4.3.0 51 download LibAlts-1.0 r46

+1 More alphaDownload
r43 +1 More alpha 7.66 KB Jun 28, 2011 4.2.0 22 download LibAlts-1.0 r43

+1 More alphaDownload
r44 +1 More alpha 8.24 KB Jun 28, 2011 4.2.0 96 download LibAlts-1.0 r44

+1 More alphaDownload
r42 +1 More alpha 8.24 KB Apr 26, 2011 4.0.6 100 download LibAlts-1.0 r42

+1 More alphaDownload
r40 +1 More alpha 8.35 KB Nov 2, 2010 4.0.1 48 download LibAlts-1.0 r40

+1 More alphaDownload
r39 +1 More alpha 8.33 KB Nov 2, 2010 4.0.1 38 download LibAlts-1.0 r39

+1 More alphaDownload
r37 +1 More alpha 8.72 KB Oct 11, 2010 4.0.1 51 download LibAlts-1.0 r37

+1 More alphaDownload
r35 +1 More alpha 8.69 KB Sep 29, 2010 4.0.1 +1 45 download LibAlts-1.0 r35

+1 More alphaDownload
r34 +1 More alpha 8.64 KB Sep 28, 2010 4.0.1 +1 45 download LibAlts-1.0 r34

+1 More alphaDownload
r33 +1 More alpha 8.60 KB Sep 28, 2010 4.0.1 +1 41 download LibAlts-1.0 r33

+1 More alphaDownload
r32 +1 More alpha 8.18 KB Sep 24, 2010 4.0.1 +1 52 download LibAlts-1.0 r32

+1 More alphaDownload
r31 +1 More alpha 7.84 KB Sep 24, 2010 4.0.1 +1 39 download LibAlts-1.0 r31

+1 More alphaDownload
r30 +1 More alpha 7.79 KB Sep 23, 2010 4.0.1 +1 38 download LibAlts-1.0 r30

+1 More alphaDownload
r42 +1 More alpha 7.91 KB Sep 23, 2010 4.0.1 +1 22 download LibAlts-1.0 r42

+1 More alphaDownload
r41 +1 More alpha 7.71 KB Sep 22, 2010 4.0.1 +1 21 download LibAlts-1.0 r41

+1 More alphaDownload
r40 +1 More alpha 7.67 KB Sep 21, 2010 4.0.1 +1 26 download LibAlts-1.0 r40

+1 More alphaDownload
r39 +1 More alpha 7.63 KB Sep 21, 2010 4.0.1 +1 13 download LibAlts-1.0 r39

+1 More alphaDownload
r38 +1 More alpha 7.62 KB Sep 21, 2010 4.0.1 +1 13 download LibAlts-1.0 r38

+1 More alphaDownload
r37 +1 More alpha 7.57 KB Sep 21, 2010 4.0.1 +1 13 download LibAlts-1.0 r37

+1 More alphaDownload
r29 +1 More alpha 6.64 KB Sep 21, 2010 4.0.1 +1 24 download LibAlts-1.0 r29

+1 More alphaDownload
r28 +1 More alpha 6.62 KB Sep 21, 2010 4.0.1 +1 20 download LibAlts-1.0 r28

+1 More alphaDownload
r27 +1 More alpha 6.57 KB Sep 21, 2010 4.0.1 +1 17 download LibAlts-1.0 r27

+1 More alphaDownload
r26 +1 More alpha 6.54 KB Sep 21, 2010 4.0.1 +1 24 download LibAlts-1.0 r26

+1 More alphaDownload
r27 +1 More alpha 7.53 KB Sep 21, 2010 4.0.1 +1 11 download LibAlts-1.0 r27

+1 More alphaDownload
r25 +1 More alpha 6.57 KB Sep 2, 2010 3.3.5 74 download LibAlts-1.0 r25

+1 More alphaDownload
r23 +1 More alpha 6.50 KB Apr 9, 2010 3.3.3 64 download LibAlts-1.0 r23

+1 More alphaDownload
r21 +1 More alpha 6.56 KB Dec 8, 2009 3.3.0 39 download LibAlts-1.0 r21

+1 More alphaDownload
r20 +1 More alpha 6.63 KB Sep 7, 2009 3.2.0 69 download LibAlts-1.0 r20

+1 More alphaDownload
r19 +1 More alpha 6.31 KB Sep 7, 2009 3.2.0 34 download LibAlts-1.0 r19

+1 More alphaDownload
r18 +1 More alpha 6.24 KB Aug 8, 2009 3.2.0 44 download LibAlts-1.0 r18

+1 More alphaDownload
r17 +1 More alpha 6.21 KB Aug 8, 2009 3.2.0 20 download LibAlts-1.0 r17

+1 More alphaDownload
r15 +1 More alpha 6.23 KB Aug 4, 2009 3.2.0 25 download LibAlts-1.0 r15

+1 More alphaDownload
r13 +1 More alpha 6.22 KB Apr 14, 2009 3.1.0 24 download LibAlts-1.0 r13

+1 More alphaDownload
r11 +1 More alpha 6.32 KB Feb 8, 2009 3.0.8 20 download LibAlts-1.0 r11

+1 More alphaDownload
r9 +1 More alpha 6.05 KB Jan 31, 2009 3.0.8 26 download LibAlts-1.0 r9

+1 More alphaDownload
r8 alpha 6.11 KB Oct 26, 2008 3.0.2 81 download LibAlts-1.0 r8 alphaDownload
r7 alpha 6.05 KB Oct 22, 2008 3.0.2 18 download LibAlts-1.0 r7 alphaDownload
r6 alpha 2.86 KB Oct 21, 2008 3.0.2 19 download LibAlts-1.0 r6 alphaDownload
r5 alpha 2.80 KB Oct 21, 2008 3.0.2 30 download LibAlts-1.0 r5 alphaDownload
r4 alpha 2.76 KB Oct 21, 2008 3.0.2 19 download LibAlts-1.0 r4 alphaDownload
r3 alpha 2.52 KB Oct 21, 2008 3.0.2 32 download LibAlts-1.0 r3 alphaDownload
r2 alpha 3.29 KB Oct 21, 2008 3.0.2 29 download LibAlts-1.0 r2 alphaDownload

Description

Share this:

Overview

LibAlts provides an API to register and retrieve alternate identity information between addons. It maintains main-alt relationships. A given character can be defined as a main with one or more alts.

Basic API

  • :SetAlt(main, alt, source) – Associate a main name with an alt name. An optional source can be specified. If no source is specified, it is added the user-defined source.
  • :GetAlts(main) – Get a list of alts for a given name.
  • :GetMain(alt) – Get the main character associated with a given name.
  • :GetAllMains() – Get a list of all main characters.
  • :IsMain(main) – Is the given name a main character.
  • :IsAlt(alt) – Is the given name an alternate character.
  • :DeleteAlt(main, alt, source) – Delete the main-alt relationship. An optional source can be specified. If no source is specified, it is deleted from the user-defined source.
  • :TitleCase(name) – Return the name in title case. The first letter is capitalized and the rest are lower case.

Sources

Sources are a way to differentiate the data entered into LibAlts. User-defined data will have no source (i.e., the source is nil). Sources provide a solution to problems such as automated guild imports. If the information pushed into LibAlts from guild notes is placed into the same area as user-defined notes, then re-importing it later is problematic. If the guild data has its own area, it is easy to wipe that data and re-import it.

When adding data from automated sources, the source name needs to be unique. As a convention, data added for a guild should have the GUILD_PREFIX constant prepended to the guild name returned from the GetGuildInfo() API call. Data from an addon should have the ADDON_PREFIX prepended to the addon name.

LibAlts will merge data from all sources when answering queries, unless you use one of the *ForSource functions that allows you to query a particular source.

  • :GetAltsForSource(main, source) – Get a list of alts for a given name for the given source.
  • :GetMainForSource(alt, source) – Get the main character associated with a given name for the given source.
  • :GetAllMains(source) – Get a list of all main characters for the given source.
  • :IsMainForSource(main, source) – Is the given name a main character.
  • :IsAltForSource(alt, source) – Is the given name an alternate character.
  • :RemoveSource(source) – Remove all data for the given source.
  • GUILD_PREFIX – A constant to prepend to source names for imported guild data.
  • ADDON_PREFIX – A constant to prepend to source names for addon automated data.

Callbacks

  • LibAlts_SetAlt – Fired after SetAlt() is called.
  • LibAlts_RemoveAlt – Fired after DelAlt() is called
  • LibAlts_RemoveSource – Fired after RemoveSource() is called.

LuaDoc: http://www.wowace.com/projects/libalts-1-0/pages/api/lib-alts-1-0/

Comments

Add a comment