the chat context seems to be working perfectly but nomatter what I do i still get "table:000023908713BHS&HS" or similar from the rowdata for the guild context.
Also ive been digging for hours and there 0 info for friends list and group list context menus? are guild and chat my only options?
Im trying to convert everything into an @NAME in "playerName" so i can use 1 function to save to variable & display it in chat that its doing that.
Code:
if LibCustomMenu ~= nil then
local function func(rowData)
MyAddon.AddMenuContext(rowdata.displayName)
end
local function func(playerName, rawName)
MyAddon.AddMenuContext(playerName, rawName)
end
local category = LibCustomMenu.CATEGORY_LATE
LibCustomMenu:RegisterGuildRosterContextMenu(MyAddon.AddMenuContext, category)
LibCustomMenu:RegisterPlayerContextMenu(MyAddon.AddMenuContext, category)
end