LibSharedAssets

  • 3 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
API/ 08 Jan 2009
LibSharedAssets Aiiane Aiiane 08 Jan 2009
Main Aiiane Aiiane 25 Jan 2009
Note: This is an embedded development library! Unless you're an addon author, you don't need to download it - it'll come packaged with any addon that actually uses it. LibSharedAssets is a framework to allow addons to use a collection of shared texture assets. Basic usage for developers is outlined here, while the API itself is documented here.
Using LibSharedAssets Aiiane Aiiane 08 Jan 2009
First, make sure both LibStub.lua and LibSharedAssets.lua are include in your own addon's <Files> section in the .mod (you'll want to copy them into your addon's folder, as well - it's fine to distribute them with your addon). Place them before the rest of your addon's files so that they'll be available when loading the other files. In your Lua file where you wish to use LibSharedAssets, get an instance of it like this: local LibSA = LibStub("LibSharedAssets") You can then use this LibSA...
  • 3 pages found