Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: Seerah
Forum: Wiki 04/17/14, 04:17 PM
Replies: 22
Views: 57,240
Posted By Seerah
Yes, examples on the wiki should be the best...

Yes, examples on the wiki should be the best example possible. However, having a global variable is better than having no example. But if anyone wants to improve examples, they may - it's a wiki! ;)
Forum: Wiki 04/13/14, 12:00 PM
Replies: 22
Views: 57,240
Posted By Seerah
/sigh... RegisterForEvent is a method defined to...

/sigh...

RegisterForEvent is a method defined to the EVENT_MANAGER object. It takes three parameters, the unique identifier for the addon that wants to watch for the event, the event code to watch...
Forum: Wiki 04/12/14, 09:44 PM
Replies: 22
Views: 57,240
Posted By Seerah
I already explained the logic. What you quoted...

I already explained the logic. What you quoted was not the logic. :p
Forum: Wiki 04/12/14, 10:09 AM
Replies: 22
Views: 57,240
Posted By Seerah
Of course, anything passed through by the event...

Of course, anything passed through by the event handler goes straight to the function.

/edit: it works this same exact way in WoW, and no one through the 10 years of programming addons or writing...
Forum: Wiki 04/11/14, 07:17 PM
Replies: 22
Views: 57,240
Posted By Seerah
But the event code *isn't* a return from the...

But the event code *isn't* a return from the event. It's a return from the event handler, saying which event was fired. This is documented in the guides on the wiki. The event code should not be...
Showing results 1 to 5 of 5