Download
(11 Kb)
Download
Updated: 10-24-11 09:04 AM
Updated:10-24-11 09:04 AM
Created:10-09-11 04:27 AM
Downloads:112
Favorites:0
MD5:
Dongle-Rift
Version: v1.2.1b
by: starlon [More]
This is a minimalist addon framework, which provides saved variable profiles, addon submodules, and debug printing utilities.

Basic usage for creating an addon:

Code:
StarTip = Dongle:New("StarTip")
For creating basic saved variables database.

Code:
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
:: Note that currently the profile mechanisms are broken. ::
v1.2.1b:
- * Make _G.Dongle. Use this instead of DongleStub. * Set a Version in toc.
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
v1.0b
10kB
starlon
10-09-11 04:27 AM


Post A Reply Comment Options
Unread 10-11-11, 02:57 AM  
starlon
Claw of Regulos
 
starlon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 24
Uploads: 8
Quote:
Originally posted by cladhaire
As the primary author of Dongle, I highly suggest you drop the inclusion of DongleStub and move it to LibStub. The changes required should be very minimal, but LibStub is a much more robust replacement for what DongleStub originally sought out to be.

Also, glad to see that people are finding our work useful!
I've rewritten LibStub to get rid of the minor version indicator. I'll upload it to Myr's LibStub on rift.curseforge.net just as soon as I install subversion. Just been lazy.

I honestly didn't give Dongle that close of an examination except to get the saved variables parts working, but I do know i need to figure something out for the Activate() functionality. Any suggestions are welcome.
starlon is offline Report comment to moderator  
Reply With Quote
Unread 10-10-11, 09:39 AM  
cladhaire

Forum posts: 0
File comments: 1
Uploads: 0
As the primary author of Dongle, I highly suggest you drop the inclusion of DongleStub and move it to LibStub. The changes required should be very minimal, but LibStub is a much more robust replacement for what DongleStub originally sought out to be.

Also, glad to see that people are finding our work useful!
cladhaire is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: