Back to Home
ESO Function Data v101038
SetValueFormatFunction()
Function Aliases
- No known aliases for this function.
Global Function Definitions
Local Function Definitions
- No known local definitions for this function.
Function Calls
- common/zo_uierrors/errorframe.lua:27 -- self.pageSpinner:SetValueFormatFunction(function(value)
local maxValue = self.pageSpinner:GetMax()
return zo_strformat(SI_UI_ERROR_PAGE_FORMATTER, value, maxValue)
end)
- ingame/crafting/smithingcreation_shared.lua:504 -- self.materialQuantitySpinner:SetValueFormatFunction(function(value)
if self.materialList then
local data = self.materialList:GetSelectedData()
if data then
local _, _, _, meetsRankRequirement = self:GetMaterialInformation(data)
local combination = data.combinations[value]
if combination.isChampionPoint then
if meetsRankRequirement then
return zo_strformat(SI_SMITHING_CREATED_CHAMPION_POINTS, ZO_GetChampionIconMarkupString("100%"), ZO_WHITE:Colorize(combination.createsItemOfLevel))
else
return ZO_ERROR_COLOR:Colorize(zo_strformat(SI_SMITHING_CREATED_CHAMPION_POINTS, ZO_GetChampionIconMarkupStringInheritColor("100%"), combination.createsItemOfLevel))
end
else
if meetsRankRequirement then
return zo_strformat(SI_SMITHING_CREATED_LEVEL, ZO_WHITE:Colorize(combination.createsItemOfLevel))
else
return ZO_ERROR_COLOR:Colorize(zo_strformat(SI_SMITHING_CREATED_LEVEL, combination.createsItemOfLevel))
end
end
end
end
end)