View Single Post
09/25/23, 12:04 PM   #2
DakJaniels
AddOn Author - Click to view addons
Join Date: Mar 2021
Posts: 31
some feedback

If you don't need to offer the functions to the rest of the Global namespace, consider using local functions.

You are also calling LibAddonMenu2 from its global and not from the library.

Lua Code:
  1. local LAM = LibAddonMenu2
  2.  
  3. LAM :RegisterOptionControls(TamrielTrashCentre.name .. "_LibAddonMenu2", PanelData)

Code:
Filename | +New Global Line | New Global Name

TamrielTrashCentreSettings.lua
+       73 GetMarkerSettings
+       81 GetMarkerDefaults
+       89 GetTrashSettings
+       93 GetTrashDefaults
+      233 CheckIfTableAContainsB
+      250 GetTableLength
+      369 GetAmountTrackedSets
+      380 GetAmountUntrackedSets
+      391 CreateSettings
+      590 RGBA2HSVA
+      616 HSVA2RGBA

TamrielTrashCentreAutoTrash.lua
+      126 ZO_LinkHandler_OnLinkMouseUp
  Reply With Quote