If your addon isn't using AceAddon, is it really that difficult to create a frame to listen for it? A frame only uses some 100 bytes of memory. Oh noes... 100 bytes.
Or *does* it? We know nothing of the memory use in C-space.
But yes, this is a good point. It takes a whopping two lines of code to make an AceEvent-ish event handler from scratch:
local f = CreateFrame("Frame")
f:SetScript("OnEvent", function(self, event, ...) if self[event] then self[event](self, event, ...) end end)
I set LDB as an emeded relationship in the web interface laster week. While it didn't imidiately show up on the page, it did after a few days. There where no changes to my .pkgmeta. The reltionship is there on the project page as well as the reverse from LDB project page.
So me thinks alot of this pkgmeta fkery is un-needed.
The project page listed relationship of the latest "default" package (the one that is available from curse.com), so either latest release or latest beta if no release package exists. In short, you should :
1) edit the project default relationships so future packages will get it.
2) edit the latest release/beta relationships so the project immediately get it.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Or *does* it? We know nothing of the memory use in C-space.
But yes, this is a good point. It takes a whopping two lines of code to make an AceEvent-ish event handler from scratch:
local f = CreateFrame("Frame")
f:SetScript("OnEvent", function(self, event, ...) if self[event] then self[event](self, event, ...) end end)
Off topic but you know I've been wondering, would it be better to make that use a tail call or leave it as is?
.. figures.
:P
I set LDB as an emeded relationship in the web interface laster week. While it didn't imidiately show up on the page, it did after a few days. There where no changes to my .pkgmeta. The reltionship is there on the project page as well as the reverse from LDB project page.
So me thinks alot of this pkgmeta fkery is un-needed.
1) edit the project default relationships so future packages will get it.
2) edit the latest release/beta relationships so the project immediately get it.