View Single Post
03/20/19, 04:05 PM   #16
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
Correct and to be more specific on event listeners: they aren't unique to the addon, but to the first parameter in the register. So if your addon is called "Something" and you make the listener "Banana": it'll still work. Furthermore, you can make multiple listeners for the same event in the same addon by naming them different things. In general, it's preferred if you only make one listener and that function would branch off into more functions with the data as necessary, but the concept is there.
  Reply With Quote