View Single Post
04/30/23, 02:33 PM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,996
Hm, the 1st param should always be the eventCode and last time I coded the event usage of was using it? Are you sure it's no local issue of your addon because you use the : notation in your addon without actually defining the past in front of the addon as real ZO_Object:SubClass?

If your part in front of the :is just s simple table, use the . notation and it should be fine with the parameters!

MyAddon.LootSetItemlink instead of :
If you would e. G. pass in MyAddon:OnEventItemLink (which was defined as this function name, with : )
MyAddon.OnEventItemLink at an EVENT_MANAGER:RegisterForEvent
Then the first param need to be MyAddon, else the param list is missplaced!

Last edited by Baertram : 04/30/23 at 02:37 PM.
  Reply With Quote