Dongle-Rift

1.9k Downloads

This is a minimalist addon framework, which provides saved variable profiles, addon submodules, and debug printing utilities.

Basic usage for creating an addon:

StarTip = Dongle:New("StarTip")

For creating basic saved variables.

local defaults = {
	profile = {
		mouse = true,
		x = 10,
		y = 10
	}
}
StarTip_SavedVariables = StarTip_SavedVariables or {}
StarTip.config = StarTip:InitializeDB(StarTip_SavedVariables, defaults)
StarTip.config = StarTip.config.profile