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

LibBuilder-1.0

Game Version: 4.0.3a
Total Downloads: 795
Updated: Jan 1, 2011
Created: Dec 1, 2010
download LibBuilder-1.0Download Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
r43beta beta 4.81 KB Jan 1, 2011 4.0.3a 95 download LibBuilder-1.0 r43beta betaDownload
r29beta beta 3.69 KB Dec 21, 2010 4.0.3a 102 download LibBuilder-1.0 r29beta betaDownload
r25beta beta 3.71 KB Dec 21, 2010 4.0.3a 76 download LibBuilder-1.0 r25beta betaDownload
r20beta beta 2.79 KB Dec 20, 2010 4.0.3a 48 download LibBuilder-1.0 r20beta betaDownload
r16beta beta 2.76 KB Dec 17, 2010 4.0.3a 47 download LibBuilder-1.0 r16beta betaDownload
r44 alpha 6.62 KB Jan 1, 2011 4.0.3a 16 download LibBuilder-1.0 r44 alphaDownload
r43 alpha 6.63 KB Jan 1, 2011 4.0.3a 10 download LibBuilder-1.0 r43 alphaDownload
r41 alpha 6.48 KB Jan 1, 2011 4.0.3a 11 download LibBuilder-1.0 r41 alphaDownload
r40 alpha 11.06 KB Jan 1, 2011 4.0.3a 12 download LibBuilder-1.0 r40 alphaDownload
r39 alpha 6.21 KB Dec 26, 2010 4.0.3a 13 download LibBuilder-1.0 r39 alphaDownload
r38 alpha 5.93 KB Dec 25, 2010 4.0.3a 11 download LibBuilder-1.0 r38 alphaDownload
r37 alpha 5.99 KB Dec 25, 2010 4.0.3a 8 download LibBuilder-1.0 r37 alphaDownload
r36 alpha 5.58 KB Dec 22, 2010 4.0.3a 16 download LibBuilder-1.0 r36 alphaDownload
r34 alpha 5.58 KB Dec 22, 2010 4.0.3a 12 download LibBuilder-1.0 r34 alphaDownload
r33 alpha 5.58 KB Dec 22, 2010 4.0.3a 8 download LibBuilder-1.0 r33 alphaDownload
r32 alpha 5.54 KB Dec 22, 2010 4.0.3a 13 download LibBuilder-1.0 r32 alphaDownload
r31 alpha 5.36 KB Dec 22, 2010 4.0.3a 8 download LibBuilder-1.0 r31 alphaDownload
r30 alpha 5.37 KB Dec 22, 2010 4.0.3a 10 download LibBuilder-1.0 r30 alphaDownload
r29 alpha 5.33 KB Dec 21, 2010 4.0.3a 10 download LibBuilder-1.0 r29 alphaDownload
r28 alpha 5.31 KB Dec 21, 2010 4.0.3a 10 download LibBuilder-1.0 r28 alphaDownload
r27 alpha 5.23 KB Dec 21, 2010 4.0.3a 8 download LibBuilder-1.0 r27 alphaDownload
r26 alpha 5.16 KB Dec 21, 2010 4.0.3a 11 download LibBuilder-1.0 r26 alphaDownload
r25 alpha 5.11 KB Dec 21, 2010 4.0.3a 11 download LibBuilder-1.0 r25 alphaDownload
r24 alpha 5.08 KB Dec 21, 2010 4.0.3a 9 download LibBuilder-1.0 r24 alphaDownload
r23 alpha 5.00 KB Dec 21, 2010 4.0.3a 10 download LibBuilder-1.0 r23 alphaDownload
r22 alpha 4.69 KB Dec 20, 2010 4.0.3a 15 download LibBuilder-1.0 r22 alphaDownload
r21 alpha 4.44 KB Dec 20, 2010 4.0.3a 10 download LibBuilder-1.0 r21 alphaDownload
r20 alpha 3.87 KB Dec 20, 2010 4.0.3a 10 download LibBuilder-1.0 r20 alphaDownload
r19 alpha 3.85 KB Dec 20, 2010 4.0.3a 9 download LibBuilder-1.0 r19 alphaDownload
r18 alpha 3.64 KB Dec 19, 2010 4.0.3a 16 download LibBuilder-1.0 r18 alphaDownload
r16 alpha 3.48 KB Dec 17, 2010 4.0.3a 10 download LibBuilder-1.0 r16 alphaDownload
r15 alpha 3.44 KB Dec 17, 2010 4.0.3a 10 download LibBuilder-1.0 r15 alphaDownload
r14 alpha 3.18 KB Dec 17, 2010 4.0.3a 10 download LibBuilder-1.0 r14 alphaDownload
r13 alpha 3.13 KB Dec 17, 2010 4.0.3a 8 download LibBuilder-1.0 r13 alphaDownload
r10 alpha 2.98 KB Dec 17, 2010 4.0.3a 10 download LibBuilder-1.0 r10 alphaDownload
r9 alpha 2.42 KB Dec 17, 2010 4.0.3a 9 download LibBuilder-1.0 r9 alphaDownload
r8 alpha 2.36 KB Dec 15, 2010 4.0.3a 17 download LibBuilder-1.0 r8 alphaDownload
r7 alpha 1.80 KB Dec 5, 2010 4.0.3a 18 download LibBuilder-1.0 r7 alphaDownload
r6 alpha 1.75 KB Dec 1, 2010 4.0.3a 20 download LibBuilder-1.0 r6 alphaDownload
r3 alpha 5.29 KB Dec 1, 2010 4.0.3a 14 download LibBuilder-1.0 r3 alphaDownload
r2 alpha 5.25 KB Dec 1, 2010 4.0.3a 10 download LibBuilder-1.0 r2 alphaDownload
r1 alpha 1.24 KB Dec 1, 2010 4.0.3a 14 download LibBuilder-1.0 r1 alphaDownload

Description

Share this:

LibBuilder is a tool for building multiple-file libraries. It manages a "workspace" for libraries equivalent to the addon table that gets passed as an argument to every file in a standalone addon.

Although you could have a functional setup without using LibBuilder by setting a "loading" flag in the table LibStub passes your library if it should load, the main advantage of LibBuilder is that it automatically checks if you forgot to "close" the library (with LibBuilder you call CloseLib; with the alternate setup you'd clear the "loading" flag).

To create a new workspace, get a reference to LibBuilder from LibStub and call its :NewLib() method, providing your library's major and minor version. At the beginning of each file in your library, call the :GetLib() method to get the major version, minor version, and workspace. After completing your library, make sure to call :CloseLib() so that LibBuilder knows where your library ends and the next one begins (if another library uses LibBuilder).

Note that LibBuilder does not provide a built-in feature to tell if your library should load (ie. if it's already loaded as an embed from another addon); I suggest storing a "canLoad" field in your workspace and having each file check that before running.

Comments

Add a comment