Description
Sol is a library of useful functions and ways to get game data. It is intended to to help addon developers with common tasks.
See the API for details
Packages currently include
- Sol.animation
- Sol.chat
- Sol.color
- Sol.config
- Sol.hooks
- Sol.io
- Sol.math
- Sol.string
- Sol.timers
- Sol.table
- Sol.tooltip
- Sol.util
- Sol.data
- Sol.data.crafts
- Sol.data.frames
- Sol.data.items
- Sol.data.quests
- Sol.data.skills
To use Sol
- Include Sol.lua and LibStub.lua with your addon's files
- Add LibStub.lua followed by Sol.lua to your .toc, before any
files that use Sol
- Place this line at the top any files that use Sol:
local Sol = LibStub("Sol")
Example
File stucture
- MyAddon/Libs/LibStub.lua
- MyAddon/Libs/Sol.lua
- MyAddon/MyAddon.toc
- MyAddon/MyAddon.lua
- MyAddon/MyAddon.xml
MyAddon.toc
- Libs/LibStub.lua
- Libs/Sol.lua
- MyAddon.lua
- MyAddon.xml
MyAddon.lua
- local Sol = LibStub("Sol")
- ...
Sol takes inspiration from many other libraries. Its name is a play on the WoW Sea and Sky addons. However, at the moment I'm the sole developer. There are undoubtedly things that I've done suboptimally and many areas for expansion and optimization. I welcome any and all help with testing, maintaining, and adding to Sol.
------------------------------------------------------------------------
r60 | alleris2_0 | 2009-07-28 00:59:33 +0000 (Tue, 28 Jul 2009) | 1 line
Changed paths:
M /trunk/Sol.lua
Incremented version number
------------------------------------------------------------------------
r59 | alleris2_0 | 2009-07-15 08:19:02 +0000 (Wed, 15 Jul 2009) | 1 line
Changed paths:
M /trunk/Sol.lua
Can now hook tables that aren't frames (must specify an additional parameter - tableName)
------------------------------------------------------------------------
r58 | alleris2_0 | 2009-07-14 07:09:01 +0000 (Tue, 14 Jul 2009) | 2 lines
Changed paths:
M /trunk/Sol.lua
ParseItemData works with latest version
SaveFrameBounds no longer needs to be called every game session (as long as RestoreFrameBounds is called)
------------------------------------------------------------------------