LibDBLayers-1.0

This project is experimental.

This project is only experimental and may change drastically between now and when it comes out of experimental status. It may even be disapproved once that happens, worst-case.

Be forewarned before downloading anything from this project.

LibDBLayers-1.0 manages the SavedVariables of your addon.

  • Difference between LibDBLayers and AceDB:
    • No metatables. Settings for an object are flattened into a single table.
    • Settings can be shared per account (global), class, or spec (custom).
  • It offers support for defaults, and a layered hierarchy of settings.
  • It is designed to have verbose layered settings in your AddonOptionsDB which is only loaded and used when setting up defaults or changing options.
  • The layered settings are flattenned into single compact tables for each object in your AddonDB
  • Support for versioning
Normal use
  • Iterate through the character/spec setup and create create your objects and assign their flattened dbx from AddonDB.objects to them.
  • Dereference myObject: myObject.dbx.mySavedVariable1 etc.
First time use
  • The lod options of your mod gets loaded
  • AddonDB and AddonOptionsDB are created
  • Default settings for the current character are added.
Upgrade use
  • An obsolete version causes MyAddonOptions (+ any MyAddonPlugin1Options etc.) to load.
  • The new options are added (if possible)

Note this is still under development and currently guided by Grid2 needs.

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

Facts

Date created
25 Oct 2009
Categories
Last update
30 Oct 2009
Development stage
Alpha
Language
  • deDE
  • enUS
  • esES
  • esMX
  • frFR
  • koKR
  • ruRU
  • zhCN
  • zhTW
License
MIT License
Recent files
  • A: r3 for 3.2.0 on 30 Oct 2009
  • A: r2 for 3.2.0 on 25 Oct 2009

Authors

Relationships

Embedded library
CallbackHandler-1.0
LibStub