Thread Tools Display Modes
11/09/15, 06:57 AM   #1
CaptainBlagbird
 
CaptainBlagbird's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 53
Manually fire event

Is it possible to fire an event manually (not just one callback function) e.g. for testing, or are events handled internally in C/C++?
  Reply With Quote
11/09/15, 07:21 AM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
There is no such function. Best you can do is to find a situation ingame where this event fires and repeat that for your testing.
I asked for a "DebugFireEvent" function here a while ago.
  Reply With Quote
11/09/15, 08:17 AM   #3
CaptainBlagbird
 
CaptainBlagbird's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 53
I see. Sometimes it's quite tedious to "produce" or wait for the desired event(s). Especially for PvP/Group stuff if you only have one account and don't want to annoy your friends all the time
  Reply With Quote
11/09/15, 08:26 AM   #4
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
Yeah. I have asked so many people to help me with testing these events countless times...
It would be really great if we had a DebugFireEvents function. *nudge*
I am pretty sure other addon devs agree with me here that a DebugFireEvents function would be awesome. *nudge*
Maybe someone reads this and can add a DebugFireEvents function to the game? *nudge**nudge*
  Reply With Quote
11/09/15, 09:24 AM   #5
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
How many times I killed a guy in cyro "for a test" I also had some nices ninja cap of brindle resources .. don't know how many times I asked for a group, and degroup, and "a restack please" and I also the private addon which send jokes on my guild chan for my chat tests
  Reply With Quote
11/10/15, 06:36 AM   #6
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
Yeah. I have asked so many people to help me with testing these events countless times...
It would be really great if we had a DebugFireEvents function. *nudge*
I am pretty sure other addon devs agree with me here that a DebugFireEvents function would be awesome. *nudge*
Maybe someone reads this and can add a DebugFireEvents function to the game? *nudge**nudge*
BUMP :-)

It would be soooooo great if someone would implement this event debugging @ ZOS
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Manually fire event


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off