"Event Handler Wrapper"?
I've just been browsing through the 1.10 discussion thread, shown here:
http://forums.worldofwarcraft.com/th...n&T=286547&P=8 On that page, Iriel and slouken discuss the passing of parameters to On- events (in XML): Quote:
|
By a wrapper, slouken was refering to an event dispatch system for your own AddOn. I believe Ace does something like this in that Ace AddOns register events with a dispatch system that is part of Ace instead of the with the default API. When an event fires the API passes the event to the wrapper which in turn passes the event to the OnEvent function.
|
acttually in ace's case we do something like this in the lua
self:Hook("function") and that will call the same named function thats part of your addon. |
Quote:
Okay then. Thank you very much. (I'll just go on faking Blizzard events as best I can. :) ) |
thea fun thing is you can simulate fake events and even trigger events using Ace's system
|
Quote:
|
All times are GMT -6. The time now is 07:02 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI