ReforgeLite

82 - Enh: AddonLoader support (patch included)

What is the enhancement in mind? How should it look and feel?

ReforgeLite consumes a non-trivial amount of addon memory all the time (about 3MB). It would be nice to load the addon dynamically only when you open the reforging window, thus saving on load time and memory for the vast majority of sessions where you do not reforge.

This can be accomplished very easily using AddonLoader. All that's required for AddonLoader support is to add the following three lines to the headers in ReforgeLite.toc:

## LoadManagers: AddonLoader
## X-LoadOn-Events: FORGE_MASTER_OPENED
## X-LoadOn-FORGE_MASTER_OPENED: AddonLoader:LoadAddOn('ReforgeLite'); ReforgeLite:OnEvent('FORGE_MASTER_OPENED')
User When Change
oscarucb Jul 14, 2013 at 22:05 UTC Create

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

  • 2 comments
  • 2 comments

Facts

Last updated
Aug 18, 2013
Reported
Jul 14, 2013
Status
New - Issue has not had initial review yet.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees