Back to Home
ESO Function Data v100036
SetCustomFactoryBehavior()
Function Aliases
- No known aliases for this function.
Global Function Definitions
Local Function Definitions
- No known local definitions for this function.
Function Calls
- ingame/achievements/keyboard/achievements.lua:1378 -- sharedCheckPool:SetCustomFactoryBehavior( function(checkControl)
checkControl.label = checkControl:GetNamedChild("Label")
end)
- ingame/achievements/keyboard/achievements.lua:1383 -- sharedStatusBarPool:SetCustomFactoryBehavior( function(statusBarControl)
statusBarControl:SetWidth(ACHIEVEMENT_STATUS_BAR_WIDTH)
statusBarControl.label = statusBarControl:GetNamedChild("Label")
statusBarControl.progress = statusBarControl:GetNamedChild("Progress")
ZO_StatusBar_SetGradientColor(statusBarControl, ZO_XP_BAR_GRADIENT_COLORS)
statusBarControl:GetNamedChild("BGLeft"):SetDrawLevel(2)
statusBarControl:GetNamedChild("BGRight"):SetDrawLevel(2)
statusBarControl:GetNamedChild("BGMiddle"):SetDrawLevel(2)
end)
- ingame/achievements/keyboard/achievements.lua:1397 -- sharedRewardIconPool:SetCustomFactoryBehavior( function(rewardIconControl)
rewardIconControl.label = rewardIconControl:GetNamedChild("Label")
rewardIconControl.icon = rewardIconControl:GetNamedChild("Icon")
end)
- ingame/achievements/keyboard/achievements.lua:1403 -- sharedLineThumbPool:SetCustomFactoryBehavior( function(thumbControl)
thumbControl.label = thumbControl:GetNamedChild("Label")
thumbControl.icon = thumbControl:GetNamedChild("Icon")
end)
- ingame/achievements/keyboard/achievements.lua:1566 -- self.summaryStatusBarPool:SetCustomFactoryBehavior( function(statusBarControl)
InitializeSummaryStatusBar(statusBarControl)
end)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:731 -- self.antiquitySetTileControlPool:SetCustomFactoryBehavior(function(control) control.owner:SetupAntiquityIconMetaPool(self.antiquityIconControlPool) end)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:735 -- self.scryableAntiquityTileControlPool:SetCustomFactoryBehavior(function(control) control.owner:SetupProgressIconMetaPool(self.progressIconControlPool) end)
- ingame/champion/champion.lua:95 -- self.starConfirmedTextureControlPool:SetCustomFactoryBehavior(function(control)
control.timeline = ANIMATION_MANAGER:CreateTimelineFromVirtual("ZO_ChampionStarConfirmAnimation", control)
end)
- ingame/chatsystem/sharedchatsystem.lua:1376 -- self.tabPool:SetCustomFactoryBehavior(TabFactoryFunc)
- ingame/crafting/gamepad/craftadvisor_gamepad.lua:18 -- self.questConditionControlPool:SetCustomFactoryBehavior(function(control)
control.iconTexture = control:GetNamedChild("Icon")
end)
- ingame/deathrecap/deathrecap.lua:112 -- self.attackPool:SetCustomFactoryBehavior(function(control)
control.timeline = ANIMATION_MANAGER:CreateTimelineFromVirtual("ZO_DeathRecapAttackAnimation")
local nestedTimeline = control.timeline:GetAnimationTimeline(1)
local iconTexture = control:GetNamedChild("Icon")
local textContainer = control:GetNamedChild("Text")
for i = ICON_ANIMATION_START_INDEX, ICON_ANIMATION_END_INDEX do
local animation = nestedTimeline:GetAnimation(i)
animation:SetAnimatedControl(iconTexture)
end
nestedTimeline:GetAnimation(TEXT_ANIMATION_INDEX):SetAnimatedControl(textContainer)
if not nestedTimeline.isKillingBlow then
for i = COUNT_ANIMATION_START_INDEX, COUNT_ANIMATION_END_INDEX do
local numAttackHitsContainer = control:GetNamedChild("NumAttackHits")
local animation = nestedTimeline:GetAnimation(i)
animation:SetAnimatedControl(numAttackHitsContainer)
end
end
end)
- ingame/guild/keyboard/zo_guildranks_keyboard.lua:109 -- self.headerPool:SetCustomFactoryBehavior(function(header)
for i = 1, header:GetNumChildren() do
local child = header:GetChild(i)
child:SetHandler("OnDragStart", ZO_GuildRankHeaderChild_OnDragStart)
end
header.OnMouseEnter = ZO_GuildRankHeader_OnMouseEnter
header.OnMouseExit = ZO_GuildRankHeader_OnMouseExit
header.OnMouseUp = ZO_GuildRankHeader_OnMouseUp
header.OnMouseDown = ZO_GuildRankHeader_OnMouseDown
ZO_IconHeader_SetMaxLines(header, 1)
ZO_IconHeader_SetAnimation(header, "RankHeaderAnimation")
end)
- ingame/map/worldmap.lua:1394 -- mapPins.pinFadeInAnimationPool:SetCustomFactoryBehavior(SetupTimeline)
- ingame/map/worldmapkeepsummary_shared.lua:61 -- self.rowPool:SetCustomFactoryBehavior(function(control)
control.allianceTexture = control:GetNamedChild("Alliance")
end)
- ingame/map/gamepad/worldmapzonestory_gamepad.lua:32 -- self.rowPool:SetCustomFactoryBehavior(function(control)
control.icon = control:GetNamedChild("Icon")
control.descriptorLabel = control:GetNamedChild("Descriptor")
control.progressLabel = control:GetNamedChild("ProgressLabel")
control.progressBar = control:GetNamedChild("ProgressBar")
end)
- ingame/retrait/retraitstation_reconstruct_dialogs.lua:98 -- costLinePool:SetCustomFactoryBehavior(SetupCostLineControl)
- ingame/zonestories/keyboard/zonestories_keyboard.lua:222 -- checkPool:SetCustomFactoryBehavior(function(checkControl)
checkControl.label = checkControl:GetNamedChild("Label")
end)
- ingame/zo_quest/questtimer.lua:48 -- self.timerPool:SetCustomFactoryBehavior(function(control)
control.label = control:GetNamedChild("Label")
control.time = control:GetNamedChild("Time")
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:162 -- self.bonusesControlPool:SetCustomFactoryBehavior(function(control)
control.iconTexture = control:GetNamedChild("Icon")
control.stackCountLabel = control.iconTexture:GetNamedChild("StackCount")
control.nameLabel = control:GetNamedChild("Name")
SetupControlStyleTemplating(control, "ZO_AntiquityDiggingRewardItem_Control")
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:203 -- self.setProgressionAntiquityIconPool:SetCustomFactoryBehavior(function(control)
control.iconTexture = control:GetNamedChild("Icon")
control.frameTexture = control:GetNamedChild("Frame")
control.bgTexture = control.frameTexture:GetNamedChild("BG")
control.fadeTimeline = ANIMATION_MANAGER:CreateTimelineFromVirtual("ZO_AntiquityDiggingFramedAntiquityIconFade", control)
control.fadeTimeline:SetHandler("OnStop", OnCompleteFireTrigger)
SetupControlStyleTemplating(control, "ZO_AntiquityDigging_FramedAntiquityIcon")
control.SetDisplayBehavior = SetAntiquityIconDisplayBehavior
end)
- internalingame/chapterupgrade/keyboard/chapterupgrade_keyboard.lua:31 -- self.prepurchaseRewardPool:SetCustomFactoryBehavior(OnRewardEntryCreated)
- internalingame/chapterupgrade/keyboard/chapterupgrade_keyboard.lua:32 -- self.editionRewardPool:SetCustomFactoryBehavior(OnRewardEntryCreated)
- internalingame/esoplusoffers/keyboard/esoplusoffers.lua:44 -- self.subscriptionBenefitLinePool:SetCustomFactoryBehavior(SetupSubscriptionBenefitLine)
- internalingame/marketannouncement/gamepad/marketannouncement_gamepad.lua:48 -- self.actionTileControlPoolMap[tileType]:SetCustomFactoryBehavior(FactoryFunction)
- libraries/globals/animation.lua:41 -- self.animationPool:SetCustomFactoryBehavior(function(animationTimeline)
animationTimeline:SetHandler("OnStop", function(timeline, completedPlaying)
if completedPlaying and timeline:IsPlayingBackward() then
local control = timeline:GetFirstAnimation():GetAnimatedControl()
self.controlToAnimationTimeline[control] = nil
local poolKey = self.animationTimelineToPoolKey[timeline]
self.animationPool:ReleaseObject(poolKey)
self.animationTimelineToPoolKey[timeline] = nil
end
end)
end)
- libraries/zo_parametricscrolllist/zo_parametricscrolllist.lua:162 -- dataTypeInfo.pool:SetCustomFactoryBehavior(function(control)
local headerControl = CreateControlFromVirtual(control:GetName().."Header", self.scrollControl, headerTemplateName)
--We create the control as a child of the scroll control, but the anchors are specified in relation to this control.
--We do this to have the header not inherit alpha from changing the control's alpha
for i = 0, 1 do
local isValid, point, relTo, relPoint, offsetX, offsetY = headerControl:GetAnchor(i)
if isValid then
headerControl:SetAnchor(point, control, relPoint, offsetX, offsetY)
end
end
control.headerControl = headerControl
end)
- libraries/zo_smoothslider/zo_smoothslider.lua:13 -- self.buttonPool:SetCustomFactoryBehavior(function(control)
control:SetDimensions(buttonWidth, buttonHeight)
control.object = self
end)
- libraries/zo_tooltip/zo_tooltip.lua:342 -- class.colorPool:SetCustomFactoryBehavior(function(control)
control.label = control:GetNamedChild("Label")
control.backdrop = control:GetNamedChild("Backdrop")
control.Reset = function()
control.label:SetText("")
control:SetColor(1, 1, 1, 1)
end
end)
- libraries/zo_tooltip/zo_tooltip.lua:355 -- class.statValuePairPool:SetCustomFactoryBehavior(function(control)
zo_mixin(control, ZO_TooltipStyledObject, ZO_TooltipStatValuePair)
end)
- libraries/zo_tooltip/zo_tooltip.lua:360 -- class.statValueSliderPool:SetCustomFactoryBehavior(function(control)
zo_mixin(control, ZO_TooltipStyledObject, ZO_TooltipStatValueSlider)
end)
- libraries/zo_tooltip/zo_tooltip.lua:365 -- class.sectionPool:SetCustomFactoryBehavior(function(control)
zo_mixin(control, ZO_TooltipStyledObject, ZO_TooltipSection)
end)
- libraries/zo_tooltip/zo_tooltip.lua:904 -- pool:SetCustomFactoryBehavior(function(control)
zo_mixin(control, ZO_TooltipStyledObject, ZO_TooltipStatusBar)
control:Initialize(self)
end)
- libraries/zo_tooltip/zo_tooltip.lua:924 -- pool:SetCustomFactoryBehavior(function(control)
zo_mixin(control, ZO_TooltipStyledObject, ZO_TooltipCustomControl)
control:Initialize(self)
end)
- libraries/zo_tree/zo_tree.lua:124 -- self.openAnimationPool:SetCustomFactoryBehavior(function(timeline)
timeline:SetHandler("OnStop", function(currentTimeline) self:OnOpenAnimationStopped(currentTimeline) end)
end)
- pregameandinternalingame/gamepad/esoplusmembershipinfodialog_gamepad.lua:32 -- self.benefitLinePool:SetCustomFactoryBehavior(SetupBenefitLine)
- publicallingames/antiquities/antiquityloredocument_manager.lua:113 -- widePool:SetCustomFactoryBehavior(function(control)
control.highlightAnimation = ANIMATION_MANAGER:CreateTimelineFromVirtual("ZO_AntiquityLoreDocument_HighlightAnimation", control)
end)
- publicallingames/antiquities/antiquityloredocument_manager.lua:163 -- standardPool:SetCustomFactoryBehavior(function(control)
control.highlightAnimation = ANIMATION_MANAGER:CreateTimelineFromVirtual("ZO_AntiquityLoreDocument_HighlightAnimation", control)
end)