View Single Post
03/10/23, 08:28 AM   #7
sinnereso
AddOn Author - Click to view addons
Join Date: Oct 2022
Posts: 245
Based on your example ive got this in addon loaded and appears to work with the category setting which i assumed wasnt nessisary if it was the default setting. This code does progress to the "MyAddon.SavePlayerContext" function and run it. I guess what I dont fully understand now is am I to "addcustommeenuitem" etc myself now? What exactly is "libcustommenu" doing that I dont have to if it so super easy?

Code:
if LibCustomMenu ~= nil then
	local function func(rowData)
		   MyAddon.SavePlayerContext(rowData.displayName)
	end
        local category = LibCustomMenu.CATEGORY_LATE
	LibCustomMenu:RegisterGuildRosterContextMenu(MyAddon.SavePlayerContext, category)
end
seems more confusing not less to me.. im new at this so i like or even need to follow everystep

Last edited by sinnereso : 03/10/23 at 02:27 PM.
  Reply With Quote