View Single Post
03/10/23, 04:53 AM   #4
sinnereso
AddOn Author - Click to view addons
Join Date: Oct 2022
Posts: 245
ok ive begun integrating it..
ive added to my manifest:

## OptionalDependsOn: LibCustomMenu>=680 <<< ive found this in another addon but no idea what the number means... line#?

and just starting throwing a function together with stuff till it makes sense to me

Code:
function MyAddon.SaveContext()
	if not LibCustomMenu then return end
	AddCustomMenuItem("Save to MyAddon", MyAddon.SavePlayer())
	--or
	lib:RegisterGuildRosterContextMenu(MyAddon.SavePlayer(), lib.CATEGORY_LATE, ...)
	return
end
i realize this is nowhere close to working as i haven't told it which menu and what to save.

Last edited by sinnereso : 03/10/23 at 05:13 AM.
  Reply With Quote