LibDBLayers-1.0

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
06 Feb 2010
Development stage
Release
Language
  • deDE
  • enUS
  • esES
  • esMX
  • frFR
  • koKR
  • ruRU
  • zhCN
  • zhTW
License
MIT License
Curse link
LibDBLayers-1.0
Recent files
  • A: r9 for 3.3.0 on 06 Feb 2010
  • R: 7 release for 3.2.0 on 06 Feb 2010
  • A: r7 for 3.2.0 on 06 Feb 2010
  • A: r6 for 3.2.0 on 26 Jan 2010
  • A: r5 for 3.2.0 on 24 Jan 2010

Authors

Relationships

Embedded library
CallbackHandler-1.0
LibStub