The API is really simple, but a bit more documenation is always helpful, so here goes:
Lua Code:
Nx.Notes:AddonNote(folder,name,icon,id,x,y)
- "folder" is your addon/sub-addon name, for filtering, e.g. "TimelessIsleTreasures"; all notes that belong together share the same folder name.
- "name" is the unique name of the note, e.g. "moss-covered chest 1". A second Note with the same name will overwrite the first one.
- "icon" is a number between 1 and 28 (search the NxNote.lua code for self.NoteIcons) - we can probably either add more icons or allow to introduce your own textures rather easily, by adding "or index" to line 157.
- "id" is the mapid of the zone your note should be displayed to; a look at Carbonite/Data/Zones.lua may be helpful in finding the correct id.
- "x" and "y" are rather self-explanatory.