Sol

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.

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
01 Mar 2009
Categories
Last update
06 Feb 2010
Development stage
Release
Language
  • enUS
License
Creative Commons License By-Nc-Sa 3.0
Curse link
Sol
Reverse relationships
24
Recent files
  • R: v1.34 for 2.0.11.1872 on 06 Feb 2010
  • R: v1.33 for 2.0.11.1872 on 23 Nov 2009
  • R: v1.31 for 2.0.9.1848 on 28 Jul 2009
  • R: v1.29 for 1825 on 26 Jun 2009
  • R: v1.28 for 1825 on 09 Jun 2009

Authors