Could someone give me the function layout for GetAddOnMemoryUsage and UpdateAddOnMemoryUsage? I am looking to print the memory usage with a slashcommand but can't find anything clear cut that calls both functions.
local function AddonMemory() UpdateAddOnMemoryUsage() local total = 0 for i=1, GetNumAddOns() do total = total + GetAddOnMemoryUsage(i) end print(total) end