diff --git a/Annotations/Data/Wiki.lua b/Annotations/Data/Wiki.lua index 273abf7a..45cb7323 100644 --- a/Annotations/Data/Wiki.lua +++ b/Annotations/Data/Wiki.lua @@ -5488,8 +5488,10 @@ function GetInventorySlotInfo(invSlotName) end ---@return number itemLevel function GetInviteConfirmationInfo(guid) end ----#nopage ---[Documentation](https://warcraft.wiki.gg/wiki/API_GetItemLevelColor) +---@return number r +---@return number g +---@return number b function GetItemLevelColor() end ---#nopage diff --git a/Annotations/Interface/Blizzard_APIDocumentationGenerated/SharedTraitsDocumentation.lua b/Annotations/Interface/Blizzard_APIDocumentationGenerated/SharedTraitsDocumentation.lua index 12bcc3bb..48ba7df0 100644 --- a/Annotations/Interface/Blizzard_APIDocumentationGenerated/SharedTraitsDocumentation.lua +++ b/Annotations/Interface/Blizzard_APIDocumentationGenerated/SharedTraitsDocumentation.lua @@ -1,6 +1,14 @@ ---@meta _ C_Traits = {} +---Returns whether the player can make changes to the specified talent config. +--- +---[Documentation](https://warcraft.wiki.gg/wiki/API_C_Traits.CanEditConfig) +---@param configID number +---@return boolean canEdit +---@return string errorMessage +function C_Traits.CanEditConfig(configID) end + ---[Documentation](https://warcraft.wiki.gg/wiki/API_C_Traits.CanPurchaseRank) ---@param configID number ---@param nodeID number diff --git a/LuaScripts/WowDocLoader/Blizzard_APIDocumentationGenerated/SharedTraitsDocumentation.lua b/LuaScripts/WowDocLoader/Blizzard_APIDocumentationGenerated/SharedTraitsDocumentation.lua index e92f1893..7e4a02ec 100644 --- a/LuaScripts/WowDocLoader/Blizzard_APIDocumentationGenerated/SharedTraitsDocumentation.lua +++ b/LuaScripts/WowDocLoader/Blizzard_APIDocumentationGenerated/SharedTraitsDocumentation.lua @@ -6,6 +6,22 @@ local SharedTraits = Functions = { + { + Name = "CanEditConfig", + Type = "Function", + Documentation = { "Returns whether the player can make changes to the specified talent config." }, + + Arguments = + { + { Name = "configID", Type = "number", Nilable = false }, + }, + + Returns = + { + { Name = "canEdit", Type = "bool", Nilable = false }, + { Name = "errorMessage", Type = "cstring", Nilable = false, Documentation = { "If canEdit is false, this will be filled out with text explaining why the player can not make changes." } }, + }, + }, { Name = "CanPurchaseRank", Type = "Function",