Code format

This commit is contained in:
2025-05-04 14:32:03 +02:00
parent c0337ef97f
commit 93b45ac12e
3012 changed files with 8372 additions and 9301 deletions

View File

@@ -1,8 +1,8 @@
---@diagnostic disable: missing-return, lowercase-global
---@param item1Link string
---@param item2Link string
---@param returnTable table
---@return table statTable
---@param item1Link string
---@param item2Link string
---@param returnTable table
---@return table statTable
---Returns a summary of the difference in stat bonuses between two items. Keys in the table returned are the names of global variables containing the localized names of the stats (e.g. _G["ITEM_MOD_SPIRIT_SHORT"] = "Spirit", _G["ITEM_MOD_HIT_RATING_SHORT"] = "Hit Rating"). The optional argument returnTable allows for performance optimization in cases where this function is expected to be called repeatedly. Rather than creating new tables each time the function is called (eventually requiring garbage collection), an existing table can be recycled. (Note, however, that this function does not clear the table's contents; use wipe() first to guarantee consistent results.)
function GetItemStatDelta(item1Link, item2Link, returnTable) end
function GetItemStatDelta(item1Link, item2Link, returnTable) end