Back to Home
ESO Function Data v101038
RegisterCallback()
Function Aliases
- No known aliases for this function.
Global Function Definitions
Local Function Definitions
- No known local definitions for this function.
Function Calls
- common/gamepad/zo_gamepadparametricscrolllistscreen.lua:273 -- scene:RegisterCallback("StateChange", self.onStateChangedCallback)
- common/gamepad/zo_gamepadparametricscrolllistscreen.lua:295 -- sceneGroup:RegisterCallback("StateChange", self.onStateChangedCallback)
- common/gamepad/zo_gamepadparametricscrolllistscreen.lua:320 -- parentFragment:RegisterCallback("StateChange", self.onStateChangedCallback)
- common/rzchroma/rzchroma_templates.lua:155 -- callbackManager:RegisterCallback("OnUpdate", self.onUpdate)
- common/zo_colorpicker/keyboard/zo_colorpicker_keyboard.lua:23 -- self.redSpinner:RegisterCallback("OnValueChanged", function(value)
SetColorFromSpinner(value / 255, self.greenSpinner:GetValue() / 255, self.blueSpinner:GetValue() / 255, self.alphaSpinner:GetValue() / 255)
end)
- common/zo_colorpicker/keyboard/zo_colorpicker_keyboard.lua:29 -- self.greenSpinner:RegisterCallback("OnValueChanged", function(value)
SetColorFromSpinner(self.redSpinner:GetValue() / 255, value / 255, self.blueSpinner:GetValue() / 255, self.alphaSpinner:GetValue() / 255)
end)
- common/zo_colorpicker/keyboard/zo_colorpicker_keyboard.lua:35 -- self.blueSpinner:RegisterCallback("OnValueChanged", function(value)
SetColorFromSpinner(self.redSpinner:GetValue() / 255, self.greenSpinner:GetValue() / 255, value / 255, self.alphaSpinner:GetValue() / 255)
end)
- common/zo_colorpicker/keyboard/zo_colorpicker_keyboard.lua:41 -- self.alphaSpinner:RegisterCallback("OnValueChanged", function(value)
SetColorFromSpinner(self.redSpinner:GetValue() / 255, self.greenSpinner:GetValue() / 255, self.blueSpinner:GetValue() / 255, value / 255)
end)
- common/zo_uierrors/errorframe.lua:32 -- self.pageSpinner:RegisterCallback("OnValueChanged", function(newValue)
self:RefreshPageSpinner()
--If we are currently displaying the error frame, set the currently viewed error to the new value
if self.displayingError then
self:SetCurrentError(newValue)
end
end)
- ingame/achievements/keyboard/achievements.lua:1065 -- self.scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.refreshGroups:UpdateRefreshGroups()
self.queuedScrollToAchievement = nil
if self.queuedShowAchievement then
if not self:ShowAchievement(self.queuedShowAchievement) then
self.queuedScrollToAchievement = nil
end
end
ACHIEVEMENTS_MANAGER:SetSearchString(self.contentSearchEditBox:GetText())
elseif newState == SCENE_SHOWN then
if self.achievementsById and self.achievementsById[self.queuedScrollToAchievement] then
ZO_Scroll_ScrollControlIntoCentralView(self.contentList, self.achievementsById[self.queuedScrollToAchievement]:GetControl())
end
elseif newState == SCENE_HIDING then
ClearTooltip(InformationTooltip)
end
end)
- ingame/achievements/keyboard/achievements.lua:1228 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, OnLinkClicked, self)
- ingame/achievements/keyboard/achievements.lua:1229 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_MOUSE_UP_EVENT, OnLinkClicked, self)
- ingame/achievements/keyboard/achievements.lua:1239 -- ACHIEVEMENTS_MANAGER:RegisterCallback("UpdateSearchResults", OnUpdateSearchResults)
- ingame/actionbar/actionbar.lua:569 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", OnCollectionUpdated)
- ingame/antiquities/antiquitydatamanager.lua:59 -- SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", OnSkillsUpdated)
- ingame/antiquities/antiquitydatamanager.lua:60 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineAdded", OnSkillsUpdated)
- ingame/antiquities/antiquitydatamanager.lua:61 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineRankUpdated", OnSkillsUpdated)
- ingame/antiquities/antiquitydatamanager.lua:62 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillProgressionUpdated", OnSkillsUpdated)
- ingame/antiquities/antiquitymanager.lua:60 -- SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", OnContentLockChanged)
- ingame/antiquities/antiquitymanager.lua:71 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineAdded", OnSkillLineUpdated)
- ingame/antiquities/antiquitymanager.lua:72 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineRankUpdated", OnSkillLineUpdated)
- ingame/antiquities/antiquitymanager.lua:82 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", OnCollectibleUpdated)
- ingame/antiquities/antiquitymanager.lua:94 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", OnCollectionUpdated)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:202 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("AntiquitiesUpdated", OnDataUpdated)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:203 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityUpdated", OnDataUpdated)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:204 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityDigSitesUpdated", OnDataUpdated)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:205 -- ANTIQUITY_MANAGER:RegisterCallback("OnContentLockChanged", OnDataUpdated)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:216 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityLeadAcquired", OnSingleAntiquityLeadUpdated)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:217 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityNewLeadCleared", OnSingleAntiquityLeadUpdated)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:689 -- self.fragment:RegisterCallback("StateChange", OnStateChanged)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:1647 -- control.antiquitiesScrollList:RegisterCallback("SelectedDataChanged", function(...) self:OnAntiquitySetFragmentSelectionChanged(...) end )
- ingame/antiquities/gamepad/antiquitylore_gamepad.lua:67 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("AntiquitiesUpdated", OnAntiquitiesUpdated)
- ingame/antiquities/gamepad/antiquitylore_gamepad.lua:68 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityUpdated", OnAntiquitiesUpdated)
- ingame/antiquities/gamepad/antiquitylore_gamepad.lua:69 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityDigSitesUpdated", OnAntiquitiesUpdated)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:829 -- self.scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
ANTIQUITY_DATA_MANAGER:SetSearch(self.contentSearchEditBox:GetText())
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
TriggerTutorial(TUTORIAL_TRIGGER_ANTIQUITY_JOURNAL_OPENED)
self.refreshGroups:RefreshAll("AntiquitiesUpdated")
elseif newState == SCENE_HIDING then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:855 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("AntiquitiesUpdated", OnAntiquitiesUpdated)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:856 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityUpdated", OnAntiquitiesUpdated)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:857 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityDigSitesUpdated", OnAntiquitiesUpdated)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:858 -- ANTIQUITY_MANAGER:RegisterCallback("OnContentLockChanged", OnAntiquitiesUpdated)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:863 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityLeadAcquired", OnSingleAntiquityLeadUpdated)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:864 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityNewLeadCleared", OnSingleAntiquityLeadUpdated)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:883 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("UpdateSearchResults", OnUpdateSearchResults)
- ingame/antiquities/keyboard/antiquitylore_keyboard.lua:152 -- self.scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_HIDING then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
ANTIQUITY_LORE_READER_KEYBOARD:Reset()
end
end)
- ingame/antiquitydigging/antiquitydigging.lua:142 -- ANTIQUITY_DIGGING_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.isGameOver = false
self:RefreshInputModeFragments()
control:RegisterForEvent(EVENT_ANTIQUITY_DIGGING_READY_TO_PLAY, function() self:OnAntiquityDiggingReadyToPlay() end)
elseif newState == SCENE_HIDING then
control:SetHandler("OnUpdate", nil)
elseif newState == SCENE_HIDDEN then
self:HideMoreInfo()
control:UnregisterForEvent(EVENT_ANTIQUITY_DIGGING_READY_TO_PLAY)
self.keybindContainerTimeline:PlayInstantlyToStart()
self.meterContainerTimeline:PlayInstantlyToStart()
self.durabilityUnitFrame:SetHasTarget(false)
end
end)
- ingame/antiquitydigging/antiquitydigging.lua:225 -- CALLBACK_MANAGER:RegisterCallback("UnitFramesCreated", function()
--This anchor does nothing. It's controlled by the keyboard and gamepad XML templates
local ANCHOR = ZO_Anchor:New(TOP, GuiRoot, TOP, 0, 0)
self.durabilityUnitFrame = UNIT_FRAMES:CreateFrame("durability", ANCHOR, ZO_UNIT_FRAME_BAR_TEXT_MODE_HIDDEN, "ZO_TargetUnitFrame", "ZO_AntiquityDurabilityFrame")
self.durabilityUnitFrameControl = self.durabilityUnitFrame:GetPrimaryControl()
self.durabilityUnitFrameControl:SetParent(self.meterContainer)
self.durabilityUnitFrame.UpdateName = function(unitFrame)
if unitFrame.nameLabel then
local antiquityId = GetDigSpotAntiquityId()
if antiquityId ~= 0 then
local antiquityData = ANTIQUITY_DATA_MANAGER:GetAntiquityData(antiquityId)
local antiquityName = antiquityData:GetColorizedFormattedName()
unitFrame.nameLabel:SetText(antiquityName)
end
end
end
self.durabilityUnitFrame.GetHealth = function(unitFrame)
return GetDigSpotDurability()
end
self.durabilityUnitFrame.healthBar.UpdateText = function(unitFrame, updateBarType, updateValue)
if unitFrame.resourceNumbersLabel then
unitFrame.resourceNumbersLabel:SetText(ZO_FormatResourceBarCurrentAndMax(unitFrame.currentValue, unitFrame.maxValue, RESOURCE_NUMBERS_SETTING_NUMBER_ONLY))
end
end
end)
- ingame/armory/gamepad/armorybuildchampion_gamepad.lua:21 -- ARMORY_BUILD_CHAMPION_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/armory/gamepad/armorybuildoverview_gamepad.lua:7 -- ZO_GAMEPAD_ARMORY_BUILD_OVERVIEW_FRAGMENT:RegisterCallback("StateChange",
function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
end
end)
- ingame/armory/gamepad/armorybuildskills_gamepad.lua:21 -- ARMORY_BUILD_SKILLS_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/armory/gamepad/armory_gamepad.lua:15 -- ARMORY_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.mode = ARMORY_OVERVIEW_MODE
self.selectedBuildData = nil
self:SetCurrentList(self.buildList)
self:RefreshList()
self:SetActiveKeybinds(self.buildKeybindStripDescriptor)
-- Since always defaulting to the overview mode, refresh the list before getting the target data.
local targetData = self.buildList:GetTargetData()
self:RefreshTargetTooltip(list, targetData)
elseif newState == SCENE_FRAGMENT_SHOWN then
TriggerTutorial(TUTORIAL_TRIGGER_ARMORY_OPENED)
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:ResetTooltips()
end
end)
- ingame/armory/gamepad/armory_gamepad.lua:67 -- ZO_ARMORY_MANAGER:RegisterCallback("BuildOperationCompleted", function()
if ARMORY_GAMEPAD_FRAGMENT:IsShowing() then
self:RefreshList()
end
end)
- ingame/armory/gamepad/armory_gamepad.lua:73 -- ZO_ARMORY_MANAGER:RegisterCallback("BuildListUpdated", function()
if ARMORY_GAMEPAD_FRAGMENT:IsShowing() then
self:RefreshList()
end
end)
- ingame/armory/keyboard/armory_keyboard.lua:26 -- ARMORY_KEYBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self:RefreshBuilds()
elseif newState == SCENE_FRAGMENT_SHOWN then
TriggerTutorial(TUTORIAL_TRIGGER_ARMORY_OPENED)
elseif newState == SCENE_FRAGMENT_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/armory/keyboard/armory_keyboard.lua:49 -- ZO_ARMORY_MANAGER:RegisterCallback("BuildOperationStarted", function()
if ARMORY_KEYBOARD_FRAGMENT:IsShowing() then
KEYBIND_STRIP:UpdateKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/armory/keyboard/armory_keyboard.lua:55 -- ZO_ARMORY_MANAGER:RegisterCallback("BuildOperationCompleted", function()
if ARMORY_KEYBOARD_FRAGMENT:IsShowing() then
self:RefreshBuilds()
end
end)
- ingame/armory/keyboard/armory_keyboard.lua:61 -- ZO_ARMORY_MANAGER:RegisterCallback("BuildListUpdated", function()
if ARMORY_KEYBOARD_FRAGMENT:IsShowing() then
self:RefreshBuilds()
end
end)
- ingame/banking/gamepad/bankingcommon_gamepad.lua:448 -- self.selector:RegisterCallback("OnValueChanged", function() self:UpdateInput(self.selector:GetValue()) end)
- ingame/banking/gamepad/banking_gamepad.lua:205 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", function(...) self:OnCollectibleUpdated(...) end)
- ingame/banking/gamepad/banking_gamepad.lua:207 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", function(bagId, slotIndex) self:OnInventorySlotUpdated(bagId, slotIndex) end)
- ingame/banking/gamepad/banking_gamepad.lua:283 -- withdrawListFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
-- Context changes on show depending on if it's the player bank or a house bank
withdrawList:SetSearchContext(self.searchContext)
elseif newState == SCENE_FRAGMENT_SHOWN then
local list = self:GetCurrentList()
list:RefreshList()
--The parametric list screen does not call OnTargetChanged when changing the current list which means anything that updates off of the current
--selection is out of date. So we run OnTargetChanged when a list shows to remedy this.
self:OnTargetChanged(list, self:GetTargetData())
end
end)
- ingame/banking/gamepad/banking_gamepad.lua:304 -- depositListFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
-- Context changes on show depending on if it's the player bank or a house bank
depositList:SetSearchContext(self.searchContext)
elseif newState == SCENE_FRAGMENT_SHOWN then
local list = self:GetCurrentList()
list:RefreshList()
--The parametric list screen does not call OnTargetChanged when changing the current list which means anything that updates off of the current
--selection is out of date. So we run OnTargetChanged when a list shows to remedy this.
self:OnTargetChanged(self:GetCurrentList(), self:GetTargetData())
end
end)
- ingame/banking/gamepad/banking_gamepad.lua:324 -- currenciesFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:SetTextSearchEntryHidden(true)
--The parametric list screen does not call OnTargetChanged when changing the current list which means anything that updates off of the current
--selection is out of date. So we run OnTargetChanged when a list shows to remedy this.
self:OnTargetChanged(self:GetCurrentList(), self:GetTargetData())
self:RefreshCurrenciesList()
elseif newState == SCENE_FRAGMENT_HIDING then
self:SetTextSearchEntryHidden(false)
end
end)
- ingame/banking/gamepad/banking_gamepad.lua:809 -- GAMEPAD_BUY_BANK_SPACE_SCENE:RegisterCallback("StateChange", StateChanged)
- ingame/battleground/battlegroundscoreboard.lua:104 -- self:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
if self.dirty then
self:UpdateAll()
end
SCREEN_NARRATION_MANAGER:QueueCustomEntry(self.customNarrationObjectName)
end
end)
- ingame/battleground/battlegroundscoreboardendofgame.lua:28 -- BATTLEGROUND_SCOREBOARD_END_OF_GAME_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnShowing()
elseif newState == SCENE_HIDING then
self:OnHiding()
end
end)
- ingame/battleground/battlegroundscoreboardingame.lua:20 -- BATTLEGROUND_SCOREBOARD_IN_GAME_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnShowing()
elseif newState == SCENE_HIDDEN then
self:OnHidden()
end
end)
- ingame/buffdebuff/buffdebuff.lua:307 -- CALLBACK_MANAGER:RegisterCallback("TargetFrameCreated", OnTargetFrameCreated)
- ingame/campaign/campaignbonuses.lua:21 -- CAMPAIGN_BONUSES_FRAGMENT:RegisterCallback("StateChange", OnStateChange)
- ingame/campaign/campaignbrowser.lua:37 -- CAMPAIGN_BROWSER_MANAGER:RegisterCallback("OnCampaignDataUpdated", function() self:OnCampaignSelectionDataChanged() end)
- ingame/campaign/campaignbrowser.lua:38 -- CAMPAIGN_BROWSER_MANAGER:RegisterCallback("OnCampaignQueueStateUpdated", function(_, campaignData) self:OnCampaignQueueStateUpdated(campaignData) end)
- ingame/campaign/campaignbrowser.lua:51 -- CAMPAIGN_BROWSER_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
QueryCampaignSelectionData()
self:SelectAssignedCampainRulesetNode()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/campaign/campaignemperor.lua:27 -- CAMPAIGN_EMPEROR_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
QueryCampaignLeaderboardData(self.listAlliance)
self:RefreshData()
self:RefreshEmperor()
end
end)
- ingame/campaign/campaignoverview.lua:8 -- CAMPAIGN_OVERVIEW_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
manager:ChangeCategory(manager.overviewType)
end
end)
- ingame/campaign/campaignscoring.lua:7 -- CAMPAIGN_SCORING_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
manager.shown = true
QueryCampaignLeaderboardData(ALLIANCE_NONE)
manager:UpdateRewardTier()
manager:UpdateScores()
elseif newState == SCENE_FRAGMENT_HIDDEN then
manager.shown = false
end
end)
- ingame/campaign/campaignselector.lua:41 -- CAMPAIGN_SELECTOR_FRAGMENT:RegisterCallback("StateChange", function(oldState, state)
if state == SCENE_FRAGMENT_SHOWING or state == SCENE_FRAGMENT_HIDDEN then
self.dataRegistration:Refresh()
end
end)
- ingame/campaign/gamepad/campaignbonuses_gamepad.lua:25 -- CAMPAIGN_BONUSES_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
self:RegisterForEvents()
self:UpdateBonuses()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:UnregisterForEvents()
self:Deactivate()
end
end)
- ingame/campaign/gamepad/campaignbrowser_gamepad.lua:290 -- CAMPAIGN_BROWSER_MANAGER:RegisterCallback("OnCampaignDataUpdated", function() self:Update() end)
- ingame/campaign/gamepad/campaignbrowser_gamepad.lua:291 -- CAMPAIGN_BROWSER_MANAGER:RegisterCallback("OnCampaignQueueStateUpdated", function()
self:Update()
KEYBIND_STRIP:UpdateCurrentKeybindButtonGroups()
end)
- ingame/campaign/gamepad/campaignemperor_gamepad.lua:76 -- CAMPAIGN_EMPEROR_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
self:QueryLeaderboardData(ALLIANCE_ALDMERI_DOMINION, ALLIANCE_DAGGERFALL_COVENANT, ALLIANCE_EBONHEART_PACT)
self:RefreshData()
self:RefreshEmperor()
self:SetDirectionalInputEnabled(true)
local localPlayerEntry = self:GetLocalPlayerLeaderboardEntry()
if localPlayerEntry and not self:CanLeaderboardCharacterBecomeEmperor(localPlayerEntry) then
GAMEPAD_TOOLTIPS:ClearTooltip(GAMEPAD_RIGHT_TOOLTIP)
GAMEPAD_TOOLTIPS:LayoutTextBlockTooltip(GAMEPAD_RIGHT_TOOLTIP, GetString(SI_CAMPAIGN_EMPEROR_CHARACTER_INELIGIBLE_TEXT))
end
elseif newState == SCENE_FRAGMENT_HIDDEN then
GAMEPAD_TOOLTIPS:ClearTooltip(GAMEPAD_RIGHT_TOOLTIP)
self:SetDirectionalInputEnabled(false)
end
end)
- ingame/campaign/gamepad/campaignscoring_gamepad.lua:12 -- CAMPAIGN_SCORING_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
manager.shown = true
QueryCampaignLeaderboardData(ALLIANCE_NONE)
manager:UpdateRewardTier()
manager:UpdateScores()
elseif newState == SCENE_FRAGMENT_HIDDEN then
manager.shown = false
end
end)
- ingame/centerscreenannounce/centerscreenannounce.lua:1130 -- data.callbackManager:RegisterCallback(data.callbackRegistration, Callback)
- ingame/centerscreenannounce/centerscreenannounce.lua:1139 -- PLAYER_PROGRESS_BAR:RegisterCallback("Show", function()
--if the announcement has begun fading out ("expiring") before the bar even shows, we don't need to hold
if PLAYER_PROGRESS_BAR:GetOwner() == CENTER_SCREEN_ANNOUNCE and self:HasAnyActiveLines() and self.isBeforeMessageExpiring then
PLAYER_PROGRESS_BAR:SetHoldBeforeFadeOut(true)
end
end)
- ingame/centerscreenannounce/centerscreenannounce.lua:1146 -- PLAYER_PROGRESS_BAR:RegisterCallback("Complete", function()
self.hasActiveLevelBar = false
self:CheckNowInactive()
end)
- ingame/centerscreenannounce/centerscreenannounce.lua:1230 -- line:RegisterCallback("OnLineComplete", OnLineComplete)
- ingame/champion/champion.lua:153 -- CHAMPION_PERKS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
SharedStateChangeCallback(oldState, newState)
if newState == SCENE_HIDDEN then
WINDOW_MANAGER:SetMouseCursor(MOUSE_CURSOR_DO_NOT_CARE)
end
end)
- ingame/champion/champion.lua:161 -- GAMEPAD_CHAMPION_PERKS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
SharedStateChangeCallback(oldState, newState)
if newState == SCENE_SHOWING then
DIRECTIONAL_INPUT:Activate(self, control)
elseif newState == SCENE_SHOWN then
CALLBACK_MANAGER:RegisterCallback("OnGamepadDialogShowing", self.OnGamepadDialogShowing)
elseif newState == SCENE_HIDING then
DIRECTIONAL_INPUT:Deactivate(self)
self.gamepadStarTooltip.scrollTooltip:ClearLines()
self.gamepadCursor:UpdateVisibility()
CALLBACK_MANAGER:UnregisterCallback("OnGamepadDialogShowing", self.OnGamepadDialogShowing)
end
end)
- ingame/champion/champion.lua:166 -- CALLBACK_MANAGER:RegisterCallback("OnGamepadDialogShowing", self.OnGamepadDialogShowing)
- ingame/champion/champion.lua:185 -- CHAMPION_DATA_MANAGER:RegisterCallback("DataChanged", function()
self.constellationsInitialized = false
if SYSTEMS:IsShowing("champion") then
-- reset to top level view
self:ResetToInactive()
self:PerformDeferredInitializationConstellations()
self.stateMachine:FireCallbacks("ON_DATA_RELOADED")
end
end)
- ingame/champion/champion.lua:936 -- state:RegisterCallback("OnActivated", function()
local targetNode = self.constellations[ZO_CHAMPION_CENTERED_CONSTELLATION_INDEX]:GetFirstRingNode()
self.ring:SetAngle(ZO_PI - ONE_SIXTH_PI)
self.centerInfoAlphaInterpolator:SetCurrentValue(0)
self.centerInfoControl:SetAlpha(0)
self.radialSelectorTexture:SetAlpha(0)
self:AttachConstellationsAroundNode(targetNode)
self:SetRootCameraX(0)
self:SetRootCameraY(ZO_CHAMPION_INITIAL_CAMERA_Y)
self:SetRootCameraZ(ZO_CHAMPION_INITIAL_CAMERA_Z)
self:SetAnimation(ENTER_ANIMATION)
end)
- ingame/champion/champion.lua:954 -- state:RegisterCallback("OnActivated", function()
if IsInGamepadPreferredMode() then
self:ResetConstellationSelectorToTop()
end
self.centerInfoAlphaInterpolator:SetTargetBase(1)
local result = GetChampionPurchaseAvailability()
if result == CHAMPION_PURCHASE_SUCCESS then
self.inactiveAlert.messageLabel:SetHidden(true)
else
self.inactiveAlert.messageLabel:SetHidden(false)
self:RefreshInactiveAlertMessage()
end
end)
- ingame/champion/champion.lua:968 -- state:RegisterCallback("OnDeactivated", function()
self.centerInfoAlphaInterpolator:SetCurrentValue(0)
self.centerInfoAlphaInterpolator:SetTargetBase(0)
self.centerInfoControl:SetAlpha(0)
self.radialSelectorTexture:SetAlpha(0)
self.inactiveAlert.messageLabel:SetHidden(true)
end)
- ingame/champion/champion.lua:992 -- state:RegisterCallback("OnActivated", function()
-- trigger should set nextTargetNode
if IsInGamepadPreferredMode() then
zoomInAnimation.targetCameraY = ZO_CHAMPION_GAMEPAD_ZOOMED_IN_CAMERA_Y
zoomInAnimation.targetCameraZ = ZO_CHAMPION_GAMEPAD_ZOOMED_IN_CAMERA_Z
else
zoomInAnimation.targetCameraY = ZO_CHAMPION_KEYBOARD_ZOOMED_IN_CAMERA_Y
zoomInAnimation.targetCameraZ = ZO_CHAMPION_KEYBOARD_ZOOMED_IN_CAMERA_Z
end
local node = self.nextTargetNode
zoomInAnimation.targetNode = node
ZO_ClearTable(zoomInAnimation.nodePadding)
zoomInAnimation.nodePadding[node] = 0
self:SetAnimation(zoomInAnimation)
PlaySound(SOUNDS.CHAMPION_ZOOM_IN)
self.nextTargetNode = nil
end)
- ingame/champion/champion.lua:1012 -- state:RegisterCallback("OnDeactivated", function()
self:SelectConstellationNodeInternal(nil)
end)
- ingame/champion/champion.lua:1032 -- state:RegisterCallback("OnActivated", function()
zoomOutAnimation.targetCameraY = ZO_CHAMPION_ZOOMED_OUT_CAMERA_Y
zoomOutAnimation.targetCameraZ = ZO_CHAMPION_ZOOMED_OUT_CAMERA_Z
local targetNode = self.constellations[ZO_CHAMPION_CENTERED_CONSTELLATION_INDEX]:GetNodeInSameHemisphereAsOtherNode(self.chosenRingNode)
zoomOutAnimation.targetNode = targetNode
self:AttachConstellationsAroundNode(targetNode)
ZO_ClearTable(zoomOutAnimation.nodePadding)
for _, node in self.ring:NodeIterator() do
zoomOutAnimation.nodePadding[node] = 0
end
PlaySound(SOUNDS.CHAMPION_ZOOM_OUT)
self:SetAnimation(zoomOutAnimation)
if self.currentChangingEditor then
-- release
self.currentChangingEditor:StopChangingPoints()
self.currentChangingEditor = nil
end
self.refreshGroup:MarkDirty("AllData")
end)
- ingame/champion/champion.lua:1066 -- state:RegisterCallback("OnActivated", function()
zoomedInCycleAnimation.targetNode = self.nextTargetNode
self.nextTargetNode.constellation:PlayOnCycledToSound()
self:SetAnimation(zoomedInCycleAnimation)
self.nextTargetNode = nil
if self.currentChangingEditor then
-- release
self.currentChangingEditor:StopChangingPoints()
self.currentChangingEditor = nil
end
end)
- ingame/champion/champion.lua:1089 -- state:RegisterCallback("OnActivated", function()
SCENE_MANAGER:RemoveFragment(self.keyboardConstellationViewFragment)
SCENE_MANAGER:RemoveFragment(self.gamepadConstellationViewFragment)
zoomInClusterAnimation.targetCluster = self.chosenConstellation:GetClusterByClusterData(self.nextTargetClusterData)
zoomInClusterAnimation.targetClusterData = self.nextTargetClusterData
zoomInClusterAnimation.startingCluster = self.chosenConstellation:GetCurrentCluster()
if IsInGamepadPreferredMode() then
zoomInClusterAnimation.targetCameraX = nil
zoomInClusterAnimation.targetCameraY = nil
else
local worldX, worldY = zoomInClusterAnimation.targetCluster:GetWorldSpaceCoordinates()
zoomInClusterAnimation.targetCameraX = worldX
zoomInClusterAnimation.targetCameraY = -worldY
end
zoomInClusterAnimation.targetCameraZ = IsInGamepadPreferredMode() and ZO_CHAMPION_GAMEPAD_ZOOMED_IN_CLUSTER_CAMERA_Z or ZO_CHAMPION_KEYBOARD_ZOOMED_IN_CLUSTER_CAMERA_Z
self:SetAnimation(zoomInClusterAnimation)
PlaySound(SOUNDS.CHAMPION_ZOOM_IN)
end)
- ingame/champion/champion.lua:1108 -- state:RegisterCallback("OnDeactivated", function()
self.chosenConstellation:ChangeCurrentCluster(self.nextTargetClusterData)
self.nextTargetClusterData = nil
end)
- ingame/champion/champion.lua:1122 -- state:RegisterCallback("OnActivated", function()
zoomOutClusterAnimation.targetCluster = self.chosenConstellation:GetClusterByClusterData(self.nextTargetClusterData)
zoomOutClusterAnimation.targetClusterData = self.nextTargetClusterData
zoomOutClusterAnimation.startingCluster = self.chosenConstellation:GetCurrentCluster()
if IsInGamepadPreferredMode() then
zoomOutClusterAnimation.targetCameraX = nil
zoomOutClusterAnimation.targetCameraY = nil
else
zoomOutClusterAnimation.targetCameraX = 0
zoomOutClusterAnimation.targetCameraY = ZO_CHAMPION_KEYBOARD_ZOOMED_IN_CAMERA_Y
end
zoomOutClusterAnimation.targetCameraZ = IsInGamepadPreferredMode() and ZO_CHAMPION_GAMEPAD_ZOOMED_IN_CAMERA_Z or ZO_CHAMPION_KEYBOARD_ZOOMED_IN_CAMERA_Z
self:SetAnimation(zoomOutClusterAnimation)
PlaySound(SOUNDS.CHAMPION_ZOOM_OUT)
if self.currentChangingEditor then
-- release
self.currentChangingEditor:StopChangingPoints()
self.currentChangingEditor = nil
end
end)
- ingame/champion/champion.lua:1143 -- state:RegisterCallback("OnDeactivated", function()
if IsInGamepadPreferredMode() then
SCENE_MANAGER:AddFragment(self.gamepadConstellationViewFragment)
else
SCENE_MANAGER:AddFragment(self.keyboardConstellationViewFragment)
end
self.chosenConstellation:ChangeCurrentCluster(self.nextTargetClusterData)
self.nextTargetClusterData = nil
end)
- ingame/champion/champion.lua:1239 -- CHAMPION_DATA_MANAGER:RegisterCallback("AllPointsChanged", function()
self.refreshGroup:MarkDirty("AllData")
end)
- ingame/champion/champion.lua:1243 -- CHAMPION_DATA_MANAGER:RegisterCallback("ChampionSkillPendingPointsChanged", function(championSkillData, wasUnlocked, isUnlocked)
if championSkillData:IsTypeSlottable() and isUnlocked and not wasUnlocked then
TriggerTutorial(TUTORIAL_TRIGGER_CHAMPION_SLOTTABLE_STAR_PURCHASED)
end
if self.chosenConstellation and self.chosenConstellation:GetChampionDisciplineData() == championSkillData:GetChampionDisciplineData() then
self.refreshGroup:MarkDirty("ChosenConstellationData")
else
self.refreshGroup:MarkDirty("AllData")
end
end)
- ingame/champion/champion.lua:1255 -- self.championBar:RegisterCallback("SlotChanged", function(slotAssigned)
-- we need to refresh the star that has been slotted and the star that
-- has been unslotted. we don't have an easy way to express that so we'll
-- just refresh everything
self.refreshGroup:MarkDirty("AllData")
end)
- ingame/champion/champion.lua:1262 -- self.championBar:RegisterCallback("GamepadFocusChanged", function()
self.refreshGroup:MarkDirty("SelectedStarData")
self.refreshGroup:TryClean()
end)
- ingame/champion/championassignableactionbar.lua:102 -- CHAMPION_DATA_MANAGER:RegisterCallback("AllPointsChanged", UnslotRefundedSkills)
- ingame/champion/championassignableactionbar.lua:103 -- CHAMPION_DATA_MANAGER:RegisterCallback("ChampionSkillPendingPointsChanged", UnslotRefundedSkills)
- ingame/champion/championassignableactionbar.lua:625 -- self.bar:RegisterCallback("SlotChanged", function()
CHAMPION_PERKS:DirtySelectedStar()
self:Update()
end)
- ingame/champion/championassignableactionbar.lua:630 -- self.bar:RegisterCallback("GamepadCurrentSlotChanged", function()
self.autoSelectSkillInCurrentSlot = true
self:Update()
end)
- ingame/champion/championconstellation.lua:411 -- CHAMPION_DATA_MANAGER:RegisterCallback("ChampionSkillPendingPointsChanged", function(championSkillData)
if self.selectedStar and self.selectedStar:IsSkillStar() and championSkillData == self.selectedStar:GetChampionSkillData() then
self:RefreshSelectedStarTooltip()
end
end)
- ingame/champion/championstar.lua:571 -- self.pointsSpinner:RegisterCallback("OnValueChanged", function(newValue)
if self:IsAttached() and self.star:IsSkillStar() then
self.star:GetChampionSkillData():SetNumPendingPoints(newValue)
end
end)
- ingame/chapterupgrade/gamepad/chapterupgrade_gamepad.lua:180 -- ZO_CHAPTER_UPGRADE_MANAGER:RegisterCallback("ChapterUpgradeDataUpdated", function() self:Update() end)
- ingame/chapterupgrade/gamepad/chapterupgrade_gamepad.lua:196 -- chapterUpgradSceneGroup:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_GROUP_SHOWING then
self:OnSceneGroupShowing()
elseif newState == SCENE_GROUP_HIDDEN then
self:OnSceneGroupHidden()
end
end)
- ingame/chapterupgrade/gamepad/chapterupgrade_gamepad.lua:322 -- ITEM_PREVIEW_LIST_HELPER_GAMEPAD:RegisterCallback("OnPreviewChanged", RefreshTooltipFunction)
- ingame/chapterupgrade/gamepad/chapterupgrade_gamepad.lua:332 -- ZO_GAMEPAD_CHAPTER_UPGRADE_PREVIEW_SCENE:RegisterCallback("StateChange", PreviewSceneOnStateChange)
- ingame/chatsystem/chathandlers.lua:248 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.INSERT_LINK_EVENT, OnTryInsertLink)
- ingame/chatsystem/chathandlers.lua:253 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, OnLinkClicked)
- ingame/chatsystem/chathandlers.lua:254 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_MOUSE_UP_EVENT, OnLinkClicked)
- ingame/chatsystem/chathandlers.lua:338 -- VOICE_CHAT_MANAGER:RegisterCallback("VoiceChatTranscript", AddTranscriptMessage)
- ingame/chatsystem/sharedchatsystem.lua:137 -- self.targetAutoComplete:RegisterCallback(ZO_AutoComplete.ON_ENTRY_SELECTED, OnAutoCompleteEntrySelected)
- ingame/chatsystem/sharedchatsystem.lua:1346 -- CHAT_ROUTER:RegisterCallback("FormattedChatMessage", OnFormattedChatMessage)
- ingame/chatsystem/sharedchatsystem.lua:1351 -- CHAT_ROUTER:RegisterCallback("TargetAddedToChannel", OnTargetAddedToChannel)
- ingame/chatsystem/sharedchatsystem.lua:1356 -- CHAT_ROUTER:RegisterCallback("AddCommandPrefix", OnAddCommandPrefix)
- ingame/chatsystem/gamepad/chatmenu_gamepad.lua:18 -- self.activeLinks:RegisterCallback("CycleLinks", function()
--Re-narrate when cycling between multiple links
SCREEN_NARRATION_MANAGER:QueueParametricListEntry(self.list)
end)
- ingame/chatsystem/gamepad/chatmenu_gamepad.lua:100 -- CHAT_ROUTER:RegisterCallback("FormattedChatMessage", AddMessage)
- ingame/chatsystem/gamepad/chatmenu_gamepad.lua:101 -- CALLBACK_MANAGER:RegisterCallback("OnChatChannelUpdated", DirtyActiveChannel)
- ingame/chatsystem/gamepad/gamepadchatsystem.lua:258 -- CALLBACK_MANAGER:RegisterCallback("OnChatChannelUpdated", OnChatChannelUpdated)
- ingame/chatsystem/keyboard/keyboardchatsystem.lua:356 -- CALLBACK_MANAGER:RegisterCallback("NumOnlineFriendsChanged", OnNumOnlineFriendsChanged)
- ingame/chatsystem/keyboard/keyboardchatsystem.lua:357 -- CALLBACK_MANAGER:RegisterCallback("OnChatChannelUpdated", OnChatChannelUpdated)
- ingame/collections/collectionsbook_manager.lua:62 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", OnCollectionUpdated)
- ingame/collections/itemsetcollectionsmanager.lua:80 -- ITEM_SET_COLLECTIONS_DATA_MANAGER:RegisterCallback("EquipmentFilterTypesChanged", OnEquipmentFilterTypesChanged)
- ingame/collections/itemsetsbook_shared.lua:8 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnFragmentShowing()
end
end)
- ingame/collections/itemsetsbook_shared.lua:108 -- ITEM_SET_COLLECTIONS_DATA_MANAGER:RegisterCallback("CollectionsUpdated", function(...) self:OnItemSetCollectionsUpdated(...) end)
- ingame/collections/itemsetsbook_shared.lua:109 -- ITEM_SET_COLLECTIONS_DATA_MANAGER:RegisterCallback("PieceLinksDirty", function(...) self:OnPieceLinksDirty(...) end)
- ingame/collections/itemsetsbook_shared.lua:110 -- ITEM_SET_COLLECTIONS_DATA_MANAGER:RegisterCallback("PieceNewStatusCleared", function(...) self:OnPieceNewStatusCleared(...) end)
- ingame/collections/itemsetsbook_shared.lua:111 -- ITEM_SET_COLLECTIONS_DATA_MANAGER:RegisterCallback("CollectionNewStatusCleared", function(...) self:OnCollectionNewStatusCleared(...) end)
- ingame/collections/itemsetsbook_shared.lua:112 -- ITEM_SET_COLLECTIONS_DATA_MANAGER:RegisterCallback("CategoryNewStatusCleared", function(...) self:OnCategoryNewStatusCleared(...) end)
- ingame/collections/itemsetsbook_shared.lua:113 -- ITEM_SET_COLLECTIONS_DATA_MANAGER:RegisterCallback("UpdateSearchResults", function() self:OnUpdateSearchResults() end)
- ingame/collections/itemsetsbook_shared.lua:114 -- ITEM_SET_COLLECTIONS_DATA_MANAGER:RegisterCallback("ShowLockedChanged", function(...) self:OnShowLockedOptionUpdated(...) end)
- ingame/collections/itemsetsbook_shared.lua:115 -- ITEM_SET_COLLECTIONS_DATA_MANAGER:RegisterCallback("EquipmentFilterTypesChanged", function(...) self:OnEquipmentFilterTypesChanged(...) end)
- ingame/collections/tributepatronbook_shared.lua:17 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.categoriesRefreshGroup:TryClean()
self:OnFragmentShowing()
end
end)
- ingame/collections/tributepatronbook_shared.lua:135 -- TRIBUTE_DATA_MANAGER:RegisterCallback("PatronsUpdated", OnPatronsUpdated)
- ingame/collections/tributepatronbook_shared.lua:136 -- TRIBUTE_DATA_MANAGER:RegisterCallback("PatronsDataDirty", OnPatronsDataDirty)
- ingame/collections/tributepatronbook_shared.lua:137 -- TRIBUTE_DATA_MANAGER:RegisterCallback("ProgressionUpgradeStatusChanged", OnProgressionUpgradeStatusChanged)
- ingame/collections/tributepatronbook_shared.lua:138 -- TRIBUTE_DATA_MANAGER:RegisterCallback("UpdateSearchResults", function() self:OnUpdateSearchResults() end)
- ingame/collections/tributepatronbook_shared.lua:139 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", OnCollectibleUpdated)
- ingame/collections/tributepatronbook_shared.lua:140 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", OnCollectionUpdated)
- ingame/collections/tributepatronbook_shared.lua:141 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNewStatusCleared", OnCollectibleUpdated)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:81 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", OnCollectibleUpdated)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:82 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", function(...) self:OnCollectionUpdated(...) end)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:83 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("PrimaryResidenceSet", OnCollectibleUpdated)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:84 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNewStatusCleared", function(...) self:OnCollectibleNewStatusCleared(...) end)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:85 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNotificationRemoved", function(...) self:OnCollectibleNotificationRemoved(...) end)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:86 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUserFlagsUpdated", function(...) self:OnCollectibleUserFlagsUpdated(...) end)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:87 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnUpdateCooldowns", function(...) self:OnUpdateCooldowns(...) end)
- ingame/collections/gamepad/itemsetsbook_gamepad.lua:413 -- self.gridListFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.categoryContentRefreshGroup:TryClean()
end
end)
- ingame/collections/keyboard/collectibletile_keyboard.lua:416 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnUpdateCooldowns", self.onUpdateCooldownsCallback)
- ingame/collections/keyboard/collectionsbook.lua:36 -- self.scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.refreshGroups:UpdateRefreshGroups() --In case we need to rebuild the categories
self:UpdateCollectionVisualLayer()
if self.hotbarCategory then
self.wheelContainer:SetHidden(false)
self.wheel:Activate()
else
self.wheelContainer:SetHidden(true)
end
COLLECTIONS_BOOK_SINGLETON:SetSearchString(self.contentSearchEditBox:GetText())
COLLECTIONS_BOOK_SINGLETON:SetSearchCategorySpecializationFilters(COLLECTIBLE_CATEGORY_SPECIALIZATION_NONE)
COLLECTIONS_BOOK_SINGLETON:SetSearchChecksHidden(true)
elseif newState == SCENE_HIDDEN then
self.gridListPanelList:ResetToTop()
self.wheelContainer:SetHidden(true)
if self.hotbarCategory then
self.wheel:Deactivate()
end
end
end)
- ingame/collections/keyboard/collectionsbook.lua:93 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("UpdateSearchResults", OnUpdateSearchResults)
- ingame/collections/keyboard/collectionsbook.lua:94 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", function(...) self:OnCollectibleUpdated(...) end)
- ingame/collections/keyboard/collectionsbook.lua:95 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", function(...) self:OnCollectionUpdated(...) end)
- ingame/collections/keyboard/collectionsbook.lua:96 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNewStatusCleared", function(...) self:OnCollectibleNewStatusCleared(...) end)
- ingame/collections/keyboard/collectionsbook.lua:97 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUserFlagsUpdated", function(...) self:OnCollectibleUserFlagsUpdated(...) end)
- ingame/collections/keyboard/housingbook_keyboard.lua:47 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("PrimaryResidenceSet", OnDataUpdated)
- ingame/collections/keyboard/housingbook_keyboard.lua:48 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUserFlagsUpdated", OnDataUpdated)
- ingame/collections/keyboard/outfitstylesbook_keyboard.lua:90 -- ZO_OUTFIT_STYLES_PANEL_KEYBOARD:RegisterCallback("PreviewSlotsChanged", self.updateKeybindCallback)
- ingame/collections/keyboard/outfitstylesbook_keyboard.lua:91 -- ZO_RESTYLE_SHEET_WINDOW_KEYBOARD:RegisterCallback("ModeSelectorDropdownChanged", self.onModeDropdownChangedCallback)
- ingame/collections/keyboard/specializedcollectionsbook_keyboard.lua:165 -- specializedBookScene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
if self.keybindStripDescriptor then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
end
elseif newState == SCENE_SHOWN then
self:OnSceneShown()
elseif newState == SCENE_HIDDEN then
if self.keybindStripDescriptor then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end
end)
- ingame/collections/keyboard/specializedcollectionsbook_keyboard.lua:300 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", function(...) self:OnCollectibleUpdated(...) end)
- ingame/collections/keyboard/specializedcollectionsbook_keyboard.lua:301 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", function(...) self:OnCollectionUpdated(...) end)
- ingame/collections/keyboard/specializedcollectionsbook_keyboard.lua:302 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNewStatusCleared", function(...) self:OnCollectibleNewStatusCleared(...) end)
- ingame/collections/keyboard/specializedcollectionsbook_keyboard.lua:303 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNotificationRemoved", function(...) self:OnCollectibleNotificationRemoved(...) end)
- ingame/companion/gamepad/companioncollectionbook_gamepad.lua:42 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", OnCollectibleUpdated)
- ingame/companion/gamepad/companioncollectionbook_gamepad.lua:43 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", function(...) self:OnCollectionUpdated(...) end)
- ingame/companion/gamepad/companioncollectionbook_gamepad.lua:44 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNewStatusCleared", function(...) self:OnCollectibleNewStatusCleared(...) end)
- ingame/companion/gamepad/companioncollectionbook_gamepad.lua:45 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNotificationRemoved", function(...) self:OnCollectibleNotificationRemoved(...) end)
- ingame/companion/gamepad/companioncollectionbook_gamepad.lua:46 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnUpdateCooldowns", function(...) self:OnUpdateCooldowns(...) end)
- ingame/companion/gamepad/companionequipment_gamepad.lua:94 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", OnInventoryUpdated)
- ingame/companion/gamepad/companionequipment_gamepad.lua:95 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", OnInventoryUpdated)
- ingame/companion/gamepad/companionfooter_gamepad.lua:22 -- COMPANION_FOOTER_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
if HasActiveCompanion() then
self.companionIcon:SetTexture(ZO_COMPANION_MANAGER:GetActiveCompanionIcon())
local FORCE_REFRESH = true
self:RefreshCompanionLevel(FORCE_REFRESH)
local companionName = GetCompanionName(GetActiveCompanionDefId())
self.companionNameLabel:SetText(zo_strformat(SI_COMPANION_NAME_FORMATTER, companionName))
end
end
end)
- ingame/companion/gamepad/companionskills_gamepad.lua:557 -- COMPANION_SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", FullRebuild)
- ingame/companion/gamepad/companionskills_gamepad.lua:558 -- COMPANION_SKILLS_DATA_MANAGER:RegisterCallback("SkillLineUpdated", OnSkillLineUpdated)
- ingame/companion/gamepad/companionskills_gamepad.lua:559 -- COMPANION_SKILLS_DATA_MANAGER:RegisterCallback("SkillLineAdded", OnSkillLineAdded)
- ingame/companion/gamepad/companionskills_gamepad.lua:560 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("CurrentHotbarUpdated", OnCurrentHotbarUpdated)
- ingame/companion/gamepad/companionskills_gamepad.lua:575 -- self.assignableActionBar:RegisterCallback("SelectedButtonChanged", OnSelectedActionBarButtonChanged)
- ingame/companion/gamepad/companion_gamepad.lua:10 -- COMPANION_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
ZO_OUTFITS_SELECTOR_GAMEPAD:SetCurrentActorCategory(GAMEPLAY_ACTOR_CATEGORY_COMPANION)
--Manually call OnTargetChanged to ensure the proper logic is run when opening the screen
local list = self:GetMainList()
local targetData = list:GetTargetData()
self:RefreshList()
self:RefreshTargetTooltip(list, targetData)
self:RefreshHeader()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:ResetTooltips()
end
end)
- ingame/companion/gamepad/companion_gamepad.lua:62 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", OnRefreshList)
- ingame/companion/gamepad/companion_gamepad.lua:63 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", OnRefreshList)
- ingame/companion/keyboard/companioncharacter_keyboard.lua:11 -- self.scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:BuildNavigationTree()
elseif newState == SCENE_HIDDEN then
self:SelectNavigationFragment(nil)
end
end)
- ingame/companion/keyboard/companioncharacter_keyboard.lua:31 -- SHARED_INVENTORY:RegisterCallback("SlotAdded", RefreshCategoryStatusIcons)
- ingame/companion/keyboard/companioncharacter_keyboard.lua:32 -- SHARED_INVENTORY:RegisterCallback("SlotRemoved", RefreshCategoryStatusIcons)
- ingame/companion/keyboard/companioncharacter_keyboard.lua:33 -- SHARED_INVENTORY:RegisterCallback("SlotUpdated", RefreshCategoryStatusIcons)
- ingame/companion/keyboard/companioncollectionbook_keyboard.lua:21 -- self.scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.refreshGroups:UpdateRefreshGroups() --In case we need to rebuild the categories
self:UpdateCollectionVisualLayer()
COLLECTIONS_BOOK_SINGLETON:SetSearchString(self.contentSearchEditBox:GetText())
COLLECTIONS_BOOK_SINGLETON:SetSearchCategorySpecializationFilters(COLLECTIBLE_CATEGORY_SPECIALIZATION_NONE)
COLLECTIONS_BOOK_SINGLETON:SetSearchChecksHidden(true)
elseif newState == SCENE_HIDDEN then
self.gridListPanelList:ResetToTop()
end
end)
- ingame/companion/keyboard/companioncollectionbook_keyboard.lua:56 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("UpdateSearchResults", OnUpdateSearchResults)
- ingame/companion/keyboard/companioncollectionbook_keyboard.lua:57 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", function(...) self:OnCollectibleUpdated(...) end)
- ingame/companion/keyboard/companioncollectionbook_keyboard.lua:58 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", function(...) self:OnCollectionUpdated(...) end)
- ingame/companion/keyboard/companioncollectionbook_keyboard.lua:59 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNewStatusCleared", function(...) self:OnCollectibleNewStatusCleared(...) end)
- ingame/companion/keyboard/companionequipment_keyboard.lua:109 -- self.sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/companion/keyboard/companionequipment_keyboard.lua:132 -- TEXT_SEARCH_MANAGER:RegisterCallback("UpdateSearchResults", OnListTextFilterComplete)
- ingame/companion/keyboard/companionequipment_keyboard.lua:191 -- COMPANION_EQUIPMENT_KEYBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
TEXT_SEARCH_MANAGER:ActivateTextSearch("companionEquipmentTextSearch")
self:UpdateList()
self:UpdateFreeSlots()
elseif newState == SCENE_FRAGMENT_HIDDEN then
TEXT_SEARCH_MANAGER:DeactivateTextSearch("companionEquipmentTextSearch")
self:ClearNewStatusOnItemsThePlayerHasSeen()
self.newItemData = {}
end
end)
- ingame/companion/keyboard/companionequipment_keyboard.lua:203 -- SHARED_INVENTORY:RegisterCallback("SlotAdded", function(bagId, slotIndex, newSlotData, suppressItemAlert)
if bagId == BAG_BACKPACK then
self:OnInventoryItemAdded(INVENTORY_BACKPACK, bagId, slotIndex, newSlotData, suppressItemAlert)
end
end)
- ingame/companion/keyboard/companionoverview_keyboard.lua:38 -- COMPANION_OVERVIEW_KEYBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
if HasActiveCompanion() then
if not self.initialized then
self.initialized = true
self:OnDeferredInitialize()
end
self.levelBar:OnShowing()
self:RefreshCompanionRapport()
self:RefreshPassivePerk()
--Order matters
ACTION_BAR_ASSIGNMENT_MANAGER:SetHotbarCycleOverride(HOTBAR_CATEGORY_COMPANION)
self.readOnlyActionBar:RefreshAllButtons()
end
elseif newState == SCENE_HIDING then
if self.pendingEquipOutfitIndex ~= ZO_OUTFIT_MANAGER:GetEquippedOutfitIndex(GAMEPLAY_ACTOR_CATEGORY_COMPANION) then
if self.pendingEquipOutfitIndex then
ZO_OUTFIT_MANAGER:EquipOutfit(GAMEPLAY_ACTOR_CATEGORY_COMPANION, self.pendingEquipOutfitIndex)
else
ZO_OUTFIT_MANAGER:UnequipOutfit(GAMEPLAY_ACTOR_CATEGORY_COMPANION)
end
end
ITEM_PREVIEW_KEYBOARD:ClearPreviewCollection()
ApplyChangesToPreviewCollectionShown()
elseif newState == SCENE_FRAGMENT_HIDDEN then
ACTION_BAR_ASSIGNMENT_MANAGER:SetHotbarCycleOverride(nil)
end
end)
- ingame/companion/keyboard/companionoverview_keyboard.lua:87 -- ZO_OUTFIT_MANAGER:RegisterCallback("RefreshEquippedOutfitIndex", OnEquippedOutfit)
- ingame/companion/keyboard/companionoverview_keyboard.lua:88 -- ZO_OUTFIT_MANAGER:RegisterCallback("RefreshOutfits", OnRefreshOutfits)
- ingame/companion/keyboard/companionoverview_keyboard.lua:89 -- ZO_OUTFIT_MANAGER:RegisterCallback("RefreshOutfitName", OnRefreshOutfits)
- ingame/companion/keyboard/companionprogressbar_keyboard.lua:81 -- COMPANION_PROGRESS_BAR_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.progressBar:OnShowing()
end
end)
- ingame/companion/keyboard/companionskills_keyboard.lua:14 -- self.scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.skillLinesTreeRefreshGroup:TryClean()
self.skillListRefreshGroup:TryClean()
ACTION_BAR_ASSIGNMENT_MANAGER:SetHotbarCycleOverride(HOTBAR_CATEGORY_COMPANION)
self.assignableActionBar:RefreshAllButtons()
elseif newState == SCENE_HIDDEN then
SKILLS_AND_ACTION_BAR_MANAGER:ResetInterface()
ACTION_BAR_ASSIGNMENT_MANAGER:SetHotbarCycleOverride(nil)
end
end)
- ingame/companion/keyboard/companionskills_keyboard.lua:179 -- COMPANION_SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", OnFullSystemUpdated)
- ingame/companion/keyboard/companionskills_keyboard.lua:180 -- COMPANION_SKILLS_DATA_MANAGER:RegisterCallback("SkillLineUpdated", OnSkillLineUpdated)
- ingame/companion/keyboard/companionskills_keyboard.lua:181 -- COMPANION_SKILLS_DATA_MANAGER:RegisterCallback("SkillProgressionUpdated", OnSkillProgressionUpdated)
- ingame/companion/keyboard/companionskills_keyboard.lua:182 -- COMPANION_SKILLS_DATA_MANAGER:RegisterCallback("SkillLineNewStatusChanged", OnSkillLineNewStatusChanged)
- ingame/companion/keyboard/companion_keyboard.lua:10 -- COMPANION_KEYBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateSceneGroupButtons()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self.tabs:SelectTab("companionCharacterKeyboard")
end
end)
- ingame/companion/keyboard/companion_keyboard.lua:35 -- COMPANION_SKILLS_DATA_MANAGER:RegisterCallback("SkillLineNewStatusChanged", UpdateSceneGroupButtons)
- ingame/companion/keyboard/companion_keyboard.lua:36 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("SlotNewStatusChanged", UpdateSceneGroupButtons)
- ingame/companion/keyboard/companion_keyboard.lua:37 -- SHARED_INVENTORY:RegisterCallback("SlotAdded", UpdateSceneGroupButtons)
- ingame/companion/keyboard/companion_keyboard.lua:38 -- SHARED_INVENTORY:RegisterCallback("SlotRemoved", UpdateSceneGroupButtons)
- ingame/companion/keyboard/companion_keyboard.lua:39 -- SHARED_INVENTORY:RegisterCallback("SlotUpdated", UpdateSceneGroupButtons)
- ingame/compass/compass.lua:470 -- FOCUSED_QUEST_TRACKER:RegisterCallback("QuestTrackerTrackingStateChanged", OnQuestTrackerTrackingStateChanged)
- ingame/compass/compass.lua:514 -- C_MAP_HANDLERS:RegisterCallback("RefreshedSingleQuestPins", function(questIndex) self:PerformFullAreaQuestUpdate() end)
- ingame/compass/compass.lua:515 -- C_MAP_HANDLERS:RegisterCallback("RefreshedAllQuestPins", function() self.refreshingJournalIndex = true self:PerformFullAreaQuestUpdate() self.refreshingJournalIndex = false end)
- ingame/contacts/notifications_common.lua:254 -- CALLBACK_MANAGER:RegisterCallback("NotificationsGuildMotDRead", self.pushUpdateCallback)
- ingame/contacts/notifications_common.lua:645 -- pointResetCallbackObject:RegisterCallback("EventPointReset", updatePointsResetList)
- ingame/contacts/notifications_common.lua:646 -- pointResetCallbackObject:RegisterCallback("EventPointResetAccepted", updatePointsResetList)
- ingame/contacts/notifications_common.lua:647 -- pointResetCallbackObject:RegisterCallback("EventPointResetDeclined", updatePointsResetList)
- ingame/contacts/notifications_common.lua:798 -- CALLBACK_MANAGER:RegisterCallback("LeaderboardNotifications_On", ShowLeaderBoardNotifications_SettingsChanged)
- ingame/contacts/notifications_common.lua:799 -- CALLBACK_MANAGER:RegisterCallback("LeaderboardNotifications_Off", ShowLeaderBoardNotifications_SettingsChanged)
- ingame/contacts/notifications_common.lua:887 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNotificationNew", function() provider.pushUpdateCallback(EVENT_COLLECTIBLE_NOTIFICATION_NEW) end)
- ingame/contacts/notifications_common.lua:888 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", OnCollectionUpdated)
- ingame/contacts/notifications_common.lua:889 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNotificationRemoved", function() provider.pushUpdateCallback(EVENT_COLLECTIBLE_NOTIFICATION_REMOVED) end)
- ingame/contacts/sociallist_shared.lua:162 -- listFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.refreshGroup:TryClean()
end
end)
- ingame/contacts/gamepad/contacts_gamepad.lua:23 -- GAMEPAD_CONTACTS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
self:RefreshFooter()
self:PerformDeferredInitialization()
TriggerTutorial(TUTORIAL_TRIGGER_CONTACTS_OPENED)
end
end)
- ingame/contacts/gamepad/notifications_gamepad.lua:533 -- GAMEPAD_NOTIFICATIONS_SCENE:RegisterCallback("StateChange",
function(oldState, newState)
if newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
ZO_SavePlayerConsoleProfile()
end
end)
- ingame/contacts/keyboard/friendslist_keyboard.lua:35 -- FRIENDS_LIST_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
KEYBIND_STRIP:AddKeybindButtonGroup(self.staticKeybindStripDescriptor)
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self:UpdateHideOfflineCheckBox(self.hideOfflineCheckBox)
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.staticKeybindStripDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/contacts/keyboard/ignorelist_keyboard.lua:29 -- IGNORE_LIST_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
KEYBIND_STRIP:AddKeybindButtonGroup(self.staticKeybindStripDescriptor)
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.staticKeybindStripDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/contacts/keyboard/notifications_keyboard.lua:517 -- NOTIFICATIONS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
self.sortFilterList:AddKeybinds()
elseif(newState == SCENE_HIDING) then
ClearMenu()
elseif(newState == SCENE_HIDDEN) then
self.sortFilterList:RemoveKeybinds()
end
end)
- ingame/contextual/contextual.lua:155 -- ACTION_BAR_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_HIDING and g_holdingForFadeOut) then
SetShouldntShow(INSTANT)
end
end)
- ingame/contextual/contextual.lua:177 -- CALLBACK_MANAGER:RegisterCallback("UnitFramesCreated", Initialize)
- ingame/crafting/craftadvisor_manager.lua:63 -- QUEST_JOURNAL_MANAGER:RegisterCallback("QuestListUpdated", function() self:RefreshQuestMasterList() end)
- ingame/crafting/craftingutils.lua:454 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
if SCENE_MANAGER:IsShowing(sceneName) and (not visibilityPredicate or visibilityPredicate()) then
self:Play(sceneName)
end
end)
- ingame/crafting/craftingutils.lua:459 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function() self:Stop() end)
- ingame/crafting/craftingutils.lua:504 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftStarted)
- ingame/crafting/craftingutils.lua:505 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftCompleted)
- ingame/crafting/craftingutils.lua:513 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", UpdateKeyBindDescriptorGroup)
- ingame/crafting/craftingutils.lua:514 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", UpdateKeyBindDescriptorGroup)
- ingame/crafting/craftingutils.lua:528 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftStarted)
- ingame/crafting/craftingutils.lua:529 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftCompleted)
- ingame/crafting/craftingutils.lua:551 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftStarted)
- ingame/crafting/craftingutils.lua:552 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftCompleted)
- ingame/crafting/craftingutils.lua:674 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
g_isCrafting = true
end)
- ingame/crafting/craftingutils.lua:677 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
g_isCrafting = false
end)
- ingame/crafting/fishfillet_shared.lua:97 -- self.filletSlot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/crafting/sharedalchemy.lua:90 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function() self:OnCraftCompleted() end)
- ingame/crafting/sharedcraftinginventory.lua:31 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftingAnimationStateChanged)
- ingame/crafting/sharedcraftinginventory.lua:32 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftingAnimationStateChanged)
- ingame/crafting/sharedcraftinginventory.lua:34 -- CRAFT_ADVISOR_MANAGER:RegisterCallback("QuestInformationUpdated", function(updatedQuestInfo)
self.questRunes = updatedQuestInfo.runeIds
self.alchemyQuestInfo = updatedQuestInfo.alchemyInfo
self.improvementQuestInfo = updatedQuestInfo.improvementInfo
self.hasRecipesForQuest = updatedQuestInfo.hasRecipesForQuest
self:HandleDirtyEvent()
end)
- ingame/crafting/sharedprovisioner.lua:67 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftStarted)
- ingame/crafting/sharedprovisioner.lua:68 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftCompleted)
- ingame/crafting/sharedprovisioner.lua:70 -- PROVISIONER_MANAGER:RegisterCallback("RecipeDataUpdated", function()
self:DirtyRecipeList()
end)
- ingame/crafting/sharedprovisioner.lua:91 -- CRAFT_ADVISOR_MANAGER:RegisterCallback("QuestInformationUpdated", function(updatedQuestSelection)
self.questRecipes = updatedQuestSelection.recipeItemIds
self.questRecipeLists = {}
self.questCategories = {}
local craftingInteractionType = GetCraftingInteractionType()
local recipeLists = PROVISIONER_MANAGER:GetRecipeListData(craftingInteractionType)
--Locate any recipes that match the current quest recipes
for listIndex, recipeList in pairs(recipeLists) do
for _, recipe in ipairs(recipeList.recipes) do
--If we have a match, then mark the list and category as having a quest in it
if self.questRecipes and self.questRecipes[recipe.resultItemId] then
self.questRecipeLists[recipe.recipeListIndex] = true
self.questCategories[recipe.specialIngredientType] = true
end
end
end
self:DirtyRecipeList()
self:UpdateQuestPins()
end)
- ingame/crafting/smithingcreation_shared.lua:48 -- CRAFT_ADVISOR_MANAGER:RegisterCallback("QuestInformationUpdated", function(updatedQuestInfo)
self.questPatterns = updatedQuestInfo.patternIndices
self.questMaterial = updatedQuestInfo.materialIndex
self.questStyle = updatedQuestInfo.styleId
self.questTrait = updatedQuestInfo.traitId
self.hasQuestPatterns = updatedQuestInfo.hasPatterns
self.isSetQuest = self.questTrait ~= nil and self.questStyle ~= nil
self.hasItemToImproveForWrit = updatedQuestInfo.hasItemToImproveForWrit
--Determine which crafting tabs need to have quest pins
ZO_ClearTable(self.tabsWithQuests)
for patternIndex, _ in pairs(self.questPatterns) do
local resultingItemFilterType = select(7, GetSmithingPatternInfo(patternIndex))
self.tabsWithQuests[resultingItemFilterType] = true
end
DirtyAllLists()
end)
- ingame/crafting/smithingcreation_shared.lua:502 -- self.materialQuantitySpinner:RegisterCallback("OnValueChanged", MaterialQuantitySpinner_OnValueChanged)
- ingame/crafting/smithingextraction_shared.lua:108 -- CRAFT_ADVISOR_MANAGER:RegisterCallback("QuestInformationUpdated", function(updatedQuestInfo)
self.questItemId = updatedQuestInfo.smithingItemId
end)
- ingame/crafting/smithingextraction_shared.lua:115 -- self.extractionSlot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/crafting/smithing_common.lua:89 -- CRAFT_ADVISOR_MANAGER:RegisterCallback("QuestInformationUpdated", OnQuestInformationUpdated)
- ingame/crafting/universaldeconstructionpanel_shared.lua:140 -- self.extractionSlot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/crafting/gamepad/alchemy_gamepad.lua:32 -- GAMEPAD_ALCHEMY_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:AddKeybindButtonGroup(self.modeKeybindStripDescriptor)
TriggerTutorial(TUTORIAL_TRIGGER_ALCHEMY_OPENED)
self.modeList:Activate()
local titleString = ZO_GamepadCraftingUtils_GetLineNameForCraftingType(CRAFTING_TYPE_ALCHEMY)
ZO_GamepadCraftingUtils_SetupGenericHeader(self, titleString)
ZO_GamepadCraftingUtils_RefreshGenericHeader(self)
self.mode = ZO_ALCHEMY_MODE_NONE
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.modeKeybindStripDescriptor)
self.modeList:Deactivate()
end
end)
- ingame/crafting/gamepad/alchemy_gamepad.lua:51 -- GAMEPAD_ALCHEMY_CREATION_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.mainKeybindStripDescriptor)
self.inventory:Activate()
self.inventory:OnShow()
GAMEPAD_CRAFTING_RESULTS:SetCraftingTooltip(self.tooltip)
GAMEPAD_CRAFTING_RESULTS:SetTooltipAnimationSounds(SOUNDS.ALCHEMY_CREATE_TOOLTIP_GLOW_SUCCESS, SOUNDS.ALCHEMY_CREATE_TOOLTIP_GLOW_FAIL)
self:UpdateTooltip()
self.mode = ZO_ALCHEMY_MODE_CREATION
elseif newState == SCENE_HIDDEN then
self.inventory:Deactivate()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.mainKeybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
self.inventory:HandleDirtyEvent()
GAMEPAD_CRAFTING_RESULTS:SetCraftingTooltip(nil)
self.tooltip:SetHidden(true)
ZO_SavePlayerConsoleProfile()
end
end)
- ingame/crafting/gamepad/alchemy_gamepad.lua:120 -- newData.slot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/crafting/gamepad/alchemy_gamepad.lua:123 -- newData.slot:RegisterCallback("ItemSlotted", function(bagId, slotIndex)
self:OnSolventSlotted(bagId, slotIndex)
end)
- ingame/crafting/gamepad/alchemy_gamepad.lua:141 -- newReagentData.slot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
self:UpdateReagentTraits()
end)
- ingame/crafting/gamepad/alchemy_gamepad.lua:578 -- ZO_WRIT_ADVISOR_GAMEPAD:RegisterCallback("CycleActiveQuest", function()
if self.owner:IsSystemShowing() and self.owner:GetMode() == ZO_ALCHEMY_MODE_CREATION then
SCREEN_NARRATION_MANAGER:QueueParametricListEntry(self.list)
end
end)
- ingame/crafting/gamepad/craftadvisor_gamepad.lua:19 -- GAMEPAD_CRAFT_ADVISOR_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
self:OnShown()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/crafting/gamepad/craftadvisor_gamepad.lua:27 -- CRAFT_ADVISOR_MANAGER:RegisterCallback("QuestMasterListUpdated", function(updatedQuestList)
self.questMasterList = updatedQuestList
self:RefreshQuestList()
end)
- ingame/crafting/gamepad/craftadvisor_gamepad.lua:32 -- CRAFT_ADVISOR_MANAGER:RegisterCallback("SelectedQuestConditionsUpdated", function() self:RefreshQuestList() end)
- ingame/crafting/gamepad/craftadvisor_gamepad.lua:35 -- CALLBACK_MANAGER:RegisterCallback("AlchemyInfoReady", function() self:RefreshQuestList() end)
- ingame/crafting/gamepad/craftingresults_gamepad.lua:205 -- GAMEPAD_CRAFTING_RESULTS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_HIDDEN then
GAMEPAD_CRAFTING_RESULTS:ForceCompleteCraftProcess()
GAMEPAD_CRAFTING_RESULTS:ClearAll()
end
end)
- ingame/crafting/gamepad/craftingutils_gamepad.lua:301 -- control.spinner:RegisterCallback("OnValueChanged", function(value)
dialogData.numIterations = value
ZO_GenericGamepadDialog_RefreshKeybinds(entryData.dialog)
SCREEN_NARRATION_MANAGER:QueueDialog(entryData.dialog)
end)
- ingame/crafting/gamepad/craftingutils_gamepad.lua:425 -- control.spinner:RegisterCallback("OnValueChanged", function(value)
dialogData.iterations = value
ZO_GenericGamepadDialog_RefreshKeybinds(entryData.dialog)
SCREEN_NARRATION_MANAGER:QueueDialog(entryData.dialog)
end)
- ingame/crafting/gamepad/enchanting_gamepad.lua:20 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
if SCENE_MANAGER:IsShowing("gamepad_enchanting_creation") or SCENE_MANAGER:IsShowing("gamepad_enchanting_extraction") then
self.inventory:Deactivate()
end
end)
- ingame/crafting/gamepad/enchanting_gamepad.lua:26 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
if SCENE_MANAGER:IsShowing("gamepad_enchanting_creation") or SCENE_MANAGER:IsShowing("gamepad_enchanting_extraction") then
self.inventory:Activate()
self:UpdateSelection()
end
end)
- ingame/crafting/gamepad/enchanting_gamepad.lua:169 -- GAMEPAD_ENCHANTING_MODE_SCENE_ROOT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindModeStripDescriptor)
self:SetEnchantingMode(ENCHANTING_MODE_NONE)
self.modeList:Activate()
local titleString = ZO_GamepadCraftingUtils_GetLineNameForCraftingType(CRAFTING_TYPE_ENCHANTING)
ZO_GamepadCraftingUtils_SetupGenericHeader(self, titleString)
ZO_GamepadCraftingUtils_RefreshGenericHeader(self)
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindModeStripDescriptor)
GAMEPAD_CRAFTING_RESULTS:SetCraftingTooltip(nil)
self.modeList:Deactivate()
if self.enchantingMode ~= ENCHANTING_MODE_NONE then
self.inventory:Deactivate()
end
end
end)
- ingame/crafting/gamepad/enchanting_gamepad.lua:215 -- GAMEPAD_ENCHANTING_CREATION_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
ShowCraftingScene(ENCHANTING_MODE_CREATION, self.runeSlotContainer)
elseif newState == SCENE_HIDDEN then
HideCraftingScene()
self.runeSlotContainer:SetHidden(true)
GAMEPAD_CRAFTING_RESULTS:SetCraftingTooltip(nil)
ZO_SavePlayerConsoleProfile()
end
end)
- ingame/crafting/gamepad/enchanting_gamepad.lua:228 -- GAMEPAD_ENCHANTING_EXTRACTION_SCENE:RegisterCallback("StateChange", function(oldState, newState)
GAMEPAD_ENCHANTING_EXTRACTION_SCENE:AddFragment(skillLineXPBarFragment)
if newState == SCENE_SHOWING then
ShowCraftingScene(ENCHANTING_MODE_EXTRACTION, self.extractionSlotContainer)
elseif newState == SCENE_HIDDEN then
HideCraftingScene()
self.extractionSlotContainer:SetHidden(true)
end
end)
- ingame/crafting/gamepad/enchanting_gamepad.lua:348 -- data.slot:RegisterCallback("ItemsChanged", function()
data.owner:OnSlotChanged()
end)
- ingame/crafting/gamepad/enchanting_gamepad.lua:356 -- data.slot:RegisterCallback("ItemsChanged", function()
data.owner:OnSlotChanged()
end)
- ingame/crafting/gamepad/enchanting_gamepad.lua:717 -- ZO_WRIT_ADVISOR_GAMEPAD:RegisterCallback("CycleActiveQuest", function()
if self.owner:IsSceneShowing() and self.owner:GetEnchantingMode() == ENCHANTING_MODE_CREATION then
SCREEN_NARRATION_MANAGER:QueueParametricListEntry(self.list)
end
end)
- ingame/crafting/gamepad/fishfillet_gamepad.lua:46 -- scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self.inventory:Activate()
TriggerTutorial(TUTORIAL_TRIGGER_FILLETING_OPENED)
-- used to update fillet slot UI with text / etc., PC does this as well
self:RemoveItemFromCraft()
ZO_GamepadCraftingUtils_SetupGenericHeader(GAMEPAD_PROVISIONER, GetString(SI_GAMEPAD_PROVISIONING_TAB_FILLET))
ZO_GamepadCraftingUtils_RefreshGenericHeader(GAMEPAD_PROVISIONER)
self.inventory:HandleDirtyEvent()
elseif newState == SCENE_SHOWN then
GAMEPAD_CRAFTING_RESULTS:SetForceCenterResultsText(true)
GAMEPAD_CRAFTING_RESULTS:ModifyAnchor(ZO_Anchor:New(RIGHT, GuiRoot, RIGHT, -310, -175))
elseif newState == SCENE_HIDING then
GAMEPAD_CRAFTING_RESULTS:SetForceCenterResultsText(false)
GAMEPAD_CRAFTING_RESULTS:RestoreAnchor()
elseif newState == SCENE_HIDDEN then
self.itemActions:SetInventorySlot(nil)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
self.inventory:Deactivate()
self.tooltip.tip:ClearLines()
self.tooltip:SetHidden(true)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
ZO_GamepadGenericHeader_Deactivate(self.owner.header)
end
end)
- ingame/crafting/gamepad/fishfillet_gamepad.lua:79 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
if SCENE_MANAGER:IsShowing("gamepad_provisioner_fillet") then
ZO_GamepadGenericHeader_Deactivate(self.owner.header)
end
end)
- ingame/crafting/gamepad/fishfillet_gamepad.lua:85 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
if SCENE_MANAGER:IsShowing("gamepad_provisioner_fillet") then
self:RefreshTooltip()
ZO_GamepadGenericHeader_Activate(self.owner.header)
end
end)
- ingame/crafting/gamepad/gamepadprovisioner.lua:46 -- scene:RegisterCallback("StateChange", function(oldState, newState)
-- TODO: Determine if any action is needed here
end)
- ingame/crafting/gamepad/gamepadprovisioner.lua:60 -- GAMEPAD_PROVISIONER_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
local craftingType = GetCraftingInteractionType()
self:RefreshModeList(craftingType)
self.resetUIs = self.resetUIs or self.oldCraftingType ~= craftingType
self.filletPanel:SetCraftingType(craftingType, self.oldCraftingType, self.resetUIs)
self.oldCraftingType = craftingType
self:ResetMode()
if self.resetUIs then
self.modeList:SetSelectedIndexWithoutAnimation(PROVISIONER_MODE_FILLET)
end
self:SetEnableSkillBar(true)
self.control:GetNamedChild("IngredientsBar"):SetHidden(true)
self.resultTooltip:SetHidden(true)
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self.modeList.control:SetHidden(false)
self.modeList:Activate()
local titleString = ZO_GamepadCraftingUtils_GetLineNameForCraftingType(craftingType)
ZO_GamepadCraftingUtils_SetupGenericHeader(self, titleString)
ZO_GamepadCraftingUtils_RefreshGenericHeader(self)
local NARRATE_HEADER = true
SCREEN_NARRATION_MANAGER:QueueParametricListEntry(self.modeList, NARRATE_HEADER)
self:RefreshAnimationSounds()
self.resetUIs = nil
elseif newState == SCENE_HIDDEN then
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.modeList:Deactivate()
self.modeList.control:SetHidden(true)
self:SetEnableSkillBar(false)
end
end)
- ingame/crafting/gamepad/gamepadprovisioner.lua:107 -- GAMEPAD_PROVISIONER_CREATION_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
ZO_Skills_TieSkillInfoHeaderToCraftingSkill(self.control:GetNamedChild("SkillInfo"), GetCraftingInteractionType())
if GetCraftingInteractionType() == CRAFTING_TYPE_PROVISIONING then
TriggerTutorial(TUTORIAL_TRIGGER_PROVISIONING_OPENED)
end
-- Reset provisioning heading within provisioning station
if self.mode == PROVISIONER_MODE_CREATION and self.settings then
self.settings = nil
self:SetDefaultProvisioningSettings()
end
self.control:GetNamedChild("IngredientsBar"):SetHidden(false)
self.resultTooltip:SetHidden(false)
SYSTEMS:GetObject("craftingResults"):SetCraftingTooltip(self.resultTooltip)
self.recipeList.control:SetHidden(false)
self.recipeList:Activate()
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.mainKeybindStripDescriptor)
ZO_GamepadCraftingUtils_RefreshGenericHeader(self)
ZO_GamepadGenericHeader_Activate(self.header)
-- refresh the recipe details on show, since they were cleared/hidden when the scene hid
-- and we may not have had a change in our list to trigger a refresh
self:RefreshRecipeDetails(self:GetRecipeData())
elseif newState == SCENE_HIDDEN then
self:SetDefaultProvisioningSettings()
ZO_Skills_UntieSkillInfoHeaderToCraftingSkill(self.control:GetNamedChild("SkillInfo"))
SYSTEMS:GetObject("craftingResults"):SetCraftingTooltip(nil)
ZO_GamepadGenericHeader_Deactivate(self.header)
self.recipeList:Deactivate()
self.recipeList.control:SetHidden(true)
-- refresh the recipe details passing nil in to appropriately hide/clear the tooltip and ingredient list
local NO_RECIPE = nil
self:RefreshRecipeDetails(NO_RECIPE)
self.control:GetNamedChild("IngredientsBar"):SetHidden(true)
self.resultTooltip:SetHidden(true)
self:EndRecipePreview()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.mainKeybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
end
end)
- ingame/crafting/gamepad/gamepadprovisioner.lua:178 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
if SCENE_MANAGER:IsShowing(GAMEPAD_PROVISIONER_CREATION_SCENE_NAME) then
self.recipeList:SetActive(false)
end
end)
- ingame/crafting/gamepad/gamepadprovisioner.lua:184 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
if SCENE_MANAGER:IsShowing(GAMEPAD_PROVISIONER_CREATION_SCENE_NAME) then
self.recipeList:SetActive(true)
end
end)
- ingame/crafting/gamepad/gamepadprovisioner.lua:570 -- ZO_WRIT_ADVISOR_GAMEPAD:RegisterCallback("CycleActiveQuest", function()
if GAMEPAD_PROVISIONER_CREATION_SCENE:IsShowing() then
if self.mode == PROVISIONER_MODE_CREATION or self.settings == ZO_GamepadProvisioner.EMBEDDED_SETTINGS then
SCREEN_NARRATION_MANAGER:QueueParametricListEntry(self.recipeList)
else
SCREEN_NARRATION_MANAGER:QueueParametricListEntry(self.modeList)
end
end
end)
- ingame/crafting/gamepad/smithingcreation_gamepad.lua:76 -- scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
local tabBarEntries = self:GenerateTabBarEntries()
self.focus:Activate()
self.owner:SetEnableSkillBar(true)
local savedFilter = self.typeFilter
local titleString = ZO_GamepadCraftingUtils_GetLineNameForCraftingType(GetCraftingInteractionType())
local DONT_SHOW_CAPACITY = false
ZO_GamepadCraftingUtils_SetupGenericHeader(self.owner, titleString, tabBarEntries, DONT_SHOW_CAPACITY)
ZO_GamepadCraftingUtils_RefreshGenericHeader(self.owner)
self:SetupTabBar(tabBarEntries, savedFilter)
self:DirtyAllLists()
self.refreshGroup:TryClean()
GAMEPAD_CRAFTING_RESULTS:SetCraftingTooltip(self.resultTooltip)
GAMEPAD_CRAFTING_RESULTS:SetTooltipAnimationSounds(self:GetCreateTooltipSound())
self:TriggerUSITutorial()
local NARRATE_HEADER = true
SCREEN_NARRATION_MANAGER:QueueFocus(self.focus, NARRATE_HEADER)
elseif newState == SCENE_HIDDEN then
GAMEPAD_CRAFTING_RESULTS:SetCraftingTooltip(nil)
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
self.focus:Deactivate()
self.resultTooltip:SetHidden(true)
self.interactingWithSameStation = true
self.owner:SetEnableSkillBar(false)
ZO_GamepadGenericHeader_Deactivate(self.owner.header)
end
end)
- ingame/crafting/gamepad/smithingcreation_gamepad.lua:122 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
if SCENE_MANAGER:IsShowing(scene.name) then
self.materialQuantitySpinner:Deactivate()
ZO_GamepadGenericHeader_Deactivate(self.owner.header)
end
end)
- ingame/crafting/gamepad/smithingcreation_gamepad.lua:129 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
if SCENE_MANAGER:IsShowing(scene.name) then
-- only reactivate this right away if it's focused - selecting it will activate it otherwise
if self.focus:IsFocused(self.materialQuantitySpinner) then
self:ActivateMaterialQuantitySpinner()
end
if self.shouldActivateTabBar then
ZO_GamepadGenericHeader_Activate(self.owner.header)
end
local NARRATE_HEADER = true
SCREEN_NARRATION_MANAGER:QueueFocus(self.focus, NARRATE_HEADER)
self:RefreshUniversalStyleItemTooltip()
end
end)
- ingame/crafting/gamepad/smithingcreation_gamepad.lua:685 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", function()
if self.focus:IsActive() then
local NARRATE_HEADER = true
SCREEN_NARRATION_MANAGER:QueueFocus(self.focus, NARRATE_HEADER)
end
end)
- ingame/crafting/gamepad/smithingextraction_gamepad.lua:91 -- scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self.inventory:Activate()
self.slotContainer:ClearAnchors()
if CRAFT_ADVISOR_MANAGER:HasActiveWrits() then
self.slotContainer:SetAnchor(BOTTOM, GuiRoot, BOTTOMLEFT, GAMEPAD_SMITHING_EXTRACTION_CRAFTING_QUEST_OFFSET_X, ZO_GAMEPAD_CRAFTING_UTILS_FLOATING_BOTTOM_OFFSET)
else
self.slotContainer:SetAnchor(BOTTOM, GuiRoot, BOTTOMLEFT, ZO_GAMEPAD_PANEL_FLOATING_CENTER_QUADRANT_1_2_SHOWN, ZO_GAMEPAD_CRAFTING_UTILS_FLOATING_BOTTOM_OFFSET)
end
local tabBarEntries = {}
if not isRefinementOnly then
AddTabEntry(tabBarEntries, SMITHING_FILTER_TYPE_WEAPONS)
AddTabEntry(tabBarEntries, SMITHING_FILTER_TYPE_ARMOR)
AddTabEntry(tabBarEntries, SMITHING_FILTER_TYPE_JEWELRY)
local titleString = ZO_GamepadCraftingUtils_GetLineNameForCraftingType(GetCraftingInteractionType())
ZO_GamepadCraftingUtils_SetupGenericHeader(self.owner, titleString, tabBarEntries)
if #tabBarEntries > 1 then
ZO_GamepadGenericHeader_Activate(self.owner.header)
end
else
local titleString = GetString(SI_SMITHING_TAB_REFINEMENT)
ZO_GamepadCraftingUtils_SetupGenericHeader(self.owner, titleString)
end
ZO_GamepadCraftingUtils_RefreshGenericHeader(self.owner)
-- tab bar / screen state fight with each other when switching between apparel only / other stations when sharing a tab bar...kick apparel station to the right filterType
if #tabBarEntries == 1 then
self:SetFilterType(tabBarEntries[1].filterType)
end
-- used to update extraction slot UI with text / etc., PC does this as well
self:RemoveItemFromCraft()
self.owner:SetEnableSkillBar(true)
GAMEPAD_CRAFTING_RESULTS:SetForceCenterResultsText(true)
GAMEPAD_CRAFTING_RESULTS:ModifyAnchor(ZO_Anchor:New(RIGHT, GuiRoot, RIGHT, -310, -175))
self.inventory:HandleDirtyEvent()
elseif newState == SCENE_HIDDEN then
self.itemActions:SetInventorySlot(nil)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
self.inventory:Deactivate()
self.tooltip.tip:ClearLines()
self.tooltip:SetHidden(true)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
ZO_GamepadGenericHeader_Deactivate(self.owner.header)
self.owner:SetEnableSkillBar(false)
GAMEPAD_CRAFTING_RESULTS:SetForceCenterResultsText(false)
GAMEPAD_CRAFTING_RESULTS:RestoreAnchor()
end
end)
- ingame/crafting/gamepad/smithingextraction_gamepad.lua:158 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
if SCENE_MANAGER:IsShowing("gamepad_smithing_refine") or SCENE_MANAGER:IsShowing("gamepad_smithing_deconstruct") then
ZO_GamepadGenericHeader_Deactivate(self.owner.header)
end
end)
- ingame/crafting/gamepad/smithingextraction_gamepad.lua:164 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
if SCENE_MANAGER:IsShowing("gamepad_smithing_refine") or SCENE_MANAGER:IsShowing("gamepad_smithing_deconstruct") then
self:RefreshTooltip()
ZO_GamepadGenericHeader_Activate(self.owner.header)
--Only re-narrate for the currently showing scene
if scene:IsShowing() then
SCREEN_NARRATION_MANAGER:QueueParametricListEntry(self.inventory.list)
end
end
end)
- ingame/crafting/gamepad/smithingextraction_gamepad.lua:238 -- ZO_WRIT_ADVISOR_GAMEPAD:RegisterCallback("CycleActiveQuest", function()
if scene:IsShowing() then
SCREEN_NARRATION_MANAGER:QueueParametricListEntry(self.inventory.list)
end
end)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:143 -- scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self:SetInventoryActive(true)
SCENE_MANAGER:AddFragment(GAMEPAD_CRAFT_ADVISOR_FRAGMENT)
-- LB / RB handling for switching filters on improvement screen
local tabBarEntries = {}
AddTabEntry(tabBarEntries, SMITHING_FILTER_TYPE_WEAPONS)
AddTabEntry(tabBarEntries, SMITHING_FILTER_TYPE_ARMOR)
AddTabEntry(tabBarEntries, SMITHING_FILTER_TYPE_JEWELRY)
local titleString = ZO_GamepadCraftingUtils_GetLineNameForCraftingType(GetCraftingInteractionType())
ZO_GamepadCraftingUtils_SetupGenericHeader(self.owner, titleString, tabBarEntries)
if #tabBarEntries > 1 then
ZO_GamepadGenericHeader_Activate(self.owner.header)
self.shouldActivateTabBar = true
else
self.shouldActivateTabBar = false
end
ZO_GamepadCraftingUtils_RefreshGenericHeader(self.owner)
-- tab bar / screen state fight with each other when switching between apparel only / other stations when sharing a tab bar...kick apparel station to the right mode
if #tabBarEntries == 1 then
self:ChangeMode(tabBarEntries[1].mode)
end
-- used to update extraction slot UI with text / etc., PC does this as well
self:RemoveItemFromCraft()
if self.selectedItem then
-- self.selectedItem.quality is deprecated, included here for addon backwards compatibility
local functionalQuality = self.selectedItem.functionalQuality or self.selectedItem.quality
self:ColorizeText(self:GetBoosterRowForQuality(functionalQuality))
end
self.owner:SetEnableSkillBar(true)
GAMEPAD_CRAFTING_RESULTS:SetCraftingTooltip(self.resultTooltip)
GAMEPAD_CRAFTING_RESULTS:SetTooltipAnimationSounds(ZO_SharedSmithingImprovement_GetImprovementTooltipSounds())
GAMEPAD_CRAFTING_RESULTS:ClearSecondaryTooltipAnimationControls()
GAMEPAD_CRAFTING_RESULTS:AddSecondaryTooltipAnimationControl(self.sourceTooltip)
GAMEPAD_CRAFTING_RESULTS:AddSecondaryTooltipAnimationControl(self.qualityBridge)
elseif newState == SCENE_HIDDEN then
self.itemActions:SetInventorySlot(nil)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
self:SetInventoryActive(false)
self.sourceTooltip.tip:ClearLines()
self.sourceTooltip:SetHidden(true)
self.resultTooltip.tip:ClearLines()
self.resultTooltip:SetHidden(true)
self.slotContainer:SetHidden(true)
self:EnableQualityBridge(false)
GAMEPAD_CRAFTING_RESULTS:SetCraftingTooltip(nil)
ZO_GamepadGenericHeader_Deactivate(self.owner.header)
self:ClearBoosterRowHighlight()
self.owner:SetEnableSkillBar(false)
SCENE_MANAGER:RemoveFragment(GAMEPAD_CRAFT_ADVISOR_FRAGMENT)
self.spinner:Deactivate()
end
end)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:217 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
if SCENE_MANAGER:IsShowing("gamepad_smithing_improvement") then
self.spinner:Deactivate()
end
end)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:223 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
if SCENE_MANAGER:IsShowing("gamepad_smithing_improvement") then
local bagId, slotIndex, tradeskill = self:GetCurrentImprovementParams()
if CanItemBeSmithingImproved(bagId, slotIndex, tradeskill) then
self:AddItemToCraft(bagId, slotIndex)
else
self:RemoveItemFromCraft()
self:SetInventoryActive(true)
end
KEYBIND_STRIP:UpdateKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:251 -- ZO_WRIT_ADVISOR_GAMEPAD:RegisterCallback("CycleActiveQuest", function()
if scene:IsShowing() and not self:IsCurrentSelected() then
SCREEN_NARRATION_MANAGER:QueueParametricListEntry(self.inventory.list)
end
end)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:283 -- self.improvementSlot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:300 -- self.spinner:RegisterCallback("OnValueChanged", function(value)
self:RefreshImprovementChance()
KEYBIND_STRIP:UpdateKeybindButtonGroup(self.keybindStripDescriptor)
end)
- ingame/crafting/gamepad/smithingresearch_gamepad.lua:26 -- scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
local tabBarEntries = self:GenerateTabBarEntries()
self.focus:Activate()
self.owner:SetEnableSkillBar(true)
local savedFilter = self.typeFilter
local titleString = ZO_GamepadCraftingUtils_GetLineNameForCraftingType(GetCraftingInteractionType())
ZO_GamepadCraftingUtils_SetupGenericHeader(self.owner, titleString, tabBarEntries)
ZO_GamepadCraftingUtils_RefreshGenericHeader(self.owner)
self:SetupTabBar(tabBarEntries, savedFilter)
self:Refresh()
local NARRATE_HEADER = true
SCREEN_NARRATION_MANAGER:QueueFocus(self.focus, NARRATE_HEADER)
elseif newState == SCENE_HIDING then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.focus:Deactivate()
self.owner:SetEnableSkillBar(false)
ZO_GamepadGenericHeader_Deactivate(self.owner.header)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
end
end)
- ingame/crafting/gamepad/smithingresearch_gamepad.lua:57 -- GAMEPAD_SMITHING_RESEARCH_CONFIRM_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
local function AddEntry(data)
local entry = ZO_GamepadEntryData:New(data.name)
entry:InitializeCraftingInventoryVisualData(data.bag, data.index, data.stack)
self.confirmList:AddEntry(CONFIRM_TEMPLATE_NAME, entry)
end
local function IsResearchableItem(bagId, slotIndex)
return ZO_SharedSmithingResearch.IsResearchableItem(bagId, slotIndex, self.confirmCraftingType, self.confirmResearchLineIndex, self.confirmTraitIndex)
end
local confirmPanel = self.panelContent:GetNamedChild("Confirm")
confirmPanel:GetNamedChild("SelectionText"):SetText(GetString(SI_GAMEPAD_SMITHING_RESEARCH_SELECT_ITEM))
self.confirmList:Clear()
local virtualInventoryList = PLAYER_INVENTORY:GenerateListOfVirtualStackedItems(INVENTORY_BACKPACK, IsResearchableItem)
if self.savedVars.includeBankedItemsChecked then
PLAYER_INVENTORY:GenerateListOfVirtualStackedItems(INVENTORY_BANK, IsResearchableItem, virtualInventoryList)
end
for itemId, itemInfo in pairs(virtualInventoryList) do
itemInfo.name = zo_strformat(SI_TOOLTIP_ITEM_NAME, GetItemName(itemInfo.bag, itemInfo.index))
AddEntry(itemInfo)
end
self.confirmList:Commit()
self.confirmList:Activate()
KEYBIND_STRIP:AddKeybindButtonGroup(self.confirmKeybindStripDescriptor)
elseif newState == SCENE_HIDING then
self.confirmList:Deactivate()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.confirmKeybindStripDescriptor)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
end
end)
- ingame/crafting/gamepad/smithingresearch_gamepad.lua:410 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", function()
if self.focus:IsActive() then
local NARRATE_HEADER = true
SCREEN_NARRATION_MANAGER:QueueFocus(self.focus, NARRATE_HEADER)
end
end)
- ingame/crafting/gamepad/smithing_gamepad.lua:32 -- scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
TriggerTutorial(self.GetTutorialTrigger(self, GetCraftingInteractionType(), mode))
end
end)
- ingame/crafting/gamepad/smithing_gamepad.lua:77 -- specificModeSceneGroup:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_GROUP_HIDDEN then
self:ResetMode()
end
end)
- ingame/crafting/gamepad/smithing_gamepad.lua:89 -- GAMEPAD_SMITHING_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
local craftingType = GetCraftingInteractionType()
self.creationPanel:PerformDeferredInitialization()
self.researchPanel:PerformDeferredInitialization()
self:RefreshModeList(craftingType)
self.resetUIs = self.resetUIs or self.oldCraftingType ~= craftingType
self.refinementPanel:SetCraftingType(craftingType, self.oldCraftingType, self.resetUIs)
self.creationPanel:SetCraftingType(craftingType, self.oldCraftingType, self.resetUIs)
self.improvementPanel:SetCraftingType(craftingType, self.oldCraftingType, self.resetUIs)
self.deconstructionPanel:SetCraftingType(craftingType, self.oldCraftingType, self.resetUIs)
self.researchPanel:SetCraftingType(craftingType, self.oldCraftingType, self.resetUIs)
self.oldCraftingType = craftingType
self:ResetMode()
if self.resetUIs then
self.modeList:SetSelectedIndexWithoutAnimation(SMITHING_MODE_REFINEMENT)
end
self:SetEnableSkillBar(true)
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self.modeList:Activate()
local titleString = ZO_GamepadCraftingUtils_GetLineNameForCraftingType(craftingType)
ZO_GamepadCraftingUtils_SetupGenericHeader(self, titleString)
ZO_GamepadCraftingUtils_RefreshGenericHeader(self)
self.resetUIs = nil
elseif newState == SCENE_HIDDEN then
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.modeList:Deactivate()
self:DirtyAllPanels()
self:SetEnableSkillBar(false)
end
end)
- ingame/crafting/gamepad/universaldeconstructionpanel_gamepad.lua:77 -- scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWN then
TriggerTutorial(TUTORIAL_TRIGGER_UNIVERSAL_DECONSTRUCTION_OPENED)
self:RefreshFilter()
elseif newState == SCENE_SHOWING then
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self:RefreshAccessibleCraftingTypeFilters()
self.inventory:Activate()
ZO_GamepadCraftingUtils_SetupGenericHeader(self.universalDeconstructionParent, nil, self.tabBarEntries)
ZO_GamepadCraftingUtils_RefreshGenericHeader(self.universalDeconstructionParent)
ZO_GamepadGenericHeader_Activate(self.universalDeconstructionParent.header)
self:RemoveItemFromCraft()
self.universalDeconstructionParent:SetEnableSkillBar(true)
self:ClearSelections()
self.inventory:HandleDirtyEvent()
self.inventory:PerformFullRefresh()
GAMEPAD_CRAFTING_RESULTS:SetForceCenterResultsText(true)
GAMEPAD_CRAFTING_RESULTS:ModifyAnchor(ZO_Anchor:New(RIGHT, GuiRoot, RIGHT, -310, -175))
elseif newState == SCENE_HIDDEN then
self.itemActions:SetInventorySlot(nil)
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
self.inventory:Deactivate()
self.tooltip.tip:ClearLines()
self.tooltip:SetHidden(true)
self:ClearSelections()
self.inventory:HandleDirtyEvent()
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
ZO_GamepadGenericHeader_Deactivate(self.universalDeconstructionParent.header)
self.universalDeconstructionParent:SetEnableSkillBar(false)
GAMEPAD_CRAFTING_RESULTS:SetForceCenterResultsText(false)
GAMEPAD_CRAFTING_RESULTS:RestoreAnchor()
end
end)
- ingame/crafting/gamepad/universaldeconstructionpanel_gamepad.lua:124 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
if SCENE_MANAGER:IsShowing("universalDeconstructionSceneGamepad") then
ZO_GamepadGenericHeader_Deactivate(self.universalDeconstructionParent.header)
end
end)
- ingame/crafting/gamepad/universaldeconstructionpanel_gamepad.lua:130 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
if SCENE_MANAGER:IsShowing("universalDeconstructionSceneGamepad") then
self:RefreshTooltip()
ZO_GamepadGenericHeader_Activate(self.universalDeconstructionParent.header)
end
end)
- ingame/crafting/gamepad/zo_craftingoptionsdialog_gamepad.lua:271 -- dropdown:RegisterCallback("OnHideDropdown", OnCraftingFilterComboBoxSelectionChanged)
- ingame/crafting/keyboard/alchemy_keyboard.lua:48 -- ALCHEMY_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
TriggerTutorial(TUTORIAL_TRIGGER_ALCHEMY_OPENED)
self.inventory:SetActiveFilterByDescriptor(nil)
self.inventory:UpdateMode()
-- Reselect so we re-add the temporary fragment for the recipe mode
-- and setup/update the tooltip and corresponding sounds correctly
local oldMode = self.mode
self.mode = nil
ZO_MenuBar_ClearSelection(self.modeBar)
if not oldMode then
ZO_MenuBar_SelectDescriptor(self.modeBar, ZO_ALCHEMY_MODE_CREATION)
else
ZO_MenuBar_SelectDescriptor(self.modeBar, oldMode)
end
if CRAFT_ADVISOR_MANAGER:HasActiveWrits() then
SCENE_MANAGER:AddFragmentGroup(WRIT_ADVISOR_KEYBOARD_FRAGMENT_GROUP)
end
elseif newState == SCENE_HIDDEN then
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.inventory:HandleDirtyEvent()
CRAFTING_RESULTS:SetCraftingTooltip(nil)
SCENE_MANAGER:RemoveFragmentGroup(WRIT_ADVISOR_KEYBOARD_FRAGMENT_GROUP)
end
end)
- ingame/crafting/keyboard/alchemy_keyboard.lua:172 -- self.solventSlot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/crafting/keyboard/alchemy_keyboard.lua:175 -- self.solventSlot:RegisterCallback("ItemSlotted", function(bagId, slotIndex)
self:OnSolventSlotted(bagId, slotIndex)
end)
- ingame/crafting/keyboard/alchemy_keyboard.lua:187 -- slot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
self:UpdateReagentTraits()
end)
- ingame/crafting/keyboard/alchemy_keyboard.lua:415 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
ZO_CheckButton_SetCheckState(self.questFilterCheckButton, self.savedVars.questsOnlyChecked)
end)
- ingame/crafting/keyboard/craftadvisor_activewrit_keyboard.lua:24 -- WRIT_ADVISOR_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
end
end)
- ingame/crafting/keyboard/craftadvisor_activewrit_keyboard.lua:30 -- CRAFT_ADVISOR_MANAGER:RegisterCallback("QuestMasterListUpdated", function(updatedQuestList)
self.questMasterList = updatedQuestList
self:RefreshQuestList()
end)
- ingame/crafting/keyboard/craftadvisor_activewrit_keyboard.lua:40 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftCompleted)
- ingame/crafting/keyboard/craftadvisor_activewrit_keyboard.lua:43 -- CALLBACK_MANAGER:RegisterCallback("AlchemyInfoReady", function()
local treeNode = self.questIndexToTreeNode[self.currentlySelectedQuestIndex]
if treeNode then
local questData = treeNode.data
--Make sure we don't actually add the same message a bunch of times
if not treeNode.alreadyChecked then
for _, conditionInfo in ipairs(questData.conditionData) do
local _, curCount, maxCount = GetJournalQuestConditionInfo(questData.questIndex, QUEST_MAIN_STEP_INDEX, conditionInfo.conditionIndex)
local missingMessage, missingDescription = CRAFT_ADVISOR_MANAGER:GetMissingMessage(conditionInfo, curCount, maxCount)
if missingMessage then
local missingNode = self.navigationTree:AddNode("ZO_ActiveWritNavigationEntry", {errorHeader = missingMessage, errorText = missingDescription, missing = true}, treeNode)
end
end
treeNode.alreadyChecked = true
end
end
end)
- ingame/crafting/keyboard/craftadvisor_activewrit_keyboard.lua:62 -- CRAFT_ADVISOR_MANAGER:RegisterCallback("SelectedQuestConditionsUpdated", function() self:RefreshQuestList() end)
- ingame/crafting/keyboard/craftadvisor_keyboard.lua:17 -- CRAFT_ADVISOR_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/crafting/keyboard/craftinginventory.lua:13 -- sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/crafting/keyboard/craftingresults_keyboard.lua:257 -- self.notifier:RegisterCallback("LastControlReleased", OnLastControlReleased)
- ingame/crafting/keyboard/craftingresults_keyboard.lua:350 -- CRAFTING_RESULTS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_HIDDEN then
CRAFTING_RESULTS:OnHidden()
end
end)
- ingame/crafting/keyboard/enchanting_keyboard.lua:35 -- ENCHANTING_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnModeUpdated()
if CRAFT_ADVISOR_MANAGER:HasActiveWrits() then
SCENE_MANAGER:AddFragmentGroup(WRIT_ADVISOR_KEYBOARD_FRAGMENT_GROUP)
end
elseif newState == SCENE_HIDDEN then
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.inventory:HandleDirtyEvent()
CRAFTING_RESULTS:SetCraftingTooltip(nil)
SCENE_MANAGER:RemoveFragmentGroup(WRIT_ADVISOR_KEYBOARD_FRAGMENT_GROUP)
end
end)
- ingame/crafting/keyboard/enchanting_keyboard.lua:143 -- slot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/crafting/keyboard/enchanting_keyboard.lua:193 -- self.extractionSlot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/crafting/keyboard/enchanting_keyboard.lua:480 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
ZO_CheckButton_SetCheckState(self.questFilterCheckButton, self.savedVars.questsOnlyChecked)
end)
- ingame/crafting/keyboard/fishfillet_keyboard.lua:22 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", UpdateMultiFilletSpinner)
- ingame/crafting/keyboard/fishfillet_keyboard.lua:23 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", UpdateMultiFilletSpinner)
- ingame/crafting/keyboard/provisioner.lua:40 -- self.multiCraftSpinner:RegisterCallback("OnValueChanged", function()
self:RefreshRecipeDetails()
end)
- ingame/crafting/keyboard/provisioner.lua:78 -- PROVISIONER_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:ResetMultiCraftNumIterations()
SYSTEMS:GetObject("craftingResults"):SetCraftingTooltip(self.resultTooltip)
KEYBIND_STRIP:AddKeybindButtonGroup(self.mainKeybindStripDescriptor)
elseif newState == SCENE_FRAGMENT_SHOWN then
self:RefreshRecipeDetails()
elseif newState == SCENE_FRAGMENT_HIDDEN then
SYSTEMS:GetObject("craftingResults"):SetCraftingTooltip(nil)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.mainKeybindStripDescriptor)
-- when we hide this fragment make sure to end the preview and toggle the camera back to normal,
-- since we may still be staying in the crafting scene
if ITEM_PREVIEW_KEYBOARD:IsInteractionCameraPreviewEnabled() then
self:TogglePreviewMode()
end
end
end)
- ingame/crafting/keyboard/provisioner.lua:98 -- PROVISIONER_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:ConfigureFromSettings(ZO_Provisioner.PROVISIONING_SETTINGS)
local craftingType = GetCraftingInteractionType()
local isCraftingTypeDifferent = self.oldCraftingType ~= craftingType
self.filletPanel:SetCraftingType(craftingType, self.oldCraftingType, isCraftingTypeDifferent)
if self.filterType == PROVISIONER_SPECIAL_INGREDIENT_TYPE_FILLET then
TriggerTutorial(TUTORIAL_TRIGGER_FILLETING_OPENED)
else
TriggerTutorial(TUTORIAL_TRIGGER_PROVISIONING_OPENED)
end
if CRAFT_ADVISOR_MANAGER:HasActiveWrits() then
SCENE_MANAGER:AddFragmentGroup(WRIT_ADVISOR_KEYBOARD_FRAGMENT_GROUP)
end
elseif newState == SCENE_HIDDEN then
SCENE_MANAGER:RemoveFragmentGroup(WRIT_ADVISOR_KEYBOARD_FRAGMENT_GROUP)
end
end)
- ingame/crafting/keyboard/smithingcreation_keyboard.lua:208 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function() ZO_CheckButton_SetCheckState(self.haveMaterialsCheckBox, self.savedVars.haveMaterialChecked)
ZO_CheckButton_SetCheckState(self.haveKnowledgeCheckBox, self.savedVars.haveKnowledgeChecked)
ZO_CheckButton_SetCheckState(self.useUniversalStyleItemCheckBox, self.savedVars.useUniversalStyleItemChecked)
ZO_CheckButton_SetCheckState(self.isQuestItemCheckbox, self.savedVars.questsOnlyChecked)
end)
- ingame/crafting/keyboard/smithingextraction_keyboard.lua:36 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
ZO_CheckButton_SetCheckState(self.includeBankedItemsCheckbox, self.savedVars.includeBankedItemsChecked)
end)
- ingame/crafting/keyboard/smithingextraction_keyboard.lua:114 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", UpdateMultiRefineSpinner)
- ingame/crafting/keyboard/smithingextraction_keyboard.lua:115 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", UpdateMultiRefineSpinner)
- ingame/crafting/keyboard/smithingimprovement_keyboard.lua:50 -- self.improvementSlot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/crafting/keyboard/smithingimprovement_keyboard.lua:66 -- self.spinner:RegisterCallback("OnValueChanged", function(value)
self:RefreshImprovementChance()
end)
- ingame/crafting/keyboard/smithingresearch_keyboard.lua:74 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
ZO_CheckButton_SetCheckState(self.includeBankedItemsCheckbox, self.savedVars.includeBankedItemsChecked)
end)
- ingame/crafting/keyboard/smithing_keyboard.lua:18 -- SMITHING_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
local craftingType = GetCraftingInteractionType()
ZO_Skills_TieSkillInfoHeaderToCraftingSkill(self.control:GetNamedChild("SkillInfo"), craftingType)
local isCraftingTypeDifferent = not self.interactingWithSameStation or self.oldCraftingType ~= craftingType
self.refinementPanel:SetCraftingType(craftingType, self.oldCraftingType, isCraftingTypeDifferent)
self.creationPanel:SetCraftingType(craftingType, self.oldCraftingType, isCraftingTypeDifferent)
self.improvementPanel:SetCraftingType(craftingType, self.oldCraftingType, isCraftingTypeDifferent)
self.deconstructionPanel:SetCraftingType(craftingType, self.oldCraftingType, isCraftingTypeDifferent)
self.researchPanel:SetCraftingType(craftingType, self.oldCraftingType, isCraftingTypeDifferent)
self.oldCraftingType = craftingType
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self:AddTabsToMenuBar(craftingType, isCraftingTypeDifferent)
elseif newState == SCENE_HIDDEN then
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self:DirtyAllPanels()
ZO_Skills_UntieSkillInfoHeaderToCraftingSkill(self.control:GetNamedChild("SkillInfo"))
CRAFTING_RESULTS:SetCraftingTooltip(nil)
end
end)
- ingame/crafting/keyboard/universaldeconstructionpanel_keyboard.lua:37 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
ZO_CheckButton_SetCheckState(self.includeBankedItemsCheckbox, self.savedVars.includeBankedItemsChecked)
end)
- ingame/crafting/keyboard/universaldeconstruction_keyboard.lua:54 -- self.scene:RegisterCallback("StateChange", OnSceneStateChanged)
- ingame/crowncrates/crowncrates.lua:87 -- self.stateMachine:RegisterCallback("OnStateChange", OnStateChangeCallback)
- ingame/crowncrates/crowncrates.lua:107 -- CROWN_CRATE_KEYBOARD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
self.sceneName = "crownCrateKeyboard"
SharedStateChangeCallback(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitializationKeyboard()
self:AddApplicableInputTypeKeybinds()
end
end)
- ingame/crowncrates/crowncrates.lua:117 -- CROWN_CRATE_GAMEPAD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
self.sceneName = "crownCrateGamepad"
SharedStateChangeCallback(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitializationGamepad()
self:AddApplicableInputTypeKeybinds()
end
end)
- ingame/crowncrates/crowncratespackopening.lua:1416 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", RefreshActivateCollectibleBindingKeybindings)
- ingame/crowncrates/crowncratespackopening.lua:1417 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", RefreshActivateCollectibleBindingKeybindings)
- ingame/crowncrates/crowncratestatemachine.lua:242 -- self:GetEdgeByName("MANIFEST_PAGE_OUT_TO_MANIFEST_PAGE_IN"):RegisterCallback("OnTrigger", function()
self.packChoosing:SetupForPageIn()
end)
- ingame/crowncrates/crowncratestatemachine.lua:247 -- self:GetStateByName("START"):RegisterCallback("OnActivated", function()
SetCrownCrateNPCVisible(false)
self.packChoosing:ResetPacks()
self.packOpening:ResetCards()
local IMMEDIATE = true
SetFullscreenEffect(FULLSCREEN_EFFECT_NONE, 0, 0, IMMEDIATE)
end)
- ingame/crowncrates/crowncratestatemachine.lua:255 -- self:GetStateByName("SUMMON_CAT"):RegisterCallback("OnActivated", function()
SetCrownCrateNPCVisible(true)
end)
- ingame/crowncrates/crowncratestatemachine.lua:259 -- self:GetEdgeByName("SUMMON_CAT_TO_MANIFEST_IN"):RegisterCallback("OnTrigger", function()
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_GREET_PLAYER)
end)
- ingame/crowncrates/crowncratestatemachine.lua:263 -- self:GetStateByName("MANIFEST_IN"):RegisterCallback("OnActivated", function()
self.manager:LockLocalSpaceToCurrentCamera()
self.packChoosing:Show()
SetFullscreenEffect(FULLSCREEN_EFFECT_CHARACTER_FRAMING_BLUR, 2, 0)
PlaySound(SOUNDS.CROWN_CRATES_MANIFEST_IN)
--NPC passively reacts to your current supply of crates
local numOwnedCrateTypes = GetNumOwnedCrownCrateTypes()
if numOwnedCrateTypes == 0 then
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_MANIFEST_ENTER_NO_CRATES)
elseif numOwnedCrateTypes == 1 then
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_MANIFEST_ENTER_ONE_CRATES)
else
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_MANIFEST_ENTER_MULTI_CRATES)
end
end)
- ingame/crowncrates/crowncratestatemachine.lua:279 -- self:GetStateByName("MANIFEST"):RegisterCallback("OnActivated", function()
self.packChoosing:OnActivate()
end)
- ingame/crowncrates/crowncratestatemachine.lua:283 -- self:GetStateByName("MANIFEST"):RegisterCallback("OnDeactivating", function()
self.packChoosing:OnDeactivate()
end)
- ingame/crowncrates/crowncratestatemachine.lua:287 -- self:GetStateByName("MANIFEST_OUT_FOR_DEAL"):RegisterCallback("OnActivated", function()
self.packChoosing:AnimateChoice()
PlaySound(SOUNDS.CROWN_CRATES_MANIFEST_OUT)
--Start the flourish while we wait so it doesn't feel unresponsive
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_FLOURISH)
end)
- ingame/crowncrates/crowncratestatemachine.lua:294 -- self:GetStateByName("MANIFEST_OUT_FOR_GEMIFICATION"):RegisterCallback("OnActivated", function()
self.packChoosing:Hide()
end)
- ingame/crowncrates/crowncratestatemachine.lua:298 -- self:GetStateByName("MANIFEST_OUT_FOR_GEMIFICATION"):RegisterCallback("OnDeactivating", function()
self.packChoosing:ResetPacks()
end)
- ingame/crowncrates/crowncratestatemachine.lua:302 -- self:GetStateByName("GEMIFICATION"):RegisterCallback("OnActivated", function()
local gemificationSystem
if SCENE_MANAGER:IsCurrentSceneGamepad() then
gemificationSystem = self.gemificationGamepad
else
gemificationSystem = self.gemificationKeyboard
end
gemificationSystem:InsertIntoScene()
SCENE_MANAGER:AddFragment(self.gemificationSlot:GetFragment())
end)
- ingame/crowncrates/crowncratestatemachine.lua:313 -- self:GetStateByName("GEMIFICATION"):RegisterCallback("OnDeactivating", function()
SCENE_MANAGER:RemoveFragment(self.gemificationSlot:GetFragment())
end)
- ingame/crowncrates/crowncratestatemachine.lua:317 -- self:GetStateByName("MANIFEST_OUT_FOR_DEAL"):RegisterCallback("OnDeactivating", function()
self.packChoosing:ResetPacks()
SetFullscreenEffect(FULLSCREEN_EFFECT_NONE)
end)
- ingame/crowncrates/crowncratestatemachine.lua:322 -- self:GetStateByName("CAT_PRIMARY_DEAL"):RegisterCallback("OnActivated", function()
self.packOpening:ResetCards()
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_DEAL_PRIMARY_CARDS)
end)
- ingame/crowncrates/crowncratestatemachine.lua:327 -- self:GetStateByName("UI_PRIMARY_DEAL"):RegisterCallback("OnActivated", function()
local success, worldX, worldY, worldZ = GetCrownCrateNPCBoneWorldPosition(GetCrownCrateNPCCardThrowingBoneName())
if success then
local localX, localY, localZ = self.manager:GetCameraLocalPositionFromWorldPosition(worldX, worldY, worldZ)
self.packOpening:StartPrimaryDealAnimation(localX, localY, localZ)
end
PlaySound(SOUNDS.CROWN_CRATES_DEAL_PRIMARY)
end)
- ingame/crowncrates/crowncratestatemachine.lua:336 -- self:GetStateByName("UI_PRIMARY_DEAL"):RegisterCallback("OnDeactivating", function()
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_PRIMARY_CARDS_DEALT)
end)
- ingame/crowncrates/crowncratestatemachine.lua:340 -- self:GetStateByName("CAT_BONUS_DEAL"):RegisterCallback("OnActivated", function()
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_DEAL_BONUS_CARDS)
end)
- ingame/crowncrates/crowncratestatemachine.lua:344 -- self:GetStateByName("UI_BONUS_DEAL"):RegisterCallback("OnActivated", function()
local success, worldX, worldY, worldZ = GetCrownCrateNPCBoneWorldPosition(GetCrownCrateNPCCardThrowingBoneName())
if success then
local localX, localY, localZ = self.manager:GetCameraLocalPositionFromWorldPosition(worldX, worldY, worldZ)
self.packOpening:StartBonusDealAnimation(localX, localY, localZ)
end
PlaySound(SOUNDS.CROWN_CRATES_DEAL_BONUS)
end)
- ingame/crowncrates/crowncratestatemachine.lua:353 -- self:GetStateByName("ACTIVE_HAND_MANIPULATION"):RegisterCallback("OnActivated", function()
self.packOpening:OnDealComplete()
self.packOpening:AddHandManipulationKeybinds()
self.packOpening:RefreshSelectedCard()
end)
- ingame/crowncrates/crowncratestatemachine.lua:359 -- self:GetStateByName("ACTIVE_HAND_MANIPULATION"):RegisterCallback("OnDeactivating", function()
self.packOpening:RemoveHandManipulationKeybinds()
end)
- ingame/crowncrates/crowncratestatemachine.lua:363 -- self:GetStateByName("ALL_REVEALED"):RegisterCallback("OnActivated", function()
self.packOpening:AddAllRevealedKeybinds()
--NPC passively reacts to you being done, depending on your current supply of crates
if GetNumOwnedCrownCrateTypes() == 0 then
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_ALL_CARDS_REVEALED_NO_CRATES)
else
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_ALL_CARDS_REVEALED_HAS_CRATES)
end
end)
- ingame/crowncrates/crowncratestatemachine.lua:373 -- self:GetStateByName("ALL_REVEALED"):RegisterCallback("OnDeactivating", function()
self.packOpening:RemoveAllRevealedKeybinds()
end)
- ingame/crowncrates/crowncratestatemachine.lua:377 -- self:GetStateByName("CARDS_OUT_BACK"):RegisterCallback("OnActivated", function()
self.packOpening:StartLeaveAnimation()
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_SWIPE_CARDS_AWAY)
end)
- ingame/crowncrates/crowncratestatemachine.lua:382 -- self:GetStateByName("CARDS_OUT_NEXT"):RegisterCallback("OnActivated", function()
local currentCrownCrateId = GetCurrentCrownCrateId()
SendCrownCrateOpenRequest(currentCrownCrateId)
self.packOpening:StartLeaveAnimation()
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_SWIPE_CARDS_AWAY)
--Start the shuffle while we wait so it doesn't feel unresponsive
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_SHUFFLE_CARDS)
end)
- ingame/crowncrates/crowncratestatemachine.lua:391 -- self:GetStateByName("MANIFEST_PAGE_OUT"):RegisterCallback("OnActivated", function()
self.packChoosing:StartPageOutAnimation()
end)
- ingame/crowncrates/crowncratestatemachine.lua:395 -- self:GetStateByName("MANIFEST_PAGE_IN"):RegisterCallback("OnActivated", function()
self.packChoosing:StartPageShowAnimation()
end)
- ingame/crowncrates/crowngemificationslot.lua:107 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
Set3DRenderSpaceToCurrentCamera(self.control:GetName())
self:RefreshCameraPlaneMetrics()
self.card:SetHidden(false)
elseif newState == SCENE_FRAGMENT_HIDDEN then
self.card:SetHidden(true)
end
end)
- ingame/crowncrates/crowngemificationslot.lua:133 -- CROWN_GEMIFICATION_MANAGER:RegisterCallback("GemifiableListChanged", function() self:OnGemifiableListChanged() end)
- ingame/crowncrates/crowngemificationslot.lua:134 -- CROWN_GEMIFICATION_MANAGER:RegisterCallback("GemifiableChanged", function(gemifiable) self:OnGemifiableChanged(gemifiable) end)
- ingame/crowncrates/crowngemification_manager.lua:159 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", function(bagId) self:OnFullInventoryUpdate(bagId) end)
- ingame/crowncrates/crowngemification_manager.lua:160 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", function(...) self:OnSingleSlotInventoryUpdate(...) end)
- ingame/crowncrates/crowngemification_shared.lua:14 -- CROWN_GEMIFICATION_MANAGER:RegisterCallback("GemifiableListChanged", function() self:OnGemifiableListChanged() end)
- ingame/crowncrates/crowngemification_shared.lua:15 -- CROWN_GEMIFICATION_MANAGER:RegisterCallback("GemifiableChanged", function(gemifiable) self:OnGemifiableChanged(gemifiable) end)
- ingame/crowncrates/crowngemification_shared.lua:29 -- self.listFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/crowncrates/crowngemification_shared.lua:37 -- self.gemificationSlot:RegisterCallback("GemifiableChanged", function()
if self.listFragment:IsShowing() then
KEYBIND_STRIP:UpdateKeybindButtonGroup(self.sharedKeybindStripDescriptor, self.keybindStripId)
end
end)
- ingame/dailyloginrewards/gamepad/dailyloginrewards_gamepad.lua:31 -- GAMEPAD_DAILY_LOGIN_PREVIEW_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnPreviewShowing()
elseif newState == SCENE_SHOWN then
self:OnPreviewShown()
elseif newState == SCENE_HIDING then
self:OnPreviewHiding()
elseif newState == SCENE_HIDDEN then
self:OnPreviewHidden()
end
end)
- ingame/dailyloginrewards/keyboard/dailyloginrewards_keyboard.lua:27 -- DAILY_LOGIN_REWARDS_KEYBOARD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnShowing()
elseif newState == SCENE_HIDING then
self:OnHiding()
elseif newState == SCENE_HIDDEN then
self:OnHidden()
end
end)
- ingame/death/death.lua:542 -- DEATH_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
death:UpdateBindingLayer()
end)
- ingame/deathrecap/deathrecap.lua:13 -- DEATH_RECAP:RegisterCallback("OnDeathRecapAvailableChanged", function() self:RefreshEnabled() end)
- ingame/deathrecap/deathrecap.lua:68 -- CALLBACK_MANAGER:RegisterCallback("UnitFramesCreated", function() self:OnUnitFramesCreated() end)
- ingame/deathrecap/deathrecap.lua:71 -- DEATH_RECAP_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
self:RefreshBossBarVisibility()
self:RefreshUnitFrameVisibility()
if newState == SCENE_FRAGMENT_SHOWING then
if self.animateOnShow then
self.animateOnShow = nil
self:Animate()
end
end
end)
- ingame/dyeing/dyestamp_confirmation_shared.lua:13 -- scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWN then
self:OnShown()
elseif newState == SCENE_HIDDEN then
self:OnHidden()
end
end)
- ingame/dyeing/gamepad/dyeing_gamepad.lua:30 -- ZO_DYEING_MANAGER:RegisterCallback("UpdateDyeLists", UpdateUnlockedDyes)
- ingame/dyeing/gamepad/dyeing_gamepad.lua:31 -- ZO_DYEING_MANAGER:RegisterCallback("UpdateDyeData", UpdateUnlockedDyes)
- ingame/dyeing/keyboard/dyeing_keyboard.lua:37 -- KEYBOARD_DYEING_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
TriggerTutorial(TUTORIAL_TRIGGER_DYEING_OPENED)
if IsESOPlusSubscriber() then
TriggerTutorial(TUTORIAL_TRIGGER_DYEING_OPENED_AS_SUBSCRIBER)
end
self:UpdateOptionControls()
if self.dyeLayoutDirty then
self:LayoutDyes()
end
self:RefreshSavedSets()
if not ZO_MenuBar_GetSelectedDescriptor(self.toolsTabs) then
self.suppressSounds = true
ZO_MenuBar_SelectDescriptor(self.toolsTabs, self.dyeTool)
self.suppressSounds = false
end
elseif newState == SCENE_FRAGMENT_HIDING then
if ZO_MenuBar_GetSelectedDescriptor(self.toolsTabs) then
self.suppressSounds = true
ZO_MenuBar_SelectDescriptor(self.toolsTabs, self.dyeTool)
self.suppressSounds = false
end
end
end)
- ingame/dyeing/keyboard/dyeing_keyboard.lua:70 -- ZO_DYEING_MANAGER:RegisterCallback("UpdateDyeData", UpdateDyeLayout)
- ingame/dyeing/keyboard/dyeing_keyboard.lua:71 -- ZO_DYEING_MANAGER:RegisterCallback("UpdateDyeLists", UpdateDyeLayout)
- ingame/dyeing/keyboard/dyeing_keyboard.lua:72 -- ZO_DYEING_MANAGER:RegisterCallback("UpdateSearchResults", UpdateDyeLayout)
- ingame/dyeing/keyboard/dyeing_keyboard.lua:73 -- ZO_DYEING_MANAGER:RegisterCallback("OptionsInfoAvailable", function() self:UpdateOptionControls() end)
- ingame/fence/fence_base.lua:12 -- FENCE_MANAGER:RegisterCallback("FenceOpened", function(enableSell, enableLaunder) self:OnOpened(enableSell, enableLaunder) end)
- ingame/fence/fence_base.lua:13 -- FENCE_MANAGER:RegisterCallback("FenceClosed", function() self:OnClosed() end)
- ingame/fence/fence_base.lua:14 -- FENCE_MANAGER:RegisterCallback("FenceSellSuccess", function() self:OnSellSuccess() end)
- ingame/fence/fence_base.lua:15 -- FENCE_MANAGER:RegisterCallback("FenceLaunderSuccess", function() self:OnLaunderSuccess() end)
- ingame/fence/fence_base.lua:16 -- FENCE_MANAGER:RegisterCallback("FenceInventoryUpdated", function() self:OnInventoryUpdate() end)
- ingame/fence/fence_base.lua:17 -- FENCE_MANAGER:RegisterCallback("FenceUpdated", function(totalSells, sellsUsed, totalLaunders, laundersUsed) self:OnFenceStateUpdated(totalSells, sellsUsed, totalLaunders, laundersUsed) end)
- ingame/fence/fence_base.lua:18 -- FENCE_MANAGER:RegisterCallback("FenceEnterSell", function(totalSells, sellsUsed) self:OnEnterSell(totalSells, sellsUsed) end)
- ingame/fence/fence_base.lua:19 -- FENCE_MANAGER:RegisterCallback("FenceEnterLaunder", function(totalLaunders, laundersUsed) self:OnEnterLaunder(totalLaunders, laundersUsed) end)
- ingame/fence/gamepad/fencewindowcomponent_gamepad.lua:9 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RegisterEvents()
self.isCurrentSelectionDirty = true
self:Refresh()
self:RefreshFooter()
self:ShowFenceBar()
elseif newState == SCENE_HIDING then
self:UnregisterEvents()
self:HideFenceBar()
GAMEPAD_TOOLTIPS:ClearTooltip(GAMEPAD_RIGHT_TOOLTIP)
ZO_Dialogs_ReleaseDialog("CANT_BUYBACK_FROM_FENCE")
end
end)
- ingame/fence/gamepad/fence_gamepad.lua:22 -- storeScene:RegisterCallback("StateChange", StateChanged)
- ingame/fence/keyboard/fence_keyboard.lua:23 -- FENCE_SCENE:RegisterCallback("StateChange",
function(oldState, newState)
if newState == SCENE_SHOWING then
self.modeBar:SelectFragment(SI_STORE_MODE_SELL)
elseif newState == SCENE_HIDDEN then
self.mode = nil
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.modeBar:Clear()
TEXT_SEARCH_MANAGER:DeactivateTextSearch("fenceTextSearch")
local INVENTORY_TYPE_LIST = { INVENTORY_BACKPACK }
local REMOVE_CONTEXT = nil
PLAYER_INVENTORY:SetContextForInventories(REMOVE_CONTEXT, INVENTORY_TYPE_LIST)
end
end)
- ingame/gamemenu_ingame/gamemenu_ingame.lua:122 -- gameMenuIngameFragment:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
PushActionLayerByName("GameMenu")
elseif(newState == SCENE_FRAGMENT_HIDING) then
RemoveActionLayerByName("GameMenu")
end
end)
- ingame/gamemenu_ingame/gamemenu_ingame.lua:137 -- CALLBACK_MANAGER:RegisterCallback("AddOnEULAHidden", UpdateNewStates)
- ingame/gamepad/gamepadtemplates/gamepadtemplates.lua:35 -- self.spinner:RegisterCallback("OnValueChanged", function(newValue) self:OnValueChanged(newValue) end)
- ingame/giftinventory/giftinventoryview_shared.lua:13 -- self.scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnShowing()
elseif newState == SCENE_HIDDEN then
self:OnHidden()
end
end)
- ingame/giftinventory/giftinventoryview_shared.lua:24 -- GIFT_INVENTORY_MANAGER:RegisterCallback("GiftActionResult", function(...) self:OnGiftActionResult(...) end)
- ingame/giftinventory/giftinventoryview_shared.lua:281 -- self:GetItemPreviewListHelper():RegisterCallback("RefreshActions", self.updateKeybindsCallback)
- ingame/giftinventory/gamepad/giftinventorycategory_gamepad.lua:15 -- GIFT_INVENTORY_MANAGER:RegisterCallback("GiftListsChanged", function(changedLists)
--find the most extreme change that a state list we are based on experienced
local highestChangeType = GIFT_INVENTORY_MANAGER:GetHighestChangeType(changedLists, unpack(self.listSupportedGiftStates))
if highestChangeType == ZO_GIFT_LIST_CHANGE_TYPE_LIST then
self:RefreshList()
elseif highestChangeType == ZO_GIFT_LIST_CHANGE_TYPE_SEEN then
self:RefreshVisible()
end
end)
- ingame/giftinventory/gamepad/giftinventory_gamepad.lua:29 -- GIFT_INVENTORY_MANAGER:RegisterCallback("GiftActionResult", function(...) self:OnGiftActionResult(...) end)
- ingame/giftinventory/keyboard/giftinventorycategory_keyboard.lua:14 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:SetLockedForUpdates(false)
self:AddKeybinds()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:SetLockedForUpdates(true)
self:RemoveKeybinds()
if #self.giftIdsToMarkViewedOnHide > 0 then
ViewGifts(unpack(self.giftIdsToMarkViewedOnHide))
ZO_ClearNumericallyIndexedTable(self.giftIdsToMarkViewedOnHide)
end
end
end)
- ingame/giftinventory/keyboard/giftinventorycategory_keyboard.lua:35 -- GIFT_INVENTORY_MANAGER:RegisterCallback("GiftListsChanged", function(changedLists)
--find the most extreme change that a state list we are based on experienced
local highestChangeType = GIFT_INVENTORY_MANAGER:GetHighestChangeType(changedLists, unpack(self.listSupportedGiftStates))
if highestChangeType == ZO_GIFT_LIST_CHANGE_TYPE_LIST then
self:RefreshData()
elseif highestChangeType == ZO_GIFT_LIST_CHANGE_TYPE_SEEN then
self:RefreshSort()
end
end)
- ingame/giftinventory/keyboard/giftinventory_keyboard.lua:15 -- scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:DeferredInitialize()
if self.queuedCategoryTagToSelect then
local nodeToSelect = self:GetCategoryNodeByCategoryTag(self.queuedCategoryTagToSelect)
if nodeToSelect then
self.navigationTree:SelectNode(nodeToSelect)
end
self.queuedCategoryTagToSelect = nil
end
if self.selectedCategoryObject then
self.selectedCategoryObject:Show()
end
if self.isDirty then
self.navigationTree:RefreshVisible()
self.isDirty = false
end
TriggerTutorial(TUTORIAL_TRIGGER_GIFT_INVENTORY_OPENED)
elseif newState == SCENE_HIDDEN then
if self.selectedCategoryObject then
self.selectedCategoryObject:Hide()
end
end
end)
- ingame/giftinventory/keyboard/giftinventory_keyboard.lua:107 -- GIFT_INVENTORY_MANAGER:RegisterCallback("GiftListsChanged", function(...) self:OnGiftListsChanged(...) end)
- ingame/globals/globals.lua:78 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_NOT_HANDLED_EVENT, OnLinkNotHandled)
- ingame/group/keyboard/zo_grouplist_keyboard.lua:49 -- GROUP_LIST_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_FRAGMENT_SHOWN then
self:RefreshData()
TriggerTutorial(TUTORIAL_TRIGGER_YOUR_GROUP_OPENED)
elseif newState == SCENE_FRAGMENT_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/group/keyboard/zo_groupmenu_keyboard.lua:38 -- KEYBOARD_GROUP_MENU_SCENE:RegisterCallback("StateChange", OnStateChange)
- ingame/group/keyboard/zo_groupmenu_keyboard.lua:47 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnUpdateGroupStatus", function(...) self:OnUpdateGroupStatus(...) end)
- ingame/group/keyboard/zo_groupmenu_keyboard.lua:48 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnLevelUpdate", RefreshCategories)
- ingame/group/keyboard/zo_groupmenu_keyboard.lua:50 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", RefreshCategories)
- ingame/guild/gamepad/guildheraldry_gamepad.lua:82 -- GUILD_HERALDRY_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
MAIN_MENU_MANAGER:SetBlockingScene("guildHeraldry_gamepad", OnBlockingSceneActivated)
self.pendingTransaction = false
self:PopulateCategories()
self:PopulateStyleCategoryLists() -- Depends on PopulateCategories being called first.
self.categoryList:Activate()
KEYBIND_STRIP:AddKeybindButtonGroup(self.categoryKeybindStripDescriptor)
self:RegisterEvents()
StartHeraldryCustomization(self.guildId)
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.globalKeybindStripDescriptor)
elseif newState == SCENE_HIDING then
EndHeraldryCustomization()
self:UnregisterEvents()
self:SetDirectionalInputEnabled(false)
self:SetPendingExit(false)
-- Remove all keybind groups that may have been added
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.globalKeybindStripDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.categoryKeybindStripDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.colorKeybindStripDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.styleCategoryKeybindStripDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.styleKeybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
self.activeKeybindStripDescriptor = nil
GAMEPAD_NAV_QUADRANT_1_BACKGROUND_FRAGMENT:TakeFocus()
-- Deactivate the active element to remove the tigger keybinds associated with the active control manager
if self.categoryList:IsActive() then
self.categoryList:Deactivate()
end
if self.colorGridList:IsActive() then
self.colorGridList:Deactivate()
end
self:DeactivateCurrentFocus()
end
end)
- ingame/guild/gamepad/guildhistory_gamepad.lua:70 -- GUILD_HISTORY_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:InitializeGuildHistory()
--The category list is shared among all the guild screens so it needs to be built each time screen shows
self:PopulateCategoryList()
self.categoryList:SetSelectedIndexWithoutAnimation(1)
self:RequestInitialEvents()
self:SelectCategoryList()
self.refreshGroup:TryClean()
elseif newState == SCENE_HIDING then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.keybindStripDescriptor = nil
GAMEPAD_NAV_QUADRANT_1_BACKGROUND_FRAGMENT:TakeFocus()
self.categoryList:Deactivate()
self.activityList:Deactivate()
end
end)
- ingame/guild/gamepad/guildroster_gamepad.lua:393 -- GUILD_RECRUITMENT_MANAGER:RegisterCallback("GuildPermissionsChanged", OnGuildPermissionChangedCallback)
- ingame/guild/gamepad/zo_guildhub_gamepad.lua:59 -- self.activeLinks:RegisterCallback("CycleLinks", function()
--Re-narrate when cycling between multiple links
SCREEN_NARRATION_MANAGER:QueueParametricListEntry(self.guildList)
end)
- ingame/guild/gamepad/zo_guildinfo_gamepad.lua:20 -- GUILD_INFO_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization(control)
self:RefreshScreen()
local function OnProfanityFilterChange()
self:RefreshScreen()
end
CALLBACK_MANAGER:RegisterCallback("ProfanityFilter_Off", OnProfanityFilterChange)
CALLBACK_MANAGER:RegisterCallback("ProfanityFilter_On", OnProfanityFilterChange)
elseif newState == SCENE_HIDING then
CALLBACK_MANAGER:UnregisterCallback("ProfanityFilter_Off")
CALLBACK_MANAGER:UnregisterCallback("ProfanityFilter_On")
end
end)
- ingame/guild/gamepad/zo_guildinfo_gamepad.lua:30 -- CALLBACK_MANAGER:RegisterCallback("ProfanityFilter_Off", OnProfanityFilterChange)
- ingame/guild/gamepad/zo_guildinfo_gamepad.lua:31 -- CALLBACK_MANAGER:RegisterCallback("ProfanityFilter_On", OnProfanityFilterChange)
- ingame/guild/gamepad/zo_guildranks_gamepad.lua:90 -- GUILD_RANKS_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:ResetRankSelection()
self:PerformDeferredInitialization()
self:ReloadAndRefreshScreen()
self:OnTargetChanged(self.rankList, self.rankList:GetTargetData())
self.owningScreen:SetListsUseTriggerKeybinds(true)
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
local OnRefresh = function()
self:ReloadAndRefreshScreen()
end
local OnRefreshMatchGuildId = function(_, guildId)
if self:MatchesGuild(guildId) then
self:RefreshScreen()
end
end
self.control:RegisterForEvent(EVENT_GUILD_DATA_LOADED, OnRefresh)
self.control:RegisterForEvent(EVENT_GUILD_RANKS_CHANGED, OnRefreshMatchGuildId)
self.control:RegisterForEvent(EVENT_GUILD_RANK_CHANGED, OnRefreshMatchGuildId)
self.control:RegisterForEvent(EVENT_SAVE_GUILD_RANKS_RESPONSE, OnRefreshMatchGuildId)
elseif newState == SCENE_HIDING then
self:RemoveUnusedFragments()
self:SetChangePermissionsEnabled(false)
self.rankIconPicker:Deactivate()
GAMEPAD_NAV_QUADRANT_1_BACKGROUND_FRAGMENT:TakeFocus()
if self.currentDropdown then
self.currentDropdown:Deactivate(true)
end
self.owningScreen:SetListsUseTriggerKeybinds(false)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.control:UnregisterForEvent(EVENT_GUILD_DATA_LOADED)
self.control:UnregisterForEvent(EVENT_GUILD_RANKS_CHANGED)
self.control:UnregisterForEvent(EVENT_GUILD_RANK_CHANGED)
self.control:UnregisterForEvent(EVENT_SAVE_GUILD_RANKS_RESPONSE)
if self:NeedsSave() then
PlaySound(SOUNDS.GUILD_RANK_SAVED)
self:Save()
end
end
end)
- ingame/guild/keyboard/guildcreate_keyboard.lua:17 -- GUILD_CREATE_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
KEYBIND_STRIP:AddKeybindButtonGroup(manager.keybindStripDescriptor)
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(manager.keybindStripDescriptor)
end
end)
- ingame/guild/keyboard/guildheraldry_keyboard.lua:87 -- GUILD_HERALDRY_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
StartHeraldryCustomization(self.guildId)
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
EndHeraldryCustomization()
self:SetPendingExit(false)
end
end)
- ingame/guild/keyboard/guildheraldry_keyboard.lua:130 -- CALLBACK_MANAGER:RegisterCallback("OnGuildSelected", OnGuildSelected)
- ingame/guild/keyboard/guildhistory_keyboard.lua:18 -- self.scene:RegisterCallback("StateChange", function(oldState, state)
if state == SCENE_SHOWING then
self.refreshGroup:TryClean()
self:RequestInitialEvents()
self:AddKeybinds()
elseif state == SCENE_HIDDEN then
self:RemoveKeybinds()
end
end)
- ingame/guild/keyboard/guildhome_keyboard.lua:32 -- manager.motd:RegisterCallback("Save", function(text) SetGuildMotD(manager.guildId, text) end)
- ingame/guild/keyboard/guildhome_keyboard.lua:41 -- manager.description:RegisterCallback("Save", function(text) SetGuildDescription(manager.guildId, text) end)
- ingame/guild/keyboard/guildhome_keyboard.lua:56 -- CALLBACK_MANAGER:RegisterCallback("ProfanityFilter_Off", function() manager:OnProfanityFilterChanged() end)
- ingame/guild/keyboard/guildhome_keyboard.lua:57 -- CALLBACK_MANAGER:RegisterCallback("ProfanityFilter_On", function() manager:OnProfanityFilterChanged() end)
- ingame/guild/keyboard/guildhome_keyboard.lua:60 -- GUILD_HOME_SCENE:RegisterCallback("StateChange", function(oldState, state)
if(state == SCENE_SHOWING) then
KEYBIND_STRIP:AddKeybindButtonGroup(manager.keybindStripDescriptor)
elseif(state == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(manager.keybindStripDescriptor)
end
end)
- ingame/guild/keyboard/guildroster_keyboard.lua:29 -- GUILD_ROSTER_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self:UpdateHideOfflineCheckBox(self.hideOfflineCheckBox)
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/guild/keyboard/guildselector_keyboard.lua:64 -- MAIN_MENU_KEYBOARD:RegisterCallback("OnSceneGroupBarLabelTextChanged", OnSceneGroupBarLabelTextChanged)
- ingame/guild/keyboard/zo_guildranks_keyboard.lua:143 -- GUILD_RANKS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_HIDING then
self:StopDragging()
elseif newState == SCENE_HIDDEN then
self:Save()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/guildfinder/guildbrowser_applications_shared.lua:26 -- GUILD_BROWSER_MANAGER:RegisterCallback("OnApplicationsChanged", OnAccountApplicationResultsReady)
- ingame/guildfinder/guildbrowser_guildinfo_shared.lua:35 -- GUILD_BROWSER_MANAGER:RegisterCallback("OnGuildDataReady", OnGuildDataReady)
- ingame/guildfinder/guildbrowser_guildinfo_shared.lua:36 -- GUILD_BROWSER_MANAGER:RegisterCallback("OnGuildFinderSearchResultsReady", OnGuildFinderSearchResultsReady)
- ingame/guildfinder/guildbrowser_guildlist_shared.lua:24 -- GUILD_BROWSER_MANAGER:RegisterCallback("OnGuildFinderSearchResultsReady", OnGuildFinderSearchResultsReady)
- ingame/guildfinder/guildbrowser_guildlist_shared.lua:25 -- GUILD_BROWSER_MANAGER:RegisterCallback("OnSearchStateChanged", function(newState) self:OnSearchStateChanged(newState) end)
- ingame/guildfinder/guildfinder_panel_shared.lua:19 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDING then
self:OnHiding()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/guildfinder/guildrecruitment_applicationslist_shared.lua:27 -- GUILD_RECRUITMENT_MANAGER:RegisterCallback("GuildApplicationResultsReady", OnGuildApplicationResultsReady)
- ingame/guildfinder/guildrecruitment_blacklist_shared.lua:26 -- GUILD_RECRUITMENT_MANAGER:RegisterCallback("GuildBlacklistResultsReady", OnGuildBlacklistResultsReady)
- ingame/guildfinder/guildrecruitment_guildlistinginfo_shared.lua:26 -- GUILD_RECRUITMENT_MANAGER:RegisterCallback("GuildMembershipChanged", OnGuildMembershipChanged)
- ingame/guildfinder/guildrecruitment_guildlistinginfo_shared.lua:27 -- GUILD_RECRUITMENT_MANAGER:RegisterCallback("GuildInfoChanged", OnGuildInfoChanged)
- ingame/guildfinder/guildrecruitment_guildlisting_shared.lua:30 -- GUILD_RECRUITMENT_MANAGER:RegisterCallback("GuildMembershipChanged", OnGuildMembershipOrApplicationsChanged)
- ingame/guildfinder/guildrecruitment_guildlisting_shared.lua:31 -- GUILD_RECRUITMENT_MANAGER:RegisterCallback("GuildInfoChanged", OnGuildInfoChanged)
- ingame/guildfinder/guildrecruitment_guildlisting_shared.lua:32 -- GUILD_RECRUITMENT_MANAGER:RegisterCallback("GuildApplicationResultsReady", OnGuildMembershipOrApplicationsChanged)
- ingame/guildfinder/guildrecruitment_panel_shared.lua:26 -- GUILD_RECRUITMENT_MANAGER:RegisterCallback("GuildPermissionsChanged", OnPermissionChanged)
- ingame/guildfinder/guildrecruitment_shared.lua:21 -- GUILD_RECRUITMENT_MANAGER:RegisterCallback("GuildPermissionsChanged", OnGuildPermissionChanged)
- ingame/guildfinder/gamepad/guildbrowser_gamepad.lua:54 -- GUILD_BROWSER_MANAGER:RegisterCallback("OnGuildFinderSearchResultsReady", OnGuildFinderSearchResultsReady)
- ingame/guildfinder/gamepad/guildbrowser_gamepad.lua:55 -- GUILD_BROWSER_MANAGER:RegisterCallback("OnSearchStateChanged", OnGuildFinderSearchStateChanged)
- ingame/guildfinder/gamepad/guildbrowser_gamepad.lua:56 -- GUILD_BROWSER_MANAGER:RegisterCallback("OnApplicationsChanged", OnGuildFinderApplicationsChanged)
- ingame/guildfinder/gamepad/guildbrowser_gamepad.lua:63 -- self.filterManager:RegisterCallback("OnGuildBrowserFilterValueIsDefaultChanged", OnAreFiltersDefaultChanged)
- ingame/guildfinder/gamepad/guildbrowser_gamepad.lua:277 -- helperPanel:RegisterCallback("PanelSelectionEnd", self.exitHelperPanelFunction)
- ingame/guildfinder/gamepad/guildbrowser_gamepad.lua:590 -- dropdown:RegisterCallback("OnHideDropdown", OnComboboxSelectionChanged)
- ingame/guildfinder/gamepad/guildrecruitment_gamepad.lua:39 -- GUILD_RECRUITMENT_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, state)
if state == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif state == SCENE_FRAGMENT_HIDING then
self:OnHiding()
end
end)
- ingame/guildfinder/gamepad/guildrecruitment_gamepad.lua:294 -- helperPanel:RegisterCallback("PanelSelectionEnd", self.exitHelperPanelFunction)
- ingame/guildfinder/keyboard/guildbrowser_applicationsdefaultmessage_keyboard.lua:19 -- self.messageBox:RegisterCallback("Save", function(text) GUILD_BROWSER_MANAGER:SetSavedApplicationMessage(text) end)
- ingame/guildfinder/keyboard/guildbrowser_guildinfo_keyboard.lua:55 -- KEYBOARD_GUILD_BROWSER_GUILD_INFO_FRAGMENT:RegisterCallback("StateChange", function(oldState, state)
if state == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif state == SCENE_FRAGMENT_HIDING then
self:OnHiding()
elseif state == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/guildfinder/keyboard/guildbrowser_guildinfo_keyboard.lua:66 -- KEYBOARD_LINK_GUILD_INFO_SCENE:RegisterCallback("StateChange", function(oldState, state)
if state == SCENE_SHOWING then
self:OnInfoSceneShowing()
elseif state == SCENE_HIDDEN then
self:OnInfoSceneHidden()
end
end)
- ingame/guildfinder/keyboard/guildbrowser_guildinfo_keyboard.lua:74 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, self.OnLinkClicked, self)
- ingame/guildfinder/keyboard/guildbrowser_guildinfo_keyboard.lua:75 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_MOUSE_UP_EVENT, self.OnLinkClicked, self)
- ingame/guildfinder/keyboard/guildbrowser_guildlist_keyboard.lua:62 -- self.filterManager:RegisterCallback("OnGuildBrowserFilterValueIsDefaultChanged", OnAreFiltersDefaultChanged)
- ingame/guildfinder/keyboard/guildbrowser_keyboard.lua:57 -- KEYBOARD_GUILD_BROWSER_SCENE:RegisterCallback("StateChange", function(oldState, state)
if state == SCENE_SHOWING then
self:OnShowing()
elseif state == SCENE_HIDDEN then
self:OnHidden()
end
end)
- ingame/guildfinder/keyboard/guildbrowser_keyboard.lua:69 -- GUILD_BROWSER_MANAGER:RegisterCallback("OnApplicationsChanged", function() self:UpdateApplicationsLabel() end)
- ingame/guildfinder/keyboard/guildrecruitment_applicationsdefaultmessage_keyboard.lua:19 -- self.messageBox:RegisterCallback("Save", function(text) GUILD_RECRUITMENT_MANAGER:SetSavedApplicationsDefaultMessage(self.guildId, text) end)
- ingame/guildfinder/keyboard/guildrecruitment_keyboard.lua:74 -- KEYBOARD_GUILD_RECRUITMENT_SCENE:RegisterCallback("StateChange", function(oldState, state)
if(state == SCENE_SHOWING) then
self:OnShowing()
elseif(state == SCENE_HIDDEN) then
self:OnHidden()
end
end)
- ingame/guildfinder/keyboard/guildrecruitment_multilineeditboxtile_keyboard.lua:36 -- self.editBox:RegisterCallback("Save", function(text) data.onEditCallback(self.attribute, text) end)
- ingame/guildkiosk/gamepad/guildkiosk_gamepad.lua:30 -- GUILD_KIOSK_PURCHASE_GAMEPAD_SCENE:RegisterCallback("StateChange", OnStateChanged)
- ingame/guildkiosk/gamepad/guildkiosk_gamepad.lua:423 -- self.bidSelector:RegisterCallback("OnValueChanged", function() self:ValidateBidSelectorValue(self.bidSelector:GetValue()) end)
- ingame/help/help_manager.lua:40 -- CLOSE_ACTIONS_INTERCEPT_LAYER_FRAGMENT:RegisterCallback("InterceptCloseAction", OnInterceptCloseAction, NO_ARG, PRIORITY)
- ingame/help/gamepad/help_customer_service_gamepad.lua:233 -- control.dropdown:RegisterCallback("OnItemSelected", OnDropdownItemSelected)
- ingame/help/gamepad/help_customer_service_gamepad.lua:234 -- control.dropdown:RegisterCallback("OnItemDeselected", OnDropdownItemDeselected)
- ingame/help/gamepad/help_entries_gamepad.lua:18 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, OnLinkClicked, self)
- ingame/help/gamepad/help_entries_gamepad.lua:19 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_MOUSE_UP_EVENT, OnLinkClicked, self)
- ingame/help/gamepad/help_genericticketsubmission_gamepad.lua:44 -- ZO_HELP_GENERIC_TICKET_SUBMISSION_MANAGER:RegisterCallback("CustomerServiceTicketSubmitted", function (...) self:OnCustomerServiceTicketSubmitted(...) end)
- ingame/help/gamepad/help_genericticketsubmission_gamepad.lua:45 -- ZO_HELP_GENERIC_TICKET_SUBMISSION_MANAGER:RegisterCallback("CustomerServiceFeedbackSubmitted", function (...) self:OnCustomerServiceFeedbackSubmitted(...) end)
- ingame/help/gamepad/help_legal_gamepad.lua:17 -- self.scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindDescriptors)
SCREEN_NARRATION_MANAGER:QueueCustomEntry("helpLegal")
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindDescriptors)
end
end)
- ingame/help/keyboard/helpaskforhelp_keyboard.lua:38 -- ZO_HELP_GENERIC_TICKET_SUBMISSION_MANAGER:RegisterCallback("CustomerServiceTicketSubmitted", function (...)
if HELP_CUSTOMER_SERVICE_ASK_FOR_HELP_KEYBOARD_FRAGMENT:IsShowing() then
self:OnCustomerServiceTicketSubmitted(...)
end
end)
- ingame/help/keyboard/helpcharacterstuck_keyboard.lua:6 -- HELP_CUSTOMER_SERVICE_CHARACTER_STUCK_KEYBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:UpdateCost()
end
end)
- ingame/help/keyboard/helpmechanicassistancetemplate_keyboard.lua:24 -- ZO_HELP_GENERIC_TICKET_SUBMISSION_MANAGER:RegisterCallback("CustomerServiceTicketSubmitted", function (...)
if fragment:IsShowing() then
self:OnCustomerServiceTicketSubmitted(...)
end
end)
- ingame/help/keyboard/helpmechanicassistancetemplate_keyboard.lua:30 -- fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_HIDDEN then
self:ClearFields()
end
end)
- ingame/help/keyboard/helpsubmitfeedback_keyboard.lua:34 -- ZO_HELP_GENERIC_TICKET_SUBMISSION_MANAGER:RegisterCallback("CustomerServiceFeedbackSubmitted", function (...) self:OnCustomerServiceFeedbackSubmitted(...) end)
- ingame/help/keyboard/help_keyboard.lua:51 -- HELP_MANAGER:RegisterCallback("UpdateSearchResults", UpdateHelp)
- ingame/help/keyboard/help_keyboard.lua:59 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, OnLinkClicked, self)
- ingame/help/keyboard/help_keyboard.lua:60 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_MOUSE_UP_EVENT, OnLinkClicked, self)
- ingame/help/keyboard/help_keyboard.lua:65 -- HELP_TUTORIALS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/housingeditor/furnituremanager_shared.lua:115 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", function(bagId) self:OnFullInventoryUpdate(bagId) end)
- ingame/housingeditor/furnituremanager_shared.lua:116 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", function(...) self:OnSingleSlotInventoryUpdate(...) end)
- ingame/housingeditor/furnituremanager_shared.lua:117 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", function(...) self:OnCollectionUpdated(...) end)
- ingame/housingeditor/furnituremanager_shared.lua:118 -- HOUSING_EDITOR_STATE:RegisterCallback("HouseChanged", function(...) self:OnHouseChanged(...) end)
- ingame/housingeditor/houseinformationtracker.lua:106 -- HOUSING_EDITOR_STATE:RegisterCallback("HouseSettingsChanged", self.Refresh, self)
- ingame/housingeditor/houseinformation_shared.lua:17 -- fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:UpdateHouseInformation()
self:UpdateHousePopulation()
self:UpdatePermissions()
self:UpdateLimits()
end
end)
- ingame/housingeditor/housingeditorhud.lua:392 -- HOUSING_EDITOR_STATE:RegisterCallback("HouseChanged", function(...) self:OnHouseChanged(...) end)
- ingame/housingeditor/housingeditorhud.lua:393 -- HOUSING_EDITOR_STATE:RegisterCallback("HouseSettingsChanged", function(...) self:OnHouseSettingsChanged(...) end)
- ingame/housingeditor/housingeditorhud.lua:401 -- ZO_TARGET_DUMMY_LOGS:RegisterCallback("TargetDummyCombatStateChanged", function(...)
self:OnTargetDummyCombatStateChanged(...)
end)
- ingame/housingeditor/housingeditorhud.lua:593 -- HOUSING_EDITOR_STATE:RegisterCallback("EditorModeChanged", self.OnEditorModeChanged, self)
- ingame/housingeditor/housingeditorhud.lua:596 -- HOUSING_EDITOR_HUD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnDeferredInitialization()
local currentMode = GetHousingEditorMode()
if currentMode == HOUSING_EDITOR_MODE_BROWSE then -- If someone cancelled out of the browser without selecting anything.
HousingEditorRequestModeChange(HOUSING_EDITOR_MODE_SELECTION)
elseif currentMode == HOUSING_EDITOR_MODE_SELECTION or currentMode == HOUSING_EDITOR_MODE_PATH then
SCENE_MANAGER:AddFragment(ZO_HOUSING_EDITOR_HISTORY_FRAGMENT)
end
self:ClearPlacementKeyPresses()
KEYBIND_STRIP:AddKeybindButtonGroup(self.exitKeybindButtonStripDescriptor)
KEYBIND_STRIP:RemoveDefaultExit()
self:SetKeybindPaletteHidden(false)
self:UpdateKeybinds()
elseif newState == SCENE_HIDDEN then
self:ClearPlacementKeyPresses()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.currentKeybindDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.pushAndPullEtherealKeybindGroup)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.pushAndPullVisibleKeybindGroup)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.exitKeybindButtonStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
self:SetKeybindPaletteHidden(true)
self.currentKeybindDescriptor = nil
end
end)
- ingame/housingeditor/housingeditorhud.lua:623 -- HOUSING_EDITOR_HUD_UI_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnDeferredInitialization()
HOUSING_EDITOR_KEYBIND_PALETTE:RemoveKeybinds()
if GetHousingEditorMode() ~= HOUSING_EDITOR_MODE_SELECTION then
-- Add the HUD UI keybinds for any mode other than Selection.
-- This is to prevent duplicate keybind registration that would result from Selection
-- and UI mode both sharing the housing editor's tertiary action keybind.
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.UIModeKeybindStripDescriptor)
KEYBIND_STRIP:AddKeybindButtonGroup(self.pushAndPullEtherealKeybindGroup)
KEYBIND_STRIP:AddKeybindButtonGroup(self.exitKeybindButtonStripDescriptor)
end
self:UnregisterDragMouseAxis()
self:UpdateAxisIndicators()
elseif newState == SCENE_HIDDEN then
self:ClearPlacementKeyPresses()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.UIModeKeybindStripDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.pushAndPullEtherealKeybindGroup)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.exitKeybindButtonStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
local currentMode = GetHousingEditorMode()
local currentModeStripDescriptor, currentModePaletteDescriptor = self:GetKeybindStripDescriptorForMode(currentMode)
if currentModePaletteDescriptor then
self.currentPaletteKeybindDescriptor = currentModePaletteDescriptor
HOUSING_EDITOR_KEYBIND_PALETTE:AddKeybinds(currentModePaletteDescriptor)
end
self:UpdateAxisIndicators()
end
end)
- ingame/housingeditor/housingeditorhud.lua:656 -- HOUSING_EDITOR_HUD_SCENE_GROUP:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_GROUP_HIDDEN then
local currentMode = GetHousingEditorMode()
if currentMode ~= HOUSING_EDITOR_MODE_BROWSE and currentMode ~= HOUSING_EDITOR_MODE_PATH then
HousingEditorRequestModeChange(HOUSING_EDITOR_MODE_DISABLED)
PlaySound(SOUNDS.HOUSING_EDITOR_CLOSED)
end
end
end)
- ingame/housingeditor/housingeditorhud.lua:3764 -- sceneFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:UpdateUndoStack()
end
end)
- ingame/housingeditor/housingeditorhud.lua:4101 -- HOUSING_EDITOR_STATE:RegisterCallback("EditorModeChanged", OnEditorModeChanged)
- ingame/housingeditor/housingeditorhud.lua:4102 -- HOUSING_EDITOR_STATE:RegisterCallback("HouseChanged", OnHouseChanged)
- ingame/housingeditor/housingfurniturebrowser_base.lua:26 -- SHARED_FURNITURE:RegisterCallback("PlaceableFurnitureChanged", function()
if SCENE_MANAGER:IsShowing(sceneName) then
self:UpdatePlaceablePanel()
else
self.placeableListDirty = true
end
end)
- ingame/housingeditor/housingfurniturebrowser_base.lua:34 -- SHARED_FURNITURE:RegisterCallback("RetrievableFurnitureChanged", function()
if SCENE_MANAGER:IsShowing(sceneName) then
self:UpdateRetrievablePanel()
else
self.retrievableListDirty = true
end
end)
- ingame/housingeditor/housingfurniturebrowser_base.lua:42 -- SHARED_FURNITURE:RegisterCallback("RetrievableFurnitureDistanceAndHeadingChanged", function()
if SCENE_MANAGER:IsShowing(sceneName) then
self:UpdateRetrievablePanelDistancesAndHeadings()
else
self.retrievableListDistancesDirty = true
self.retrievableListHeadingsDirty = true
end
end)
- ingame/housingeditor/housingfurniturebrowser_base.lua:51 -- SHARED_FURNITURE:RegisterCallback("RetrievableFurnitureHeadingChanged", function()
if SCENE_MANAGER:IsShowing(sceneName) then
self:UpdateRetrievablePanelHeadings()
else
self.retrievableListHeadingsDirty = true
end
end)
- ingame/housingeditor/housingfurniturebrowser_base.lua:59 -- SHARED_FURNITURE:RegisterCallback("MarketProductsChanged", function()
if SCENE_MANAGER:IsShowing(sceneName) then
self:UpdateProductsPanel()
else
self.productListDirty = true
end
end)
- ingame/housingeditor/housingpreview_shared.lua:117 -- ZO_HOUSE_PREVIEW_MANAGER:RegisterCallback("OnHouseTemplateDataUpdated", OnHouseTemplateDataUpdated)
- ingame/housingeditor/housingpreview_shared.lua:118 -- ZO_HOUSE_PREVIEW_MANAGER:RegisterCallback("OnPlayerActivated", OnPlayerActivated)
- ingame/housingeditor/housingsocial_manager.lua:74 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, self.OnLinkClicked, self)
- ingame/housingeditor/housingsocial_manager.lua:75 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_MOUSE_UP_EVENT, self.OnLinkClicked, self)
- ingame/housingeditor/gamepad/housingfurniturebrowser_gamepad.lua:178 -- ITEM_PREVIEW_GAMEPAD:RegisterCallback("RefreshActions", self.OnRefreshActions)
- ingame/housingeditor/gamepad/housingfurnitureplacement_gamepad.lua:10 -- SHARED_FURNITURE:RegisterCallback("PlaceableFurnitureChanged", function(fromSearch)
if fromSearch then
self:ResetSavedPositions()
end
end)
- ingame/housingeditor/gamepad/housingfurnitureproducts_gamepad.lua:10 -- SHARED_FURNITURE:RegisterCallback("MarketProductsChanged", function(fromSearch)
if fromSearch then
self:ResetSavedPositions()
end
end)
- ingame/housingeditor/gamepad/housingfurnitureretrieval_gamepad.lua:10 -- SHARED_FURNITURE:RegisterCallback("RetrievableFurnitureChanged", function(fromSearch)
if fromSearch then
self:ResetSavedPositions()
end
end)
- ingame/housingeditor/gamepad/housingfurnituresettings_gamepad.lua:37 -- HOUSING_EDITOR_STATE:RegisterCallback("HouseChanged", RebuildMainList)
- ingame/housingeditor/gamepad/housingfurnituresettings_gamepad.lua:38 -- HOUSING_EDITOR_STATE:RegisterCallback("HouseEditPermissionChanged", RebuildMainList)
- ingame/housingeditor/gamepad/housingfurnituresettings_gamepad.lua:39 -- HOUSING_EDITOR_STATE:RegisterCallback("HouseVisitorRoleChanged", RebuildMainList)
- ingame/housingeditor/gamepad/housingpathsettings_gamepad.lua:208 -- HOUSING_EDITOR_STATE:RegisterCallback("HouseChanged", OnHouseChanged)
- ingame/housingeditor/keyboard/furnitureclasses_keyboard.lua:28 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDING then
self:OnHiding()
end
end)
- ingame/housingeditor/keyboard/housingfurniturebrowser_keyboard.lua:29 -- self.placeablePanel:RegisterCallback("OnMostRecentlySelectedDataChanged", OnListMostRecentlySelectedDataChanged)
- ingame/housingeditor/keyboard/housingfurniturebrowser_keyboard.lua:30 -- self.productsPanel:RegisterCallback("OnMostRecentlySelectedDataChanged", OnListMostRecentlySelectedDataChanged)
- ingame/housingeditor/keyboard/housingfurniturebrowser_keyboard.lua:31 -- self.retrievalPanel:RegisterCallback("OnMostRecentlySelectedDataChanged", OnListMostRecentlySelectedDataChanged)
- ingame/housingeditor/keyboard/housingfurniturebrowser_keyboard.lua:34 -- KEYBOARD_HOUSING_FURNITURE_BROWSER_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
MARKET_CURRENCY_KEYBOARD:SetVisibleMarketCurrencyTypes({MKCT_CROWNS, MKCT_CROWN_GEMS})
self:OnDeferredInitialization()
self:OnShowing()
elseif newState == SCENE_HIDING then
self:OnHiding()
elseif newState == SCENE_HIDDEN then
self.menuBarFragment:Clear()
end
end)
- ingame/housingeditor/keyboard/housingfurniturebrowser_keyboard.lua:229 -- HOUSING_EDITOR_STATE:RegisterCallback("HouseChanged", RefreshMenuBar)
- ingame/housingeditor/keyboard/housingpathsettings_keyboard.lua:16 -- KEYBOARD_HOUSING_PATH_SETTINGS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.exitKeybindButtonStripDescriptor)
self:OnShowing()
elseif newState == SCENE_HIDING then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.exitKeybindButtonStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
end
end)
- ingame/housingeditor/keyboard/housingpathsettings_keyboard.lua:50 -- SHARED_FURNITURE:RegisterCallback("PlaceableFurnitureChanged", function()
if SCENE_MANAGER:IsShowing("keyboard_housing_path_settings_scene") then
self.changeObjectPanel:UpdateChangeObjectPanel()
else
self.pathableListDirty = true
end
end)
- ingame/hud/hudequipmentstatus.lua:163 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", OnInventorySingleSlotUpdate)
- ingame/hud/hudequipmentstatus.lua:179 -- HUD_EQUIPMENT_STATUS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
self:OnShow()
end
end)
- ingame/hud/hudtracker_base.lua:16 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnShowing()
elseif newState == SCENE_SHOWN then
self:OnShown()
elseif newState == SCENE_HIDING then
self:OnHiding()
elseif newState == SCENE_HIDDEN then
self:OnHidden()
end
end)
- ingame/hud/hudtracker_base.lua:65 -- FOCUSED_QUEST_TRACKER:RegisterCallback("QuestTrackerFragmentStateChange", OnQuestTrackerFragmentStateChanged)
- ingame/interactwindow/gamepad/interactwindow_gamepad.lua:36 -- interactScene:RegisterCallback("StateChange", OnStateChange)
- ingame/interactwindow/keyboard/interactwindow_keyboard.lua:42 -- interactScene:RegisterCallback("StateChange", OnStateChange)
- ingame/inventory/inventory.lua:678 -- INVENTORY_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
-- If no current context is set for inventory then assume the inventory is being opened
if not self.inventories[INVENTORY_BACKPACK].currentContext then
self:ActivateInventorySearch()
else
self.inventories[INVENTORY_BACKPACK].searchBox:SetText(TEXT_SEARCH_MANAGER:GetSearchText(self.inventories[INVENTORY_BACKPACK].currentContext))
end
-- Start tab and subtab flashing for new items
for _, data in ipairs(self.newItemList) do
self:PlayItemAddedAlert(data, data.inventory)
end
local UPDATE_EVEN_IF_HIDDEN = true
if self.isListDirty[INVENTORY_BACKPACK] then
if TEXT_SEARCH_MANAGER:IsFilterTargetInContext(self.inventories[INVENTORY_BACKPACK].currentContext, BACKGROUND_LIST_FILTER_TARGET_BAG_SLOT) then
self:UpdateList(INVENTORY_BACKPACK, UPDATE_EVEN_IF_HIDDEN)
end
end
self:RefreshMoney()
self:UpdateFreeSlots(INVENTORY_BACKPACK)
self:UpdateApparelSection()
--Reseting the comparison stats here since its too later when the window is already hidden.
ZO_CharacterWindowStats_HideComparisonValues()
elseif newState == SCENE_FRAGMENT_HIDDEN then
if TEXT_SEARCH_MANAGER:IsActiveTextSearch("playerInventoryTextSearch") then
self:DeactivateInventorySearch()
end
ZO_InventorySlot_RemoveMouseOverKeybinds()
self:ClearNewStatusOnItemsThePlayerHasSeen(INVENTORY_BACKPACK)
self.newItemList = {}
end
end)
- ingame/inventory/inventory.lua:714 -- SHARED_INVENTORY:RegisterCallback("SlotAdded", function(bagId, slotIndex, newSlotData, suppressItemAlert)
local inventory = self.bagToInventoryType[bagId]
if inventory then
self:OnInventoryItemAdded(inventory, bagId, slotIndex, newSlotData, suppressItemAlert)
end
end)
- ingame/inventory/inventory.lua:721 -- SHARED_INVENTORY:RegisterCallback("SlotRemoved", function(bagId, slotIndex, oldSlotData, suppressItemAlert)
local inventory = self.bagToInventoryType[bagId]
if inventory then
self:OnInventoryItemRemoved(inventory, bagId, slotIndex, oldSlotData, suppressItemAlert)
end
end)
- ingame/inventory/inventory.lua:772 -- sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/inventory/inventory.lua:812 -- TEXT_SEARCH_MANAGER:RegisterCallback("UpdateSearchResults", self.onListTextFilterCompleteCallback)
- ingame/inventory/inventory.lua:1014 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", OnFullInventoryUpdated)
- ingame/inventory/inventory.lua:1015 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", function(bagId, slotIndex) self:OnInventorySlotUpdated(bagId, slotIndex) end)
- ingame/inventory/inventory.lua:1046 -- SHARED_INVENTORY:RegisterCallback("FullQuestUpdate", OnQuestsUpdated)
- ingame/inventory/inventory.lua:1047 -- SHARED_INVENTORY:RegisterCallback("SingleQuestUpdate", OnSingleQuestUpdated)
- ingame/inventory/inventory.lua:2477 -- BANK_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
if self.inventories[INVENTORY_BANK].searchBox then
self.inventories[INVENTORY_BANK].searchBox:SetText(TEXT_SEARCH_MANAGER:GetSearchText(self.inventories[INVENTORY_BANK].currentContext))
end
self:RefreshMoney()
self:UpdateFreeSlots(INVENTORY_BANK)
if self.isListDirty[INVENTORY_BANK] then
local UPDATE_EVEN_IF_HIDDEN = true
self:UpdateList(INVENTORY_BANK, UPDATE_EVEN_IF_HIDDEN)
end
end
end)
- ingame/inventory/inventory.lua:2567 -- bankScene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
bankFragmentBar:SelectFragment(SI_BANK_WITHDRAW)
self:RefreshAllInventorySlots(INVENTORY_BANK)
TriggerTutorial(TUTORIAL_TRIGGER_ACCOUNT_BANK_OPENED)
if IsESOPlusSubscriber() then
TriggerTutorial(TUTORIAL_TRIGGER_BANK_OPENED_AS_SUBSCRIBER)
end
elseif newState == SCENE_HIDDEN then
ZO_InventorySlot_RemoveMouseOverKeybinds()
bankFragmentBar:Clear()
end
end)
- ingame/inventory/inventory.lua:2635 -- HOUSE_BANK_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
if self.inventories[INVENTORY_HOUSE_BANK].searchBox then
self.inventories[INVENTORY_HOUSE_BANK].searchBox:SetText(TEXT_SEARCH_MANAGER:GetSearchText(self.inventories[INVENTORY_HOUSE_BANK].currentContext))
end
self:UpdateFreeSlots(INVENTORY_HOUSE_BANK)
if self.isListDirty[INVENTORY_HOUSE_BANK] then
local UPDATE_EVEN_IF_HIDDEN = true
self:UpdateList(INVENTORY_HOUSE_BANK, UPDATE_EVEN_IF_HIDDEN)
end
end
end)
- ingame/inventory/inventory.lua:2714 -- houseBankScene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
--initialize the slots and banking bag fresh here since there are many different house bank bags and only one is active at a time
local inventory = self.inventories[INVENTORY_HOUSE_BANK]
local bankingBag = GetBankingBag()
inventory.slots = { [bankingBag] = {} }
inventory.backingBags = { bankingBag }
houseBankFragmentBar:SelectFragment(SI_BANK_WITHDRAW)
self:RefreshAllInventorySlots(INVENTORY_HOUSE_BANK)
self:UpdateFreeSlots(INVENTORY_HOUSE_BANK)
self:UpdateFreeSlots(INVENTORY_BACKPACK)
TriggerTutorial(TUTORIAL_TRIGGER_HOME_STORAGE_OPENED)
elseif newState == SCENE_HIDDEN then
ZO_InventorySlot_RemoveMouseOverKeybinds()
houseBankFragmentBar:Clear()
--Wipe out the inventory slot data and connection to a bag
local inventory = self.inventories[INVENTORY_HOUSE_BANK]
inventory.slots = nil
inventory.backingBags = nil
inventory.hasAnyQuickSlottableItems = nil
end
end)
- ingame/inventory/inventory.lua:2743 -- GUILD_BANK_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
if self.inventories[INVENTORY_GUILD_BANK].searchBox then
self.inventories[INVENTORY_GUILD_BANK].searchBox:SetText(TEXT_SEARCH_MANAGER:GetSearchText(self.inventories[INVENTORY_GUILD_BANK].currentContext))
end
self:RefreshMoney()
self:UpdateFreeSlots(INVENTORY_GUILD_BANK)
if self.isListDirty[INVENTORY_GUILD_BANK] then
local UPDATE_EVEN_IF_HIDDEN = true
self:UpdateList(INVENTORY_GUILD_BANK, UPDATE_EVEN_IF_HIDDEN)
end
end
end)
- ingame/inventory/inventory.lua:2853 -- guildBankScene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
guildBankFragmentBar:SelectFragment(SI_BANK_WITHDRAW)
self:UpdateFreeSlots(INVENTORY_BACKPACK)
ZO_SharedInventory_SelectAccessibleGuildBank(self.lastSuccessfulGuildBankId)
elseif newState == SCENE_HIDDEN then
ZO_InventorySlot_RemoveMouseOverKeybinds()
guildBankFragmentBar:Clear()
end
end)
- ingame/inventory/inventory.lua:3042 -- CRAFT_BAG_FRAGMENT:RegisterCallback("StateChange", OnStateChange)
- ingame/inventory/inventory.lua:3061 -- QUEST_ITEMS_FRAGMENT:RegisterCallback("StateChange", OnStateChange)
- ingame/inventory/inventorymenubar.lua:33 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnFragmentShowing()
elseif newState == SCENE_FRAGMENT_SHOWN then
self:OnFragmentShown()
elseif newState == SCENE_FRAGMENT_HIDING then
self:OnFragmentHiding()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnFragmentHidden()
end
end)
- ingame/inventory/inventorymenubar.lua:206 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", function() self:UpdateInventoryKeybinds() end)
- ingame/inventory/inventoryslot.lua:2602 -- CALLBACK_MANAGER:RegisterCallback("WornSlotUpdate", ZO_InventorySlot_HandleInventoryUpdate)
- ingame/inventory/inventoryslot.lua:2603 -- CALLBACK_MANAGER:RegisterCallback("InventorySlotUpdate", ZO_InventorySlot_HandleInventoryUpdate)
- ingame/inventory/inventorywallet.lua:35 -- self.sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/inventory/inventorywallet.lua:45 -- WALLET_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateList()
self:UpdateFreeSlots()
self:RefreshCurrency()
end
end)
- ingame/inventory/stack.lua:112 -- self.spinner:RegisterCallback("OnValueChanged", OnSpinnerValueChanged)
- ingame/inventory/gamepad/buybagspace_gamepad.lua:39 -- GAMEPAD_BUY_BAG_SPACE_SCENE:RegisterCallback("StateChange", StateChanged)
- ingame/inventory/gamepad/gamepadinventory.lua:130 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/gamepadinventory.lua:131 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/gamepadinventory.lua:133 -- SHARED_INVENTORY:RegisterCallback("FullQuestUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/gamepadinventory.lua:134 -- SHARED_INVENTORY:RegisterCallback("SingleQuestUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/guildbank_gamepad.lua:410 -- self:GetListFragment(self.withdrawList):RegisterCallback("StateChange", self.OnWithdrawDepositStateChanged)
- ingame/inventory/gamepad/guildbank_gamepad.lua:411 -- self:GetListFragment(self.depositList):RegisterCallback("StateChange", self.OnWithdrawDepositStateChanged)
- ingame/inventory/gamepad/guildbank_gamepad.lua:424 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", function()
if self.scene:IsShowing() then
self:MarkDirtyByBagId(BAG_BACKPACK)
self:MarkDirtyByBagId(BAG_GUILDBANK)
self:RefreshGuildBank()
end
end)
- ingame/inventory/gamepad/guildbank_gamepad.lua:470 -- withdrawListFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
--The parametric list screen does not call OnTargetChanged when changing the current list which means anything that updates off of the current
--selection is out of date. So we run OnTargetChanged when a list shows to remedy this.
self:OnTargetChanged(self:GetCurrentList(), self:GetTargetData())
end
--See SetWithdrawLoadingControlShown for more info
if newState ~= SCENE_FRAGMENT_HIDING then
self.withdrawList:GetControl():SetHidden(self.withdrawLoadingControlShown)
end
end)
- ingame/inventory/gamepad/guildbank_gamepad.lua:494 -- depositListFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
--The parametric list screen does not call OnTargetChanged when changing the current list which means anything that updates off of the current
--selection is out of date. So we run OnTargetChanged when a list shows to remedy this.
self:OnTargetChanged(self:GetCurrentList(), self:GetTargetData())
end
end)
- ingame/inventory/gamepad/inventorylist_gamepad.lua:138 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/inventorylist_gamepad.lua:139 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", OnSingleSlotInventoryUpdate)
- ingame/inventory/gamepad/zo_gamepadparametricscrolllist_bagssearch_screen.lua:104 -- TEXT_SEARCH_MANAGER:RegisterCallback("UpdateSearchResults", OnTextSearchResults)
- ingame/keybindings/gamepad/keybindings_gamepad.lua:43 -- KEYBINDINGS_MANAGER:RegisterCallback("OnKeybindingSet", RefreshKeybindings)
- ingame/keybindings/gamepad/keybindings_gamepad.lua:44 -- KEYBINDINGS_MANAGER:RegisterCallback("OnKeybindingCleared", RefreshKeybindings)
- ingame/keybindings/gamepad/keybindings_gamepad.lua:45 -- KEYBINDINGS_MANAGER:RegisterCallback("OnKeybindingsLoaded", RefreshKeybindings)
- ingame/keybindings/gamepad/keybindings_gamepad.lua:62 -- KEYBINDINGS_MANAGER:RegisterCallback("OnInputLanguageChanged", UpdateCurrentKeyboardLayout)
- ingame/keybindings/keyboard/keybindings.lua:44 -- KEYBINDINGS_MANAGER:RegisterCallback("OnKeybindingSet", RefreshList)
- ingame/keybindings/keyboard/keybindings.lua:45 -- KEYBINDINGS_MANAGER:RegisterCallback("OnKeybindingCleared", RefreshList)
- ingame/keybindings/keyboard/keybindings.lua:46 -- KEYBINDINGS_MANAGER:RegisterCallback("OnKeybindingsLoaded", RefreshList)
- ingame/keybindings/keyboard/keybindings.lua:53 -- KEYBINDINGS_MANAGER:RegisterCallback("OnInputLanguageChanged", UpdateCurrentKeyboardLayout)
- ingame/keybindings/keyboard/keybindings.lua:67 -- KEYBINDINGS_FRAGMENT:RegisterCallback("StateChange", OnStateChanged)
- ingame/leaderboards/leaderboards_shared.lua:249 -- LEADERBOARD_LIST_MANAGER:RegisterCallback("LeaderboardRankTypeChanged", function() self:RepopulateFilterDropdown() end)
- ingame/leaderboards/leaderboards_shared.lua:250 -- LEADERBOARD_LIST_MANAGER:RegisterCallback("OnLeaderboardMasterListUpdated", function()
if self.scene:IsShowing() then
self:OnLeaderboardDataChanged(self.leaderboardObject)
end
end)
- ingame/leaderboards/gamepad/battlegroundleaderboards_gamepad.lua:8 -- GAMEPAD_BATTLEGROUND_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdatePlayerInfo()
self:SendLeaderboardQuery()
local NO_NAME = nil
local NO_ICON = nil
GAMEPAD_LEADERBOARDS:SetActiveCampaign(NO_NAME, NO_ICON)
end
end)
- ingame/leaderboards/gamepad/campaignleaderboards_gamepad.lua:85 -- GAMEPAD_CAMPAIGN_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.selector.dataRegistration:Refresh()
self:SetActiveCampaign()
self:SendLeaderboardQuery()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self.selector.dataRegistration:Refresh()
end
end)
- ingame/leaderboards/gamepad/raidleaderboards_gamepad.lua:8 -- GAMEPAD_RAID_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateAllInfo()
local NO_NAME = nil
local NO_ICON = nil
GAMEPAD_LEADERBOARDS:SetActiveCampaign(NO_NAME, NO_ICON)
self:SendLeaderboardQuery()
end
end)
- ingame/leaderboards/gamepad/tributeleaderboards_gamepad.lua:8 -- GAMEPAD_TRIBUTE_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdatePlayerInfo()
self:SendLeaderboardQuery()
local NO_NAME = nil
local NO_ICON = nil
GAMEPAD_LEADERBOARDS:SetActiveCampaign(NO_NAME, NO_ICON)
end
end)
- ingame/leaderboards/keyboard/battlegroundleaderboards_keyboard.lua:12 -- BATTLEGROUND_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdatePlayerInfo()
end
end)
- ingame/leaderboards/keyboard/campaignleaderboards_keyboard.lua:124 -- CAMPAIGN_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.selector.dataRegistration:Refresh()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self.selector.dataRegistration:Refresh()
end
end)
- ingame/leaderboards/keyboard/leaderboards_keyboard.lua:77 -- LEADERBOARDS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:UpdateCategories()
if self.leaderboardObject then
self:ActivateLeaderboard()
end
end
end)
- ingame/leaderboards/keyboard/raidleaderboards_keyboard.lua:19 -- RAID_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateAllInfo()
self:SendLeaderboardQuery()
end
end)
- ingame/leaderboards/keyboard/tributeleaderboards_keyboard.lua:12 -- TRIBUTE_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdatePlayerInfo()
end
end)
- ingame/leveluprewards/leveluprewardsclaim_base.lua:12 -- ZO_LEVEL_UP_REWARDS_MANAGER:RegisterCallback("OnLevelUpRewardsChoiceUpdated", function() if self:IsShowing() then self:RefreshSelectedChoices() end end)
- ingame/leveluprewards/gamepad/leveluprewardsclaim_gamepad.lua:15 -- ZO_GAMEPAD_CLAIM_LEVEL_UP_REWARDS_FRAGMENT:RegisterCallback("StateChange",
function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
CENTER_SCREEN_ANNOUNCE:SupressAnnouncementByType(CENTER_SCREEN_ANNOUNCE_TYPE_SKILL_POINTS_GAINED)
elseif newState == SCENE_FRAGMENT_HIDING then
CENTER_SCREEN_ANNOUNCE:ResumeAnnouncementByType(CENTER_SCREEN_ANNOUNCE_TYPE_SKILL_POINTS_GAINED)
end
end)
- ingame/leveluprewards/gamepad/leveluprewardsclaim_gamepad.lua:52 -- ZO_LEVEL_UP_REWARDS_MANAGER:RegisterCallback("OnLevelUpRewardsUpdated", UpdateLevelUpRewards)
- ingame/leveluprewards/gamepad/leveluprewardsupcoming_gamepad.lua:11 -- ZO_GAMEPAD_UPCOMING_LEVEL_UP_REWARDS_FRAGMENT:RegisterCallback("StateChange",
function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
end
end)
- ingame/leveluprewards/keyboard/leveluprewardsclaim_keyboard.lua:30 -- ZO_KEYBOARD_CLAIM_LEVEL_UP_REWARDS_FRAGMENT:RegisterCallback("StateChange",
function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/leveluprewards/keyboard/leveluprewardsclaim_keyboard.lua:76 -- ZO_LEVEL_UP_REWARDS_MANAGER:RegisterCallback("OnLevelUpRewardsUpdated", UpdateLevelUpRewards)
- ingame/leveluprewards/keyboard/leveluprewardsupcoming_keyboard.lua:23 -- ZO_KEYBOARD_UPCOMING_LEVEL_UP_REWARDS_FRAGMENT:RegisterCallback("StateChange",
function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/lfg/activitytracker.lua:67 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnActivityFinderStatusUpdate", Update)
- ingame/lfg/preferredroles.lua:21 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnActivityFinderStatusUpdate", OnActivityFinderStatusUpdate)
- ingame/lfg/searchingforgroup.lua:62 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnActivityFinderStatusUpdate", OnActivityFinderStatusUpdate)
- ingame/lfg/zo_activityfinderroot_manager.lua:213 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", OnCollectionUpdated)
- ingame/lfg/zo_activityfindertemplate_shared.lua:49 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnUpdateLocationData", RefreshFilters)
- ingame/lfg/zo_activityfindertemplate_shared.lua:50 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnActivityFinderStatusUpdate", function(status) self:OnActivityFinderStatusUpdate(status) end)
- ingame/lfg/zo_activityfindertemplate_shared.lua:51 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnHandleLFMPromptResponse", function() self:OnHandleLFMPromptResponse() end)
- ingame/lfg/zo_activityfindertemplate_shared.lua:52 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnLevelUpdate", RefreshFilters)
- ingame/lfg/zo_activityfindertemplate_shared.lua:53 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnCooldownsUpdate", function() self:OnCooldownsUpdate() end)
- ingame/lfg/zo_activityfindertemplate_shared.lua:54 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnCurrentCampaignChanged", RefreshFilters)
- ingame/lfg/zo_activityfindertemplate_shared.lua:55 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnHolidaysChanged", RefreshFilters)
- ingame/lfg/zo_activityfindertemplate_shared.lua:57 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnTributeClubDataInitialized", function() self:OnTributeClubDataInitialized() end)
- ingame/lfg/zo_activityfindertemplate_shared.lua:58 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnTributeCampaignDataInitialized", function() self:OnTributeCampaignDataInitialized() end)
- ingame/lfg/zo_activityfindertemplate_shared.lua:59 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnTributeClubRankDataChanged", function() self:OnTributeClubRankDataChanged() end)
- ingame/lfg/zo_activityfindertemplate_shared.lua:60 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnTributeCampaignDataChanged", function() self:OnTributeCampaignDataChanged() end)
- ingame/lfg/zo_activityfindertemplate_shared.lua:61 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnTributeLeaderboardRankChanged", function() self:OnTributeLeaderboardRankChanged() end)
- ingame/lfg/gamepad/tributerewards_gamepad.lua:168 -- self.fragment:RegisterCallback("StateChange", OnStateChanged)
- ingame/lfg/gamepad/zo_activityfinderroot_gamepad.lua:24 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnLevelUpdate", RefreshCategories)
- ingame/lfg/gamepad/zo_activityfinderroot_gamepad.lua:25 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", RefreshCategories)
- ingame/lfg/gamepad/zo_activityfindertemplate_gamepad.lua:150 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnSelectionsChanged", function(...) self:RefreshSelections(...) end)
- ingame/lfg/gamepad/zo_activityqueuedata_gamepad.lua:11 -- GAMEPAD_ACTIVITY_QUEUE_DATA_FRAGMENT:RegisterCallback("StateChange",
function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:RefreshQueuedStatus(GetActivityFinderStatus())
end
end
)
- ingame/lfg/gamepad/zo_activityqueuedata_gamepad.lua:33 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnActivityFinderStatusUpdate", OnActivityFinderStatusUpdate)
- ingame/lfg/gamepad/zo_activitytributerankfooter_gamepad.lua:19 -- GAMEPAD_ACTIVITY_TRIBUTE_RANK_FRAGMENT:RegisterCallback("StateChange",
function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:RefreshClubRank()
end
end
)
- ingame/lfg/gamepad/zo_grouprolesbar_gamepad.lua:92 -- GAMEPAD_GROUP_ROLES_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:RefreshRoles()
elseif newState == SCENE_HIDDEN then
self:Deactivate()
end
end)
- ingame/lfg/gamepad/zo_grouprolesbar_gamepad.lua:111 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnActivityFinderStatusUpdate", OnActivityFinderStatusUpdate)
- ingame/lfg/keyboard/zo_activityfindertemplate_keyboard.lua:162 -- self.fragment:RegisterCallback("StateChange", OnStateChange)
- ingame/lfg/keyboard/zo_activityfindertemplate_keyboard.lua:170 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnSelectionsChanged", function(...) self:RefreshButtons(...) end)
- ingame/lockpick/lockpick.lua:115 -- LOCK_PICK_SCENE:RegisterCallback("StateChange", OnSceneStateChange)
- ingame/lockpick/lockpick.lua:118 -- LOCK_PICK_GAMEPAD_SCENE:RegisterCallback("StateChange", OnSceneStateChange)
- ingame/logout/gamepad/logoutdialog_gamepad.lua:22 -- tileObject:RegisterCallback("OnRefreshLayout", function() ZO_GenericGamepadDialog_RefreshKeybinds(self) end)
- ingame/lorelibrary/keyboard/lorelibrary_keyboard.lua:28 -- LORE_LIBRARY_SCENE:RegisterCallback("StateChange", OnStateChanged)
- ingame/lorereader/lorereader.lua:74 -- LORE_READER_INVENTORY_SCENE:RegisterCallback("StateChange", OnPCSceneStateChange)
- ingame/lorereader/lorereader.lua:75 -- LORE_READER_LORE_LIBRARY_SCENE:RegisterCallback("StateChange", OnPCSceneStateChange)
- ingame/lorereader/lorereader.lua:76 -- LORE_READER_DEFAULT_SCENE:RegisterCallback("StateChange", OnPCSceneStateChange)
- ingame/lorereader/lorereader.lua:77 -- GAMEPAD_LORE_READER_INVENTORY_SCENE:RegisterCallback("StateChange", OnGamepadSceneStateChange)
- ingame/lorereader/lorereader.lua:78 -- GAMEPAD_LORE_READER_LORE_LIBRARY_SCENE:RegisterCallback("StateChange", OnGamepadSceneStateChange)
- ingame/lorereader/lorereader.lua:79 -- GAMEPAD_LORE_READER_DEFAULT_SCENE:RegisterCallback("StateChange", OnGamepadSceneStateChange)
- ingame/mail/gamepad/mailinbox_gamepad.lua:56 -- self.activeLinks:RegisterCallback("CycleLinks", function()
--Re-narrate when cycling between multiple links
SCREEN_NARRATION_MANAGER:QueueParametricListEntry(self.mailList)
end)
- ingame/mail/gamepad/mailinbox_gamepad.lua:117 -- GAMEPAD_MAIL_INBOX_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_SHOWN then
self:OnShown()
elseif newState == SCENE_FRAGMENT_HIDING then
self:OnHiding()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/mail/gamepad/mailmanager_gamepad.lua:208 -- CALLBACK_MANAGER:RegisterCallback("OnGamepadDialogHidden", function()
if self.deferredKeybindStripDescriptor ~= false then
self:SwitchToKeybind(self.deferredKeybindStripDescriptor)
end
end)
- ingame/mail/gamepad/mailsend_gamepad.lua:149 -- self.goldSlider:RegisterCallback("OnValueChanged", function() MAIL_MANAGER_GAMEPAD:RefreshKeybind() end)
- ingame/mail/gamepad/mailsend_gamepad.lua:154 -- GAMEPAD_MAIL_SEND_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_SHOWN then
if self.pendingMailChanged then
ZO_Dialogs_ShowGamepadDialog("MAIL_ATTACHMENTS_CHANGED")
self.pendingMailChanged = nil
end
elseif newState == SCENE_FRAGMENT_HIDDEN then
ZO_MailSend_Shared.SavePendingMail()
self:OnHidden()
end
end)
- ingame/mail/keyboard/mailinbox_keyboard.lua:14 -- MAIL_INBOX_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:AddKeybindButtonGroup(self.selectionKeybindStripDescriptor)
if self.inboxDirty then
self:RefreshData()
end
elseif newState == SCENE_HIDING then
CURRENCY_INPUT:Hide()
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.selectionKeybindStripDescriptor)
end
end)
- ingame/mail/keyboard/mailsend_keyboard.lua:66 -- MAIL_SEND_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
PLAYER_INVENTORY:SetContextForInventories("mailTextSearch", INVENTORY_TYPE_LIST)
TEXT_SEARCH_MANAGER:ActivateTextSearch("mailTextSearch")
ConnectMoneyEvents()
KEYBIND_STRIP:AddKeybindButtonGroup(self.staticKeybindStripDescriptor)
ZO_MailSend_Shared.RestorePendingMail(self)
elseif newState == SCENE_SHOWN then
if self.pendingMailChanged then
ZO_Dialogs_ShowDialog("MAIL_ATTACHMENTS_CHANGED")
self.pendingMailChanged = nil
end
elseif newState == SCENE_HIDDEN then
TEXT_SEARCH_MANAGER:DeactivateTextSearch("mailTextSearch")
local REMOVE_CONTEXT = nil
PLAYER_INVENTORY:SetContextForInventories(REMOVE_CONTEXT, INVENTORY_TYPE_LIST)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.staticKeybindStripDescriptor)
ZO_MailSend_Shared.SavePendingMail()
DisconnectMoneyEvents()
end
end)
- ingame/mainmenu/zo_mainmenu_manager.lua:160 -- self:RegisterCallback("OnBlockingSceneActivated", callback, arg)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:547 -- PLAYER_SUBMENU_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.mode = MODE_SUBLIST
end
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
end)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:553 -- MAIN_MENU_MANAGER:RegisterCallback("OnPlayerStateUpdate", function() self:UpdateEntryEnabledStates() end)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:572 -- MAIN_MENU_MANAGER:RegisterCallback("OnBlockingSceneCleared", OnBlockingSceneCleared)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:735 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", MarkNewnessDirty)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:736 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", MarkNewnessDirty)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:739 -- GIFT_INVENTORY_MANAGER:RegisterCallback("GiftListsChanged", MarkNewnessDirty)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:904 -- panel:RegisterCallback("PanelSelectionEnd", self.exitHelperPanelFunction)
- ingame/mainmenu/gamepad/zo_main_menu_helper_panel_gamepad.lua:21 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnShowing()
elseif newState == SCENE_HIDING then
self:OnHiding()
elseif newState == SCENE_HIDDEN then
self:OnHidden()
end
end)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:442 -- MAIN_MENU_MANAGER:RegisterCallback("OnPlayerStateUpdate", function() self:UpdateCategories() end)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:443 -- MAIN_MENU_MANAGER:RegisterCallback("OnBlockingSceneActivated", OnBlockingSceneActivated)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:444 -- MAIN_MENU_MANAGER:RegisterCallback("OnBlockingSceneCleared", OnBlockingSceneCleared)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:517 -- scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.ignoreCallbacks = true
local skipAnimation = not self:IsShowing()
ZO_MenuBar_SelectDescriptor(self.categoryBar, category, skipAnimation)
self.lastCategory = category
if sceneGroupName == nil then
-- don't set the last scene name if this scene is part of a scene group
-- when we toggle a category we will default to showing the last scene name
-- however for scene groups we want to show the active scene not necessarily the last shown scene
self:SetLastSceneName(categoryInfo, sceneName)
else
-- if we are part of a scene group, when we show the scene, make sure to
-- flag this scene as the active one
local sceneGroup = SCENE_MANAGER:GetSceneGroup(sceneGroupName)
sceneGroup:SetActiveScene(sceneName)
end
self.ignoreCallbacks = false
end
end)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:594 -- sceneGroup:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_GROUP_SHOWING then
self.sceneShowGroupName = sceneGroupName
local nextScene = SCENE_MANAGER:GetNextScene():GetName()
-- this update can be called before the scene itself is set to showing,
-- so make sure to set the active scene here so we can update the scene group bar correctly
sceneGroup:SetActiveScene(nextScene)
self:SetLastSceneGroupName(categoryInfo, sceneGroupName)
self:SetupSceneGroupBar(category, sceneGroupName)
elseif newState == SCENE_GROUP_SHOWN then
local sceneGroupBarTutorialTrigger = self.sceneGroupInfo[sceneGroupName].sceneGroupBarTutorialTrigger
if sceneGroupBarTutorialTrigger then
TriggerTutorial(sceneGroupBarTutorialTrigger)
end
end
end)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:652 -- CALLBACK_MANAGER:RegisterCallback(callbackName, function()
if self.sceneShowGroupName == sceneGroupName then
ZO_MenuBar_UpdateButtons(self.sceneGroupBar, FORCE_SELECTION)
end
end)
- ingame/map/cmaphandlers.lua:98 -- FOCUSED_QUEST_TRACKER:RegisterCallback("QuestTrackerAssistStateChanged", OnQuestTrackerAssistStateChanged)
- ingame/map/cmaphandlers.lua:99 -- FOCUSED_QUEST_TRACKER:RegisterCallback("QuestTrackerTrackingStateChanged", OnQuestTrackerTrackingStateChanged)
- ingame/map/cmaphandlers.lua:115 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("AntiquitiesUpdated", RefreshAntiquityDigSites)
- ingame/map/cmaphandlers.lua:116 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityDigSitesUpdated", RefreshAntiquityDigSites)
- ingame/map/mappin_manager.lua:124 -- WORLD_MAP_QUEST_BREADCRUMBS:RegisterCallback("QuestAvailable", function(...) self:OnQuestAvailable(...) end)
- ingame/map/mappin_manager.lua:125 -- WORLD_MAP_QUEST_BREADCRUMBS:RegisterCallback("QuestRemoved", function(...) self:OnQuestRemoved(...) end)
- ingame/map/mappin_manager.lua:129 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapModeChanged", OnWorldMapModeChanged)
- ingame/map/mappin_manager.lua:131 -- FOCUSED_QUEST_TRACKER:RegisterCallback("QuestTrackerAssistStateChanged", function(...) self:OnAssistStateChanged(...) end)
- ingame/map/worldmap.lua:3627 -- WORLD_MAP_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
g_mapPinManager:UpdateMovingPins()
g_dataRegistration:Refresh()
g_mapPanAndZoom:OnWorldMapShowing()
self:OnShowing()
self:TryTriggeringTutorials()
elseif newState == SCENE_FRAGMENT_HIDING then
HideAllTooltips()
g_mapPinManager:ResetMouseOverPins()
self:OnHiding()
elseif newState == SCENE_FRAGMENT_HIDDEN then
g_dataRegistration:Refresh()
self:OnHidden()
end
end)
- ingame/map/worldmap.lua:3644 -- GAMEPAD_WORLD_MAP_INFO_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING or newState == SCENE_FRAGMENT_HIDDEN then
self:UpdateFloorAndLevelNavigation()
end
end)
- ingame/map/worldmap.lua:3902 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", function(...) self:OnCollectionUpdated(...) end)
- ingame/map/worldmap.lua:3904 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function(wasNavigateIn)
local mouseoverNameControl = self.control:GetNamedChild("MouseoverName")
mouseoverNameControl:SetText("")
mouseoverNameControl.owner = ""
local mouseoverDescriptionControl = self.control:GetNamedChild("MouseOverDescription")
mouseoverDescriptionControl:SetText("")
g_mapPinManager:UpdateMovingPins()
UpdateMapCampaign()
ZO_WorldMap_UpdateMap()
g_mapRefresh:RefreshAll("group")
g_mapPanAndZoom:OnWorldMapChanged(wasNavigateIn)
ZO_WorldMap_MarkKeybindStripsDirty()
g_dataRegistration:Refresh()
self:TryTriggeringTutorials()
end)
- ingame/map/worldmap.lua:3945 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("AntiquitiesUpdated", RefreshAntiquityDigSites)
- ingame/map/worldmap.lua:3946 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityDigSitesUpdated", RefreshAntiquityDigSites)
- ingame/map/worldmap.lua:3956 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function()
self:OnWorldMapChanged()
end)
- ingame/map/worldmap.lua:4050 -- WORLD_MAP_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
g_keybindStrips.zoomKeybind:SetHidden(false)
SCENE_MANAGER:AddFragment(WORLD_MAP_ZONE_STORY_KEYBOARD_FRAGMENT)
KEYBIND_STRIP:AddKeybindButtonGroup(g_keybindStrips.PC:GetDescriptor())
if g_pendingKeepInfo then
WORLD_MAP_KEEP_INFO:ShowKeep(g_pendingKeepInfo)
g_pendingKeepInfo = nil
end
elseif newState == SCENE_HIDDEN then
g_keybindStrips.zoomKeybind:SetHidden(true)
KEYBIND_STRIP:RemoveKeybindButtonGroup(g_keybindStrips.PC:GetDescriptor())
KEYBIND_STRIP:RemoveKeybindButtonGroup(g_keybindStrips.mouseover:GetDescriptor())
end
end)
- ingame/map/worldmap.lua:4069 -- GAMEPAD_WORLD_MAP_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
ZO_WorldMap_SetGamepadKeybindsShown(true)
SCENE_MANAGER:AddFragment(WORLD_MAP_ZONE_STORY_GAMEPAD_FRAGMENT)
if g_pendingKeepInfo then
GAMEPAD_WORLD_MAP_KEEP_INFO:ShowKeep(g_pendingKeepInfo)
g_pendingKeepInfo = nil
end
if ZO_WorldMapButtonsToggleSize then
ZO_WorldMapButtonsToggleSize:SetHidden(true)
end
elseif newState == SCENE_HIDING then
ZO_WorldMap_SetDirectionalInputActive(false)
KEYBIND_STRIP:RemoveKeybindButtonGroup(g_keybindStrips.gamepad:GetDescriptor())
KEYBIND_STRIP:RemoveKeybindButtonGroup(g_keybindStrips.gamepadCloseOptions:GetDescriptor())
elseif newState == SCENE_HIDDEN then
g_gamepadMap:StopMotion()
if ZO_WorldMapButtonsToggleSize then
ZO_WorldMapButtonsToggleSize:SetHidden(false)
end
ZO_SavePlayerConsoleProfile()
ZO_WorldMap_SetGamepadKeybindsShown(false)
end
end)
- ingame/map/worldmapantiquities_shared.lua:32 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/map/worldmapantiquities_shared.lua:48 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapModeChanged", UpdateForModeChange)
- ingame/map/worldmapantiquities_shared.lua:49 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", RefreshList)
- ingame/map/worldmapfilters_shared.lua:131 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", OnMapChanged)
- ingame/map/worldmapfilters_shared.lua:132 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapModeChanged", OnMapChanged)
- ingame/map/worldmaphouses_shared.lua:8 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/map/worldmaphouses_shared.lua:26 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapModeChanged", UpdateForModeChange)
- ingame/map/worldmapinfo_shared.lua:13 -- self.worldMapInfoFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/map/worldmapkeepinfo_shared.lua:208 -- self.worldMapKeepInfoFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/map/worldmapkeepinfo_shared.lua:216 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapCampaignChanged", function()
if(self.keepUpgradeObject) then
self.keepUpgradeObject:SetBGQueryType(ZO_WorldMap_GetBattlegroundQueryType())
CALLBACK_MANAGER:FireCallbacks("OnWorldMapKeepChanged")
end
end)
- ingame/map/worldmapkeepinfo_shared.lua:223 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function()
self:HideKeep()
end)
- ingame/map/worldmapkeepsummary_shared.lua:21 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
self:RefreshAll()
elseif(newState == SCENE_FRAGMENT_HIDDEN) then
self.keepUpgradeObject = nil
end
end)
- ingame/map/worldmapkeepsummary_shared.lua:41 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapKeepChanged", function()
IfShowing(self.RefreshAll)
end)
- ingame/map/worldmapkeepupgrade_shared.lua:60 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
self:OnFragmentShown()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnFragmentHidden()
end
end)
- ingame/map/worldmapkeepupgrade_shared.lua:90 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapKeepChanged", function()
IfShowing(self.RefreshAll)
end)
- ingame/map/worldmapkey_shared.lua:13 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function()
self.dirty = true
self:RefreshKey()
end)
- ingame/map/worldmaplocations_shared.lua:9 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function()
self:UpdateSelectedMap()
end)
- ingame/map/worldmaplocations_shared.lua:20 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapModeChanged", UpdateForModeChange)
- ingame/map/worldmapquestbreadcrumbs.lua:24 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function() self:OnWorldMapChanged() end)
- ingame/map/worldmapquests_shared.lua:27 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapQuestsDataRefresh", LayoutList)
- ingame/map/worldmapquests_shared.lua:28 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function() self:RefreshNoQuestsLabel() end)
- ingame/map/worldmapquests_shared.lua:67 -- WORLD_MAP_QUEST_BREADCRUMBS:RegisterCallback("QuestAvailable", function(...) self:OnQuestAvailable(...) end)
- ingame/map/worldmapquests_shared.lua:68 -- WORLD_MAP_QUEST_BREADCRUMBS:RegisterCallback("QuestRemoved", function(...) self:OnQuestRemoved(...) end)
- ingame/map/worldmapzonestory_shared.lua:24 -- self.fragment:RegisterCallback("StateChange", function(_, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDING then
self:OnHiding()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/map/worldmapzonestory_shared.lua:52 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function()
self:RefreshZoneStoryZone()
end)
- ingame/map/gamepad/worldmapfilters_gamepad.lua:233 -- GAMEPAD_WORLD_MAP_FILTERS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.currentPanel.list:Activate()
self.currentPanel:BuildControls()
self:SelectKeybind()
elseif newState == SCENE_HIDDEN then
self:SwitchToKeybind(nil)
self.currentPanel:HideDropDown()
self.currentPanel.list:Deactivate()
end
end)
- ingame/map/gamepad/worldmapfilters_gamepad.lua:245 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapSavedVarsReady", function(savedVars)
self.pvePanel = PvEWorldMapFilterPanel_Gamepad:New(self.control:GetNamedChild("Main"):GetNamedChild("PvE"), MAP_FILTER_TYPE_STANDARD, savedVars)
self.pvpPanel = PvPWorldMapFilterPanel_Gamepad:New(self.control:GetNamedChild("Main"):GetNamedChild("PvP"), MAP_FILTER_TYPE_AVA_CYRODIIL, savedVars)
self.imperialPvPPanel = ImperialPvPWorldMapFilterPanel_Gamepad:New(self.control:GetNamedChild("Main"):GetNamedChild("ImperialPvP"), MAP_FILTER_TYPE_AVA_IMPERIAL, savedVars)
self.battlegroundPanel = BattlegroundWorldMapFilterPanel_Gamepad:New(self.control:GetNamedChild("Main"):GetNamedChild("Battleground"), MAP_FILTER_TYPE_BATTLEGROUND, savedVars)
end)
- ingame/map/gamepad/worldmapinfo_gamepad.lua:112 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function()
ZO_GamepadGenericHeader_Refresh(self.header, self.baseHeaderData)
end)
- ingame/map/gamepad/worldmapkey_gamepad.lua:55 -- GAMEPAD_WORLD_MAP_KEY_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
ZO_WorldMap_SetGamepadKeybindsShown(false)
self:RefreshKey()
self.m_keybindState = KEYBIND_STRIP:PushKeybindGroupState()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor, self.m_keybindState)
ZO_WorldMap_UpdateInteractKeybind_Gamepad()
elseif(newState == SCENE_HIDING) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor, self.m_keybindState)
KEYBIND_STRIP:PopKeybindGroupState()
ZO_WorldMap_UpdateInteractKeybind_Gamepad()
ZO_WorldMap_SetGamepadKeybindsShown(true)
end
end)
- ingame/map/gamepad/worldmaplocations_gamepad.lua:8 -- CALLBACK_MANAGER:RegisterCallback("OnShowWorldMapTooltip", function() self:UpdateSideContentVisibility(SHOWING_TOOLTIP) end)
- ingame/map/gamepad/worldmaplocations_gamepad.lua:9 -- CALLBACK_MANAGER:RegisterCallback("OnHideWorldMapTooltip", function() self:UpdateSideContentVisibility(NOT_SHOWING_TOOLTIP) end)
- ingame/map/gamepad/worldmaplocations_gamepad.lua:17 -- GAMEPAD_WORLD_MAP_LOCATIONS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
if not self.listDisabled then
self.list:Activate()
end
self.list:RefreshVisible()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.list:Deactivate()
end
end)
- ingame/map/gamepad/worldmapquests_gamepad.lua:44 -- GAMEPAD_WORLD_MAP_QUESTS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.questList:Activate()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_SHOWN then
self:SetupQuestDetails()
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.questList:Deactivate()
end
end)
- ingame/map/gamepad/worldmapzonestory_gamepad.lua:44 -- keepInfoObject:RegisterCallback("PreShowKeep", function()
self:GetFragment():SetHiddenForReason(ZO_WORLD_MAP_ZONE_STORY_HIDE_REASONS.KEEP_INFO_SHOWN, true)
end)
- ingame/map/gamepad/worldmapzonestory_gamepad.lua:48 -- keepInfoObject:RegisterCallback("WorldMapKeepInfoHidden", function()
self:GetFragment():SetHiddenForReason(ZO_WORLD_MAP_ZONE_STORY_HIDE_REASONS.KEEP_INFO_SHOWN, false)
end)
- ingame/map/gamepad/worldmapzonestory_gamepad.lua:52 -- CALLBACK_MANAGER:RegisterCallback("WorldMapInfo_Gamepad_Showing", function()
self:GetFragment():SetHiddenForReason(ZO_WORLD_MAP_ZONE_STORY_HIDE_REASONS.MAP_INFO_SHOWN, true)
end)
- ingame/map/gamepad/worldmapzonestory_gamepad.lua:56 -- CALLBACK_MANAGER:RegisterCallback("WorldMapInfo_Gamepad_Hidden", function()
self:GetFragment():SetHiddenForReason(ZO_WORLD_MAP_ZONE_STORY_HIDE_REASONS.MAP_INFO_SHOWN, false)
end)
- ingame/map/keyboard/worldmapcorner_keyboard.lua:13 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", UpdateTitleEventCallback)
- ingame/map/keyboard/worldmapcorner_keyboard.lua:14 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapCampaignChanged", UpdateTitleEventCallback)
- ingame/map/keyboard/worldmapfilters_keyboard.lua:138 -- WORLD_MAP_KEY_FILTERS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
self.currentPanel:LoadInitialState()
end
end)
- ingame/map/keyboard/worldmapfilters_keyboard.lua:144 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapSavedVarsReady", function(savedVars)
self.pvePanel = PvEWorldMapFilterPanel:New(self.control:GetNamedChild("PvE"), MAP_FILTER_TYPE_STANDARD, savedVars)
self.pvpPanel = PvPWorldMapFilterPanel:New(self.control:GetNamedChild("PvP"), MAP_FILTER_TYPE_AVA_CYRODIIL, savedVars)
self.imperialPvPPanel = ImperialPvPWorldMapFilterPanel:New(self.control:GetNamedChild("ImperialPvP"), MAP_FILTER_TYPE_AVA_IMPERIAL, savedVars)
self.battlegroundPanel = BattlegroundWorldMapFilterPanel:New(self.control:GetNamedChild("Battleground"), MAP_FILTER_TYPE_BATTLEGROUND, savedVars)
end)
- ingame/map/keyboard/worldmapkey_keyboard.lua:30 -- WORLD_MAP_KEY_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
self:RefreshKey()
end
end)
- ingame/map/keyboard/worldmapquests_keyboard.lua:18 -- FOCUSED_QUEST_TRACKER:RegisterCallback("QuestTrackerAssistStateChanged", function(...) self:RefreshHeaders() end)
- ingame/map/keyboard/worldmapzonestory_keyboard.lua:103 -- keepInfoObject:RegisterCallback("PreShowKeep", function()
self:GetFragment():SetHiddenForReason(ZO_WORLD_MAP_ZONE_STORY_HIDE_REASONS.KEEP_INFO_SHOWN, true)
end)
- ingame/map/keyboard/worldmapzonestory_keyboard.lua:107 -- keepInfoObject:RegisterCallback("WorldMapKeepInfoHidden", function()
self:GetFragment():SetHiddenForReason(ZO_WORLD_MAP_ZONE_STORY_HIDE_REASONS.KEEP_INFO_SHOWN, false)
end)
- ingame/outfits/outfit_manager.lua:667 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", OnCollectionUpdated)
- ingame/outfits/outfit_manager.lua:760 -- outfitManipulator:RegisterCallback("PendingDataChanged", function(outfitSlotIndex) self:OnOutfitPendingDataChanged(actorCategory, outfitIndex, outfitSlotIndex) end)
- ingame/outfits/keyboard/outfitstylespanel_keyboard.lua:27 -- ZO_OUTFIT_MANAGER:RegisterCallback("OptionsInfoAvailable", function() ZO_CheckButton_SetCheckState(self.showLockedCheckBox, ZO_OUTFIT_MANAGER:GetShowLocked()) end)
- ingame/outfits/keyboard/outfitstylespanel_keyboard.lua:30 -- KEYBOARD_OUTFIT_STYLES_PANEL_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDING then
self:OnHiding()
end
end)
- ingame/outfits/keyboard/outfitstylespanel_keyboard.lua:73 -- ZO_OUTFIT_MANAGER:RegisterCallback("ShowLockedChanged", function()
ZO_CheckButton_SetCheckState(self.showLockedCheckBox, ZO_OUTFIT_MANAGER:GetShowLocked())
RefreshVisible()
end)
- ingame/outfits/keyboard/outfitstylespanel_keyboard.lua:165 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("UpdateSearchResults", RefreshVisible)
- ingame/outfits/keyboard/outfitstylespanel_keyboard.lua:166 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", RefreshVisible)
- ingame/outfits/keyboard/outfitstylespanel_keyboard.lua:167 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNewStatusCleared", OnCollectibleNewStatusCleared)
- ingame/outfits/keyboard/outfitstylespanel_keyboard.lua:168 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleCategoryNewStatusCleared", OnCollectibleCategoryNewStatusCleared)
- ingame/outfits/keyboard/outfitstylespanel_keyboard.lua:177 -- ZO_OUTFIT_MANAGER:RegisterCallback("PendingDataChanged", OnOutfitPendingDataChanged)
- ingame/playeremote/playeremotemanager.lua:11 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", function(...) self:OnCollectibleUpdated(...) end)
- ingame/playeremote/playeremotemanager.lua:12 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", function(...) self:OnCollectionUpdated(...) end)
- ingame/playeremote/gamepad/playeremote_gamepad.lua:295 -- PLAYER_EMOTE_MANAGER:RegisterCallback("EmoteListUpdated", function()
if GAMEPAD_PLAYER_EMOTE_SCENE:IsShowing() then
self:CreateCategoryList()
else
self:MarkDirty()
end
end)
- ingame/playeremote/keyboard/playeremote_keyboard.lua:37 -- keyboardPlayerEmoteFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
TriggerTutorial(TUTORIAL_TRIGGER_EMOTES_MENU_OPENED)
if self.isDirty then
self:UpdateCategories()
end
self.wheel:Activate()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self.wheel:Deactivate()
end
end)
- ingame/playeremote/keyboard/playeremote_keyboard.lua:51 -- PLAYER_EMOTE_MANAGER:RegisterCallback("EmoteListUpdated",
function()
if keyboardPlayerEmoteFragment:IsShowing() then
self:UpdateCategories()
else
self:MarkDirty()
end
end)
- ingame/playertoplayer/playertoplayer.lua:738 -- GIFT_INVENTORY_MANAGER:RegisterCallback("GiftListsChanged", OnGiftsUpdated)
- ingame/quickslot/gamepad/quickslot_gamepad.lua:57 -- GAMEPAD_QUICKSLOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
self:RefreshHeader()
local UNSLOT_PENDING_ENTRY = true
self.wheel:Show(UNSLOT_PENDING_ENTRY)
KEYBIND_STRIP:AddKeybindButtonGroup(self.navigationKeybindDescriptor)
elseif newState == SCENE_HIDING then
self.wheel:Hide()
elseif newState == SCENE_HIDDEN then
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.navigationKeybindDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.assignKeybindDescriptor)
end
end)
- ingame/quickslot/keyboard/quickslot_keyboard.lua:83 -- TEXT_SEARCH_MANAGER:RegisterCallback("UpdateSearchResults", OnListTextFilterComplete)
- ingame/quickslot/keyboard/quickslot_keyboard.lua:147 -- self.sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/quickslot/keyboard/quickslot_keyboard.lua:209 -- KEYBOARD_QUICKSLOT_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
TEXT_SEARCH_MANAGER:ActivateTextSearch("quickslotTextSearch")
self:UpdateList()
self:UpdateFreeSlots()
elseif newState == SCENE_FRAGMENT_HIDDEN then
TEXT_SEARCH_MANAGER:DeactivateTextSearch("quickslotTextSearch")
end
end)
- ingame/quickslot/keyboard/quickslot_keyboard.lua:220 -- KEYBOARD_QUICKSLOT_CIRCLE_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.wheel:Activate()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self.wheel:Deactivate()
end
end)
- ingame/quickslot/keyboard/quickslot_keyboard.lua:228 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", RefreshQuickslotWindow)
- ingame/quickslot/keyboard/quickslot_keyboard.lua:229 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", RefreshQuickslotWindow)
- ingame/quickslot/keyboard/quickslot_keyboard.lua:231 -- SHARED_INVENTORY:RegisterCallback("FullQuestUpdate", RefreshQuickslotWindow)
- ingame/quickslot/keyboard/quickslot_keyboard.lua:232 -- SHARED_INVENTORY:RegisterCallback("SingleQuestUpdate", RefreshQuickslotWindow)
- ingame/repair/repairwindow.lua:70 -- self.sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/repair/repairwindow.lua:90 -- TEXT_SEARCH_MANAGER:RegisterCallback("UpdateSearchResults", OnListTextFilterComplete)
- ingame/restyle/gamepad/outfit_selector_gamepad.lua:68 -- GAMEPAD_OUTFITS_SELECTOR_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
ITEM_PREVIEW_GAMEPAD:ResetOutfitPreview()
self:UpdateOutfitList()
self:RefreshHeader()
self.outfitSelectorList:Activate()
local dataIndex = 1
if self.currentOutfitIndex then
dataIndex = dataIndex + self.currentOutfitIndex
end
self.outfitSelectorList:SetSelectedIndexWithoutAnimation(dataIndex)
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
ZO_OUTFIT_MANAGER:RegisterCallback("RefreshOutfitName", OnRefreshOutfitName)
self:PreviewOutfit(self.currentActorCategory, self.currentOutfitIndex)
elseif newState == SCENE_HIDDEN then
ZO_OUTFIT_MANAGER:UnregisterCallback("RefreshOutfitName", OnRefreshOutfitName)
self.outfitSelectorList:Deactivate()
GAMEPAD_TOOLTIPS:ClearLines(GAMEPAD_LEFT_TOOLTIP)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
if self.currentOutfitIndex then
ZO_OUTFIT_MANAGER:EquipOutfit(self.currentActorCategory, self.currentOutfitIndex)
else
ZO_OUTFIT_MANAGER:UnequipOutfit(self.currentActorCategory)
end
end
end)
- ingame/restyle/gamepad/outfit_selector_gamepad.lua:85 -- ZO_OUTFIT_MANAGER:RegisterCallback("RefreshOutfitName", OnRefreshOutfitName)
- ingame/restyle/gamepad/outfit_selector_gamepad.lua:104 -- ZO_OUTFIT_MANAGER:RegisterCallback("RefreshEquippedOutfitIndex", function() self:UpdateCurrentOutfitIndex() end)
- ingame/restyle/gamepad/outfit_slots_panel_gamepad.lua:38 -- ZO_OUTFIT_MANAGER:RegisterCallback("ShowLockedChanged", function() self:RebuildList() end)
- ingame/restyle/gamepad/outfit_slots_panel_gamepad.lua:63 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("UpdateSearchResults", self.onUpdateCollectionsSearchResultsCallback)
- ingame/restyle/gamepad/restylestation_gamepad.lua:40 -- GAMEPAD_RESTYLE_STATION_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnFragmentShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnFragmentHidden()
end
end)
- ingame/restyle/gamepad/restylestation_gamepad.lua:67 -- ZO_OUTFIT_MANAGER:RegisterCallback("PendingDataChanged", OnOutfitPendingDataChanged)
- ingame/restyle/gamepad/restylestation_gamepad.lua:447 -- self.outfitsPanel:RegisterCallback("PanelSelectionEnd", function(...) self:OnPanelSelectionEnd(...) end)
- ingame/restyle/gamepad/restylestation_gamepad.lua:453 -- self.dyeingPanel:RegisterCallback("PanelSelectionEnd", function(...) self:OnPanelSelectionEnd(...) end)
- ingame/restyle/gamepad/restylestation_gamepad.lua:454 -- self.dyeingPanel:RegisterCallback("DyeSelected", function(...) self:OnDyeSelected(...) end)
- ingame/restyle/gamepad/restylestation_gamepad.lua:455 -- self.dyeingPanel:RegisterCallback("ToolSelected", function(...) self:OnDyeToolSelected(...) end)
- ingame/restyle/gamepad/restylestation_gamepad.lua:456 -- self.dyeingPanel:RegisterCallback("PendingDyesChanged", function(...) self:OnPendingDyesChanged(...) end)
- ingame/restyle/gamepad/restylestation_gamepad.lua:457 -- self.dyeingPanel:RegisterCallback("SavedSetSlotChanged", function(...) self:OnSavedSetSlotChanged(...) end)
- ingame/restyle/gamepad/restyle_gamepad.lua:30 -- GAMEPAD_RESTYLE_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:SetMode(RESTYLE_MODE_SELECTION)
self.modeList:RefreshVisible()
self.modeList:Activate()
local currentlySelectedData = self.modeList:GetTargetData()
self:UpdateOptionLeftTooltip(currentlySelectedData.mode)
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptorRoot)
ZO_GamepadGenericHeader_Refresh(self.header, self.headerData)
TriggerTutorial(TUTORIAL_TRIGGER_DYEING_OPENED)
if IsESOPlusSubscriber() then
TriggerTutorial(TUTORIAL_TRIGGER_DYEING_OPENED_AS_SUBSCRIBER)
end
elseif newState == SCENE_HIDDEN then
self.modeList:Deactivate()
ZO_GamepadGenericHeader_Deactivate(self.header)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptorRoot)
end
end)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:69 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_SHOWN then
self:OnShown()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:106 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", function() self:OnCollectionUpdated() end)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:107 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNewStatusCleared", function(...) self:OnCollectibleNewStatusCleared(...) end)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:108 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleCategoryNewStatusCleared", function(...) self:OnCollectibleCategoryNewStatusCleared(...) end)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:269 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("UpdateSearchResults", self.onUpdateSearchResultsCallback)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:276 -- ZO_DYEING_MANAGER:RegisterCallback("UpdateSearchResults", self.onUpdateSearchResultsCallback)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:315 -- ZO_OUTFIT_STYLES_PANEL_KEYBOARD:RegisterCallback("MouseTargetChanged", self.updateKeybindCallback)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:582 -- ZO_RESTYLE_SHEET_WINDOW_KEYBOARD:RegisterCallback("SheetSlotRefreshed", self.updateKeybindCallback)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:586 -- ZO_RESTYLE_SHEET_WINDOW_KEYBOARD:RegisterCallback("SheetMouseoverDataChanged", self.updateKeybindCallback)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:587 -- ZO_RESTYLE_SHEET_WINDOW_KEYBOARD:RegisterCallback("NavigateToCollectibleCategoryFromRestyleSlotData", self.navigateToCollectibleCategoryCallback)
- ingame/restyle/keyboard/restylesheetwindow_keyboard.lua:41 -- ZO_RESTYLE_SHEET_WINDOW_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
ZO_OUTFIT_MANAGER:RegisterCallback("RefreshOutfitName", OnRefreshOutfitName)
ZO_OUTFIT_MANAGER:RegisterCallback("RefreshEquippedOutfitIndex", UpdateEquippedOutfit)
elseif newState == SCENE_FRAGMENT_HIDING then
ZO_OUTFIT_MANAGER:UnregisterCallback("RefreshOutfitName", OnRefreshOutfitName)
ZO_OUTFIT_MANAGER:UnregisterCallback("RefreshEquippedOutfitIndex", UpdateEquippedOutfit)
self:OnHiding()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/restyle/keyboard/restylesheetwindow_keyboard.lua:44 -- ZO_OUTFIT_MANAGER:RegisterCallback("RefreshOutfitName", OnRefreshOutfitName)
- ingame/restyle/keyboard/restylesheetwindow_keyboard.lua:45 -- ZO_OUTFIT_MANAGER:RegisterCallback("RefreshEquippedOutfitIndex", UpdateEquippedOutfit)
- ingame/restyle/keyboard/restylesheet_keyboard.lua:367 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_SHOWN then
self:OnShown()
elseif newState == SCENE_FRAGMENT_HIDING then
self:OnHiding()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/restyle/keyboard/restylesheet_keyboard.lua:705 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", OnCollectibleUpdated)
- ingame/restyle/keyboard/restylesheet_keyboard.lua:706 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", OnCollectionUpdated)
- ingame/restyle/keyboard/restylesheet_keyboard.lua:811 -- ZO_OUTFIT_MANAGER:RegisterCallback("PendingDataChanged", OnPendingDataChanged)
- ingame/restyle/keyboard/restylesheet_keyboard.lua:1013 -- ZO_OUTFIT_MANAGER:RegisterCallback("PendingDataChanged", OnPendingDataChanged)
- ingame/restyle/keyboard/restylestation_keyboard.lua:235 -- ZO_RESTYLE_SHEET_WINDOW_KEYBOARD:RegisterCallback("SheetChanged", self.onSheetChangedCallback)
- ingame/restyle/keyboard/restylestation_keyboard.lua:236 -- ZO_RESTYLE_SHEET_WINDOW_KEYBOARD:RegisterCallback("DyeSlotClicked", self.onDyeSlotClickedCallback)
- ingame/restyle/keyboard/restylestation_keyboard.lua:237 -- ZO_RESTYLE_SHEET_WINDOW_KEYBOARD:RegisterCallback("ModeSelectorDropdownChanged", self.updateKeybindCallback)
- ingame/retrait/zo_retraitstation_base.lua:20 -- self.interactScene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
TriggerTutorial(TUTORIAL_TRIGGER_RETRAIT_STATION_OPENED)
self:OnInteractSceneShowing()
elseif newState == SCENE_HIDING then
self:OnInteractSceneHiding()
elseif newState == SCENE_HIDDEN then
self:OnInteractSceneHidden()
end
end)
- ingame/retrait/zo_retraitstation_retrait_base.lua:9 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function(...) self:OnRetraitAnimationsStarted(...) end)
- ingame/retrait/zo_retraitstation_retrait_base.lua:10 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function(...) self:OnRetraitAnimationsStopped(...) end)
- ingame/retrait/zo_retraitstation_retrait_base.lua:11 -- ZO_RETRAIT_STATION_MANAGER:RegisterCallback("OnRetraitDirtyEvent", function(...) self:HandleDirtyEvent(...) end)
- ingame/retrait/gamepad/retraitstation_reconstruct_gamepad.lua:13 -- self:GetFragment():RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_HIDING then
self:HideReconstructOptions()
-- Clear the result tooltip as well as any associated Crafting Result that may still be in progress.
self.resultTooltip.tip:ClearLines()
GAMEPAD_CRAFTING_RESULTS:SetCraftingTooltip(nil)
end
end)
- ingame/retrait/gamepad/retraitstation_reconstruct_gamepad.lua:90 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftStarted)
- ingame/retrait/gamepad/retraitstation_reconstruct_gamepad.lua:91 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftStopped)
- ingame/retrait/gamepad/retraitstation_reconstruct_gamepad.lua:391 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", function()
--Do not try to narrate if a craft is in progress, as the screen will close once it's done
if self.focus:IsActive() and not self.isCraftInProgress then
local NARRATE_HEADER = true
SCREEN_NARRATION_MANAGER:QueueFocus(self.focus, NARRATE_HEADER)
end
end)
- ingame/retrait/gamepad/zo_retraitstation_retrait_gamepad.lua:9 -- interactScene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnShowing()
elseif newState == SCENE_HIDING then
self:OnHiding()
end
end)
- ingame/retrait/keyboard/retraitstation_reconstruct_keyboard.lua:32 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDING then
self:OnHiding()
end
end)
- ingame/retrait/keyboard/retraitstation_reconstruct_keyboard.lua:56 -- ZO_RETRAIT_STATION_MANAGER:RegisterCallback("OnRetraitDirtyEvent", function(...) self:HandleDirtyEvent(...) end)
- ingame/retrait/keyboard/retraitstation_reconstruct_keyboard.lua:70 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftStarted)
- ingame/retrait/keyboard/retraitstation_reconstruct_keyboard.lua:71 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftStopped)
- ingame/retrait/keyboard/retraitstation_reconstruct_keyboard.lua:195 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", RefreshState)
- ingame/retrait/keyboard/retraitstation_reconstruct_keyboard.lua:196 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", RefreshState)
- ingame/retrait/keyboard/zo_retraitstation_retrait_keyboard.lua:14 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:HandleDirtyEvent()
self:RemoveItemFromRetrait()
elseif newState == SCENE_FRAGMENT_HIDDEN then
ZO_InventorySlot_RemoveMouseOverKeybinds()
end
end)
- ingame/retrait/keyboard/zo_retraitstation_retrait_keyboard.lua:55 -- self.retraitSlot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/scenes/ingamefragments.lua:461 -- fragment:RegisterCallback("StateChange", function(...) fragment:OnStateChange(...) end)
- ingame/scenes/ingamefragments.lua:1033 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
fragment:Refresh()
end)
- ingame/scenes/ingamefragments.lua:1036 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
fragment:Refresh()
end)
- ingame/scenes/keyboard/keyboardingamefragmentgroups.lua:33 -- helpModalUnderlayFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
HELP_MANAGER:GetOverlaySyncObject():Show()
elseif newState == SCENE_FRAGMENT_HIDDEN then
HELP_MANAGER:GetOverlaySyncObject():Hide()
end
end)
- ingame/screenshotmode/gamepad/screenshotmode_gamepad.lua:19 -- GAMEPAD_SCREENSHOT_MODE_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.hideKeybindsAtS = GetGameTimeSeconds() + HIDE_DURATION_S
self.previousNameplateSetting = GetSetting_Bool(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_ALL_NAMEPLATES)
self.previousHealthBarSetting = GetSetting_Bool(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_ALL_HEALTHBARS)
self.previousGroupIndicatorSetting = GetSetting_Bool(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_GROUP_INDICATORS)
SetSetting(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_ALL_HEALTHBARS, "false")
SetSetting(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_GROUP_INDICATORS, "false")
elseif newState == SCENE_HIDDEN then
SetSetting(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_ALL_NAMEPLATES, self.previousNameplateSetting and "true" or "false")
SetSetting(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_ALL_HEALTHBARS, self.previousHealthBarSetting and "true" or "false")
SetSetting(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_GROUP_INDICATORS, self.previousGroupIndicatorSetting and "true" or "false")
SetGuiHidden("ingame", false)
self.control:SetAlpha(1)
end
end)
- ingame/scrying/ingamescrying.lua:47 -- SCRYING_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RefreshInputModeFragments()
end
end)
- ingame/siegebar/siegebar.lua:38 -- SIEGE_BAR_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(manager.keybindStripDescriptor)
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(manager.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
end
end)
- ingame/siegebar/siegebar.lua:49 -- SIEGE_BAR_UI_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(manager.UIModeKeybindStripDescriptor)
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(manager.UIModeKeybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
end
end)
- ingame/skills/actionbarassignmentmanager.lua:803 -- SKILLS_AND_ACTION_BAR_MANAGER:RegisterCallback("SkillPointAllocationModeChanged", ResetPlayerHotbars)
- ingame/skills/actionbarassignmentmanager.lua:804 -- SKILLS_AND_ACTION_BAR_MANAGER:RegisterCallback("RespecStateReset", ResetPlayerHotbars)
- ingame/skills/actionbarassignmentmanager.lua:810 -- SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", OnSkillsDataFullUpdate)
- ingame/skills/actionbarassignmentmanager.lua:847 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("PurchasedChanged", OnSkillPurchaseStateChanged)
- ingame/skills/actionbarassignmentmanager.lua:863 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("SkillProgressionKeyChanged", OnSkillProgressionStateChanged)
- ingame/skills/actionbarassignmentmanager.lua:876 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("OnSkillsCleared", OnSkillsCleared)
- ingame/skills/skillpointallocationmanager.lua:579 -- SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", function() self:OnFullSystemUpdated() end)
- ingame/skills/skillpointallocationmanager.lua:580 -- SKILLS_AND_ACTION_BAR_MANAGER:RegisterCallback("SkillPointAllocationModeChanged", function(...) self:OnSkillPointAllocationModeChanged(...) end)
- ingame/skills/skillpointallocationmanager.lua:581 -- SKILLS_AND_ACTION_BAR_MANAGER:RegisterCallback("RespecStateReset", function(...) self:OnFullSystemUpdated(...) end)
- ingame/skills/skillsandactionbarmanager.lua:142 -- manager:RegisterCallback("PurchasedChanged", MarkDirty)
- ingame/skills/skillsandactionbarmanager.lua:143 -- manager:RegisterCallback("SkillProgressionKeyChanged", MarkDirty)
- ingame/skills/skillsandactionbarmanager.lua:158 -- manager:RegisterCallback("SlotUpdated", OnSlotUpdated)
- ingame/skills/skillscomponents_shared.lua:102 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineUpdated", skillInfoHeaderControl.updateSkillInfoHeaderCallback)
- ingame/skills/skillscomponents_shared.lua:111 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", skillInfoHeaderControl.craftingAnimationsStoppedCallback)
- ingame/skills/skillscomponents_shared.lua:116 -- SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", skillInfoHeaderControl.updateSkillInfoHeaderCallback)
- ingame/skills/skillscomponents_shared.lua:211 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineUpdated", self.OnSkillLineUpdateHandler)
- ingame/skills/skillscomponents_shared.lua:221 -- SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", self.OnFullSkillUpdateHandler)
- ingame/skills/gamepad/gamepadassignableactionbar.lua:28 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("SlotUpdated", function(...) self:OnSlotUpdated(...) end)
- ingame/skills/gamepad/gamepadassignableactionbar.lua:29 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("SlotNewStatusChanged", function(...) self:OnSlotUpdated(...) end)
- ingame/skills/gamepad/gamepadassignableactionbar.lua:30 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("CurrentHotbarUpdated", function(...) self:OnCurrentHotbarUpdated(...) end)
- ingame/skills/gamepad/gamepadassignableactionbar.lua:523 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.keybindStripId = KEYBIND_STRIP:PushKeybindGroupState()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStrip, self.keybindStripId)
self.list:Activate()
self:RefreshList()
elseif newState == SCENE_FRAGMENT_HIDING then
self.assignableActionBar:ClearTargetSkill()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self.list:Deactivate()
KEYBIND_STRIP:PopKeybindGroupState()
self.keybindStripId = nil
end
end)
- ingame/skills/gamepad/gamepadassignableactionbar.lua:602 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("HotbarSwapVisibleStateChanged", OnHotbarSwapVisibleStateChanged)
- ingame/skills/gamepad/gamepadassignableactionbar.lua:609 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("SlotUpdated", OnSlotAssignmentsChanged)
- ingame/skills/gamepad/gamepadassignableactionbar.lua:610 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("CurrentHotbarUpdated", OnSlotAssignmentsChanged)
- ingame/skills/gamepad/gamepadassignableactionbar.lua:620 -- self.assignableActionBar:RegisterCallback("SelectedButtonChanged", OnSelectedButtonChanged)
- ingame/skills/gamepad/gamepadskills.lua:88 -- GAMEPAD_SKILLS_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
if newState == SCENE_SHOWING then
self:SetMode(ZO_GAMEPAD_SKILLS_SKILL_LIST_BROWSE_MODE)
self:RefreshHeader(GetString(SI_MAIN_MENU_SKILLS))
self.categoryListRefreshGroup:TryClean()
KEYBIND_STRIP:AddKeybindButtonGroup(self.categoryKeybindStripDescriptor)
if self.returnToAdvisor then
local previousSceneName = SCENE_MANAGER:GetPreviousSceneName()
if previousSceneName == "gamepad_skills_line_filter" then
-- first entry is always the skills advisor
self.categoryList:SetSelectedIndexWithoutAnimation(1)
self:DeactivateCurrentList()
ZO_GAMEPAD_SKILLS_ADVISOR_SUGGESTIONS_WINDOW:Activate()
end
self.returnToAdvisor = false
end
TriggerTutorial(TUTORIAL_TRIGGER_COMBAT_SKILLS_OPENED)
local level = GetUnitLevel("player")
if level >= GetSkillBuildTutorialLevel() then
TriggerTutorial(TUTORIAL_TRIGGER_SKILL_BUILD_SELECTION)
end
if self.showAttributeDialog then
--Defer dialog call in case we're entering the scene from the base scene. This is to
--ensure the dialog's keybind layer is added after the other layers, and not before.
local function ShowDialog()
if SCENE_MANAGER:IsShowing("gamepad_skills_root") then
ZO_Dialogs_ShowGamepadDialog("GAMEPAD_SKILLS_ATTRIBUTE_PURCHASE", nil, nil)
end
end
zo_callLater(ShowDialog, 20)
end
elseif newState == SCENE_SHOWN then
--If we entered skills with the action bar selected make sure to activate it. We do this in shown because fragments are set to showing after
--the scene is which means the action bar is still hidden on showing which prevents activating it.
if self.mode == ZO_GAMEPAD_SKILLS_SKILL_LIST_BROWSE_MODE then
if self.assignableActionBar:IsActive() then
self:ActivateAssignableActionBarFromList()
end
end
elseif newState == SCENE_HIDING then
--Disable now so it's not possible to change the selected skill live/skills advisor entry as the scene is hiding since the line filter list depends on it being a skill line
self:DisableCurrentList()
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.categoryKeybindStripDescriptor)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_RIGHT_TOOLTIP)
end
end)
- ingame/skills/gamepad/gamepadskills.lua:144 -- GAMEPAD_SKILLS_LINE_FILTER_SCENE:RegisterCallback("StateChange", function(oldState, newState)
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
if newState == SCENE_SHOWING then
local targetSkillLineData = self.categoryList:GetTargetData().skillLineData
self:SetMode(ZO_GAMEPAD_SKILLS_ABILITY_LIST_BROWSE_MODE)
self:RefreshHeader(targetSkillLineData:GetFormattedName())
--To pick up the new skill line that was just selected
self.lineFilterListRefreshGroup:MarkDirty("List")
self.lineFilterListRefreshGroup:TryClean()
-- If there was a skill data to select, find it and select it now that the skill list is showing
local setSelectedIndex = false
if self.selectSkillData then
for i = 1, self.lineFilterList:GetNumEntries() do
local data = self.lineFilterList:GetDataForDataIndex(i)
if data.skillData == self.selectSkillData then
self.lineFilterList:SetSelectedIndexWithoutAnimation(i)
setSelectedIndex = true
break
end
end
self.selectSkillData = nil
end
if not setSelectedIndex then
self.lineFilterList:SetSelectedIndexWithoutAnimation(1)
end
ACTION_BAR_ASSIGNMENT_MANAGER:UpdateWerewolfBarStateInCycle(targetSkillLineData)
KEYBIND_STRIP:AddKeybindButtonGroup(self.lineFilterKeybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
local NO_SKILL_LINE_SELECTED = nil
ACTION_BAR_ASSIGNMENT_MANAGER:UpdateWerewolfBarStateInCycle(NO_SKILL_LINE_SELECTED)
self:DisableCurrentList()
self:TryClearSkillUpdatedStatus()
self:TryClearSkillLineNewStatus()
self.clearSkillUpdatedStatusCallId = nil
self.clearSkillUpdatedStatusSkillData = nil
self.clearSkillLineNewStatusCallId = nil
self.clearSkillLineNewStatusSkillLineData = nil
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.lineFilterKeybindStripDescriptor)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_RIGHT_TOOLTIP)
if self.mode == ZO_GAMEPAD_SKILLS_SINGLE_ABILITY_ASSIGN_MODE then
self.actionBarAnimation:PlayInstantlyToStart()
end
end
end)
- ingame/skills/gamepad/gamepadskills.lua:194 -- GAMEPAD_SKILLS_SCENE_GROUP:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_GROUP_SHOWING then
self:PerformDeferredInitialization()
self.showAttributeDialog = GetAttributeUnspentPoints() > 0 and not SKILLS_AND_ACTION_BAR_MANAGER:DoesSkillPointAllocationModeBatchSave()
elseif newState == SCENE_GROUP_HIDDEN then
self.assignableActionBar:OnSkillsHidden()
SKILLS_AND_ACTION_BAR_MANAGER:ResetInterface()
end
end)
- ingame/skills/gamepad/gamepadskills.lua:1016 -- SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", FullRebuild)
- ingame/skills/gamepad/gamepadskills.lua:1017 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineUpdated", OnSkillLineUpdated)
- ingame/skills/gamepad/gamepadskills.lua:1018 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineAdded", OnSkillLineAdded)
- ingame/skills/gamepad/gamepadskills.lua:1019 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillProgressionUpdated", OnSkillProgressionUpdated)
- ingame/skills/gamepad/gamepadskills.lua:1020 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("PurchasedChanged", OnPointAllocatorPurchasedChanged)
- ingame/skills/gamepad/gamepadskills.lua:1021 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("SkillProgressionKeyChanged", OnPointAllocatorProgressionKeyChanged)
- ingame/skills/gamepad/gamepadskills.lua:1022 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("OnSkillsCleared", OnSkillsCleared)
- ingame/skills/gamepad/gamepadskills.lua:1023 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("SkillPointsChanged", OnSkillPointsChanged)
- ingame/skills/gamepad/gamepadskills.lua:1024 -- SKILLS_AND_ACTION_BAR_MANAGER:RegisterCallback("SkillPointAllocationModeChanged", OnSkillPointAllocationModeChanged)
- ingame/skills/gamepad/gamepadskills.lua:1025 -- SKILLS_AND_ACTION_BAR_MANAGER:RegisterCallback("RespecStateReset", FullRebuild)
- ingame/skills/gamepad/gamepadskills.lua:1026 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("CurrentHotbarUpdated", OnCurrentHotbarUpdated)
- ingame/skills/gamepad/gamepadskills.lua:1035 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("HotbarSwapVisibleStateChanged", OnHotbarSwapVisibleStateChanged)
- ingame/skills/gamepad/gamepadskills.lua:1038 -- ZO_SKILLS_ADVISOR_SINGLETON:RegisterCallback("OnRequestSelectSkillLine", function() self:SelectSkillLineFromAdvisor() end)
- ingame/skills/gamepad/gamepadskills.lua:1058 -- self.assignableActionBar:RegisterCallback("AbilityFinalized", OnAbilityFinalized)
- ingame/skills/gamepad/gamepadskills.lua:1065 -- self.assignableActionBar:RegisterCallback("SelectedButtonChanged", OnSelectedActionBarButtonChanged)
- ingame/skills/keyboard/keyboardassignableactionbar.lua:34 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("SlotUpdated", OnSlotUpdated)
- ingame/skills/keyboard/keyboardassignableactionbar.lua:35 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("SlotNewStatusChanged", OnSlotUpdated)
- ingame/skills/keyboard/keyboardassignableactionbar.lua:46 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("CurrentHotbarUpdated", OnCurrentHotbarUpdated)
- ingame/skills/keyboard/keyboardassignableactionbar.lua:360 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("CurrentHotbarUpdated", OnCurrentHotbarUpdated)
- ingame/skills/keyboard/keyboardassignableactionbar.lua:365 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("HotbarSwapVisibleStateChanged", OnHotbarSwapVisibleStateChanged)
- ingame/skills/keyboard/zo_skills.lua:621 -- SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", OnFullSystemUpdated)
- ingame/skills/keyboard/zo_skills.lua:622 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineUpdated", OnSkillLineUpdated)
- ingame/skills/keyboard/zo_skills.lua:623 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillProgressionUpdated", OnSkillProgressionUpdated)
- ingame/skills/keyboard/zo_skills.lua:624 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineNewStatusChanged", OnSkillLineNewStatusChanged)
- ingame/skills/keyboard/zo_skills.lua:647 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("SkillPointsChanged", OnSkillPointsChanged)
- ingame/skills/keyboard/zo_skills.lua:648 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("SkillProgressionKeyChanged", OnSkillProgressionKeyChanged)
- ingame/skills/keyboard/zo_skills.lua:656 -- ZO_SKILLS_ADVISOR_SINGLETON:RegisterCallback("OnSelectedSkillBuildUpdated", OnSelectedSkillBuildUpdated)
- ingame/skills/keyboard/zo_skills.lua:672 -- SKILLS_AND_ACTION_BAR_MANAGER:RegisterCallback("SkillPointAllocationModeChanged", OnSkillPointAllocationModeChanged)
- ingame/skills/keyboard/zo_skills.lua:673 -- SKILLS_AND_ACTION_BAR_MANAGER:RegisterCallback("RespecStateReset", OnFullSystemUpdated)
- ingame/skillsadvisor/skillsadvisor_manager.lua:39 -- SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", UpdateSkillBuildData)
- ingame/skillsadvisor/skillsadvisor_manager.lua:40 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineRankUpdated", RefreshVisibleAbilityLists)
- ingame/skillsadvisor/skillsadvisor_manager.lua:41 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("OnSkillsCleared", RefreshVisibleAbilityLists)
- ingame/skillsadvisor/skillsadvisor_manager.lua:42 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("PurchasedChanged", RefreshVisibleAbilityLists)
- ingame/skillsadvisor/skillsadvisor_manager.lua:43 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("SkillProgressionKeyChanged", RefreshVisibleAbilityLists)
- ingame/skillsadvisor/skillsadvisor_manager.lua:44 -- SKILLS_AND_ACTION_BAR_MANAGER:RegisterCallback("SkillPointAllocationModeChanged", RefreshVisibleAbilityLists)
- ingame/skillsadvisor/skillsadvisor_manager.lua:45 -- SKILLS_AND_ACTION_BAR_MANAGER:RegisterCallback("RespecStateReset", RefreshVisibleAbilityLists)
- ingame/skillsadvisor/gamepad/skillsadvisor_buildselection_gamepad.lua:25 -- ZO_SKILLS_ADVISOR_SINGLETON:RegisterCallback("OnSelectedSkillBuildUpdated", OnDataUpdated)
- ingame/skillsadvisor/gamepad/skillsadvisor_suggestions_gamepad.lua:24 -- SKILLS_ADVISOR_SUGGESTIONS_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/skillsadvisor/keyboard/skillsadvisor_buildselection_keyboard.lua:36 -- ZO_SKILLS_ADVISOR_BUILD_SELECT_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
end
end)
- ingame/skillsadvisor/keyboard/skillsadvisor_buildselection_keyboard.lua:42 -- ZO_SKILLS_ADVISOR_SINGLETON:RegisterCallback("OnSelectedSkillBuildUpdated", function() self:ResetSelection() end)
- ingame/skillsadvisor/keyboard/skillsadvisor_keyboard.lua:39 -- SKILLS_ADVISOR_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_SHOWN then
self:OnShown()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/skillsadvisor/keyboard/skillsadvisor_keyboard.lua:65 -- ZO_SKILLS_ADVISOR_SINGLETON:RegisterCallback("OnSelectedSkillBuildUpdated", OnDataUpdated)
- ingame/skillsadvisor/keyboard/skillsadvisor_suggestions_keyboard.lua:33 -- SKILLS_WINDOW:RegisterCallback("OnReadyToHandleClickAction", function() self:OnReadyToHandleClickAction() end)
- ingame/skillsadvisor/keyboard/skillsadvisor_suggestions_keyboard.lua:34 -- ZO_SKILLS_ADVISOR_SINGLETON:RegisterCallback("OnSkillsAdvisorDataUpdated", OnSkillsAdvisorManagerUpdate)
- ingame/skillsadvisor/keyboard/skillsadvisor_suggestions_keyboard.lua:35 -- ZO_SKILLS_ADVISOR_SINGLETON:RegisterCallback("RefreshVisibleAbilityLists", OnSkillsAdvisorManagerUpdate)
- ingame/skillsadvisor/keyboard/skillsadvisor_suggestions_keyboard.lua:37 -- ZO_SKILLS_ADVISOR_SUGGESTION_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
end
end)
- ingame/slashcommands/slashcommandautocomplete.lua:21 -- self:RegisterCallback(ZO_AutoComplete.ON_ENTRY_SELECTED, OnAutoCompleteEntrySelected)
- ingame/slashcommands/slashcommandautocomplete.lua:46 -- PLAYER_EMOTE_MANAGER:RegisterCallback("EmoteSlashCommandsUpdated", OnEmoteSlashCommandsUpdated)
- ingame/stable/stable_base.lua:27 -- STABLE_MANAGER:RegisterCallback("StableInteractStart", function() self:OnStablesInteractStart() end)
- ingame/stable/stable_base.lua:28 -- STABLE_MANAGER:RegisterCallback("StableInteractEnd", function() self:OnStablesInteractEnd() end)
- ingame/stable/stable_base.lua:29 -- STABLE_MANAGER:RegisterCallback("StableMountInfoUpdated", function() self:OnMountInfoUpdate() end)
- ingame/stable/stable_base.lua:30 -- STABLE_MANAGER:RegisterCallback("ActiveMountChanged", function() self:OnActiveMountChanged() end)
- ingame/stable/stable_base.lua:34 -- STABLE_MANAGER:RegisterCallback("StableMoneyUpdate", function() self:OnMoneyUpdated() end)
- ingame/stable/gamepad/stable_gamepad.lua:17 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RegisterUpdateEvents()
self:UpdateMountInfo()
self.stableControl:SetHidden(false)
TriggerTutorial(TUTORIAL_TRIGGER_RIDING_SKILL_MANAGEMENT_OPENED)
elseif newState == SCENE_HIDING then
self:UnregisterUpdateEvents()
self.stableControl:SetHidden(true)
GAMEPAD_TOOLTIPS:ClearTooltip(GAMEPAD_LEFT_TOOLTIP)
end
end)
- ingame/stable/keyboard/stable_keyboard.lua:98 -- STABLES_SCENE:RegisterCallback("StateChange", OnStateChanged)
- ingame/stats/zo_stats_common.lua:331 -- self.pointsSpinner:RegisterCallback("OnValueChanged", function(points) self:OnValueChanged(points) end)
- ingame/stats/gamepad/zo_stats_gamepad.lua:252 -- self.mainList:RegisterCallback("ActivatedChanged", OnActivatedChanged)
- ingame/stats/gamepad/zo_stats_gamepad.lua:340 -- STABLE_MANAGER:RegisterCallback("StableMountInfoUpdated", OnUpdate)
- ingame/stats/gamepad/zo_stats_gamepad.lua:341 -- ZO_LEVEL_UP_REWARDS_MANAGER:RegisterCallback("OnLevelUpRewardsUpdated", OnUpdate)
- ingame/stats/gamepad/zo_stats_gamepad.lua:1557 -- self.advancedAttributesGridList:RegisterCallback("SelectedDataChanged", function(...) self:OnAdvancedAttributeSelectionChanged(...) end )
- ingame/stats/keyboard/zo_stats_keyboard.lua:78 -- STATS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnShowing()
elseif newState == SCENE_HIDING then
self:OnHiding()
elseif newState == SCENE_HIDDEN then
self:OnHidden()
end
end)
- ingame/stats/keyboard/zo_stats_keyboard.lua:128 -- ZO_LEVEL_UP_REWARDS_MANAGER:RegisterCallback("OnLevelUpRewardsUpdated", UpdateLevelUpRewards)
- ingame/stats/keyboard/zo_stats_keyboard.lua:296 -- STATS_SCENE:RegisterCallback("StateChange", OnStateChange)
- ingame/stats/keyboard/zo_stats_keyboard.lua:395 -- ZO_OUTFIT_MANAGER:RegisterCallback("RefreshEquippedOutfitIndex", UpdateEquippedOutfit)
- ingame/stats/keyboard/zo_stats_keyboard.lua:396 -- ZO_OUTFIT_MANAGER:RegisterCallback("RefreshOutfits", UpdateOutfits)
- ingame/stats/keyboard/zo_stats_keyboard.lua:397 -- ZO_OUTFIT_MANAGER:RegisterCallback("RefreshOutfitName", UpdateOutfits)
- ingame/stats/keyboard/zo_stats_keyboard.lua:755 -- STABLE_MANAGER:RegisterCallback("StableMountInfoUpdated", UpdateRidingSkills)
- ingame/stats/keyboard/zo_stats_keyboard.lua:966 -- ADVANCED_STATS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
if self.dirty then
ZO_ScrollList_RefreshVisible(self.list)
self.dirty = false
end
end
end)
- ingame/storewindow/gamepad/storewindowbuyback_gamepad.lua:6 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RegisterEvents()
self.list:UpdateList()
elseif newState == SCENE_HIDING then
self:UnregisterEvents()
GAMEPAD_TOOLTIPS:ClearTooltip(GAMEPAD_RIGHT_TOOLTIP)
end
end)
- ingame/storewindow/gamepad/storewindowbuy_gamepad.lua:10 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RegisterEvents()
self.list:UpdateList()
STORE_WINDOW_GAMEPAD:UpdateRightTooltip(self.list, ZO_MODE_STORE_BUY)
self:SetVendorBlurActive(true)
self:UpdatePreview(self.list:GetSelectedData())
ITEM_PREVIEW_GAMEPAD:RegisterCallback("RefreshActions", OnRefreshActions)
elseif newState == SCENE_HIDING then
self:UnregisterEvents()
GAMEPAD_TOOLTIPS:ClearTooltip(GAMEPAD_RIGHT_TOOLTIP)
self:UpdatePreview(nil)
if ITEM_PREVIEW_GAMEPAD:IsInteractionCameraPreviewEnabled() then
self:TogglePreviewMode()
end
ITEM_PREVIEW_GAMEPAD:UnregisterCallback("RefreshActions", OnRefreshActions)
end
end)
- ingame/storewindow/gamepad/storewindowbuy_gamepad.lua:17 -- ITEM_PREVIEW_GAMEPAD:RegisterCallback("RefreshActions", OnRefreshActions)
- ingame/storewindow/gamepad/storewindowrepair_gamepad.lua:6 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RegisterEvents()
self.list:UpdateList()
elseif newState == SCENE_HIDING then
self:UnregisterEvents()
end
end)
- ingame/storewindow/gamepad/storewindowsell_gamepad.lua:6 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RegisterEvents()
self.list:UpdateList()
elseif newState == SCENE_HIDING then
self:UnregisterEvents()
GAMEPAD_INVENTORY:TryClearNewStatusOnHidden()
GAMEPAD_TOOLTIPS:ClearTooltip(GAMEPAD_RIGHT_TOOLTIP)
end
end)
- ingame/storewindow/gamepad/storewindow_gamepad.lua:122 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", RefreshActiveComponent)
- ingame/storewindow/gamepad/storewindow_gamepad.lua:142 -- SHARED_INVENTORY:RegisterCallback("ItemRepaired", OnItemRepaired)
- ingame/storewindow/keyboard/buyback_keyboard.lua:70 -- self.sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/storewindow/keyboard/buyback_keyboard.lua:90 -- TEXT_SEARCH_MANAGER:RegisterCallback("UpdateSearchResults", OnListTextFilterComplete)
- ingame/storewindow/keyboard/storewindow_keyboard.lua:30 -- STORE_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:RefreshCurrency()
self:SetupDefaultSort()
self:GetStoreItems()
self:UpdateList()
self:UpdateFreeSlots()
if self.windowMode == ZO_STORE_WINDOW_MODE_STABLE then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
end
elseif newState == SCENE_FRAGMENT_HIDING then
if ITEM_PREVIEW_KEYBOARD:IsInteractionCameraPreviewEnabled() then
self:TogglePreviewMode()
end
if self.windowMode == ZO_STORE_WINDOW_MODE_STABLE then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end
end)
- ingame/storewindow/keyboard/storewindow_keyboard.lua:96 -- self.buyMultipleSpinner:RegisterCallback("OnValueChanged", function() self:RefreshBuyMultiple() end)
- ingame/storewindow/keyboard/storewindow_keyboard.lua:110 -- self.sortHeaderGroup:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/storewindow/keyboard/storewindow_keyboard.lua:236 -- self.scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
-- set search context before calling InitializeStore, since that can add the
-- inventory fragment which will set a search context on showing (which is immediate)
PLAYER_INVENTORY:SetContextForInventories("storeTextSearch", INVENTORY_TYPE_LIST)
TEXT_SEARCH_MANAGER:ActivateTextSearch("storeTextSearch")
self:InitializeStore()
PLAYER_INVENTORY:SelectAndChangeSort(INVENTORY_BACKPACK, ITEMFILTERTYPE_ALL, "sellInformationSortOrder", ZO_SORT_ORDER_UP)
elseif newState == SCENE_HIDDEN then
if TEXT_SEARCH_MANAGER:IsActiveTextSearch("storeTextSearch") then
TEXT_SEARCH_MANAGER:DeactivateTextSearch("storeTextSearch")
local REMOVE_CONTEXT = nil
PLAYER_INVENTORY:SetContextForInventories(REMOVE_CONTEXT, INVENTORY_TYPE_LIST)
end
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.modeBar:Clear()
PLAYER_INVENTORY:SelectAndChangeSort(INVENTORY_BACKPACK, ITEMFILTERTYPE_ALL, "statusSortOrder", ZO_SORT_ORDER_DOWN)
if GetCursorContentType() == MOUSE_CONTENT_STORE_ITEM then
ClearCursor()
end
end
end)
- ingame/storewindow/keyboard/storewindow_keyboard.lua:271 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", RefreshStoreWindow)
- ingame/storewindow/keyboard/storewindow_keyboard.lua:277 -- SHARED_INVENTORY:RegisterCallback("ItemRepaired", OnItemRepaired)
- ingame/timedactivities/timedactivities_shared.lua:21 -- TIMED_ACTIVITIES_MANAGER:RegisterCallback("OnRefreshAvailability", OnRefreshAvailability)
- ingame/timedactivities/timedactivities_shared.lua:22 -- TIMED_ACTIVITIES_MANAGER:RegisterCallback("OnActivitiesUpdated", OnActivitiesUpdated)
- ingame/timedactivities/timedactivities_shared.lua:23 -- TIMED_ACTIVITIES_MANAGER:RegisterCallback("OnActivityUpdated", OnActivitiesUpdated)
- ingame/timedactivities/timedactivities_shared.lua:28 -- self.sceneFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_SHOWN then
self:OnShown()
elseif newState == SCENE_FRAGMENT_HIDING then
self:OnHiding()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/tradewindow/keyboard/tradewindow_keyboard.lua:84 -- tradeScene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
PLAYER_INVENTORY:SetContextForInventories("tradeTextSearch", INVENTORY_TYPE_LIST)
TEXT_SEARCH_MANAGER:ActivateTextSearch("tradeTextSearch")
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_HIDING then
--The trade is often over as the scene starts hiding. If we don't remover the Submit Offer keybind here
--we can run into a case where it collides with the enchant keyind on an item since that is only gated
--from showing when we are actually in the trade (ESO-489071).
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
TEXT_SEARCH_MANAGER:DeactivateTextSearch("tradeTextSearch")
local REMOVE_CONTEXT = nil
PLAYER_INVENTORY:SetContextForInventories(REMOVE_CONTEXT, INVENTORY_TYPE_LIST)
TradeCancel()
CURRENCY_INPUT:Hide()
TradeSetMoney(0)
self.myOfferedMoney = 0
end
end)
- ingame/tradinghouse/gamepad/tradinghousefeatures_gamepad.lua:411 -- self.priceSelector:RegisterCallback("OnValueChanged", function()
self:ValidatePriceSelectorValue(self.priceSelector:GetValue())
end)
- ingame/tradinghouse/gamepad/tradinghousefeatures_gamepad.lua:415 -- self.priceSelector:RegisterCallback("OnDeactivated", function()
if focusLostCallback then
focusLostCallback()
end
end)
- ingame/tradinghouse/gamepad/tradinghousenamesearchfeature_gamepad.lua:16 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSearchCriteriaChanged", function()
if IsInGamepadPreferredMode() then
self:MarkFiltersDirty()
end
end)
- ingame/tradinghouse/gamepad/tradinghousesearchhistory_gamepad.lua:16 -- TRADING_HOUSE_SEARCH_HISTORY_MANAGER:RegisterCallback("HistoryUpdated", function()
if self.fragment:IsShowing() then
self:RefreshList()
self:UpdateDescriptionTooltip()
end
end)
- ingame/tradinghouse/gamepad/tradinghouse_browseresults_gamepad.lua:158 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSearchStateChanged", FilterForGamepadEvents(function(...) self:OnSearchStateChanged(...) end))
- ingame/tradinghouse/gamepad/tradinghouse_browseresults_gamepad.lua:159 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnResponseReceived", FilterForGamepadEvents(function(...) self:OnResponseReceived(...) end))
- ingame/tradinghouse/gamepad/tradinghouse_browseresults_gamepad.lua:168 -- TRADING_HOUSE_GAMEPAD_SCENE:GetSceneGroup():RegisterCallback("StateChange", OnSceneGroupStateChanged)
- ingame/tradinghouse/gamepad/tradinghouse_browseresults_gamepad.lua:478 -- TRADING_HOUSE_PREVIEW_GAMEPAD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
ITEM_PREVIEW_LIST_HELPER_GAMEPAD:RegisterCallback("OnPreviewChanged", UpdatePreviewItemData)
ITEM_PREVIEW_LIST_HELPER_GAMEPAD:RegisterCallback("RefreshActions", OnRefreshActions)
ITEM_PREVIEW_LIST_HELPER_GAMEPAD:RegisterCallback("CanChangePreviewChanged", OnCanChangePreviewChanged)
ITEM_PREVIEW_GAMEPAD:SetInteractionCameraPreviewEnabled(true, FRAME_TARGET_CENTERED_FRAGMENT, FRAME_PLAYER_ON_SCENE_HIDDEN_FRAGMENT, GAMEPAD_NAV_QUADRANT_2_3_FURNITURE_ITEM_PREVIEW_OPTIONS_FRAGMENT)
KEYBIND_STRIP:AddKeybindButtonGroup(self.previewKeybindStripDescriptor)
elseif newState == SCENE_SHOWN then
local tradingHouseIndex = ZO_Inventory_GetSlotIndex(self.previewItemData)
local previewIndex = ZO_IndexOfElementInNumericallyIndexedTable(self.previewListEntries, tradingHouseIndex)
local DONT_WRAP = true
ITEM_PREVIEW_LIST_HELPER_GAMEPAD:PreviewList(ZO_ITEM_PREVIEW_TRADING_HOUSE_SEARCH_RESULT, self.previewListEntries, previewIndex, DONT_WRAP)
elseif newState == SCENE_HIDDEN then
self.previewItemData = nil
ITEM_PREVIEW_GAMEPAD:SetInteractionCameraPreviewEnabled(false, FRAME_TARGET_CENTERED_FRAGMENT, FRAME_PLAYER_ON_SCENE_HIDDEN_FRAGMENT, GAMEPAD_NAV_QUADRANT_2_3_FURNITURE_ITEM_PREVIEW_OPTIONS_FRAGMENT)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.previewKeybindStripDescriptor)
ITEM_PREVIEW_LIST_HELPER_GAMEPAD:UnregisterCallback("OnPreviewChanged", UpdatePreviewItemData)
ITEM_PREVIEW_LIST_HELPER_GAMEPAD:UnregisterCallback("RefreshActions", OnRefreshActions)
ITEM_PREVIEW_LIST_HELPER_GAMEPAD:UnregisterCallback("CanChangePreviewChanged", OnCanChangePreviewChanged)
end
end)
- ingame/tradinghouse/gamepad/tradinghouse_browseresults_gamepad.lua:480 -- ITEM_PREVIEW_LIST_HELPER_GAMEPAD:RegisterCallback("OnPreviewChanged", UpdatePreviewItemData)
- ingame/tradinghouse/gamepad/tradinghouse_browseresults_gamepad.lua:481 -- ITEM_PREVIEW_LIST_HELPER_GAMEPAD:RegisterCallback("RefreshActions", OnRefreshActions)
- ingame/tradinghouse/gamepad/tradinghouse_browseresults_gamepad.lua:482 -- ITEM_PREVIEW_LIST_HELPER_GAMEPAD:RegisterCallback("CanChangePreviewChanged", OnCanChangePreviewChanged)
- ingame/tradinghouse/gamepad/tradinghouse_browse_gamepad.lua:40 -- self.features.nameSearchFeature:RegisterCallback("OnNameMatchComplete", function(...) self:OnNameMatchComplete(...) end)
- ingame/tradinghouse/gamepad/tradinghouse_browse_gamepad.lua:50 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSearchCriteriaChanged", FilterForGamepadEvents(function(...) self:OnSearchCriteriaChanged(...) end))
- ingame/tradinghouse/gamepad/tradinghouse_createlisting_gamepad.lua:37 -- TRADING_HOUSE_CREATE_LISTING_GAMEPAD_SCENE:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- ingame/tradinghouse/gamepad/tradinghouse_createlisting_gamepad.lua:157 -- self.priceSelector:RegisterCallback("OnValueChanged", function() self:ValidatePriceSelectorValue(self.priceSelector:GetValue()) end)
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:208 -- TEXT_SEARCH_MANAGER:RegisterCallback("UpdateSearchResults", OnTextSearchResults)
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:521 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSearchRequested", FilterForGamepadEvents(function(...) self:OnSearchRequested(...) end))
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:522 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSearchRequestCanceled", FilterForGamepadEvents(function(...) self:OnSearchRequestCanceled(...) end))
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:523 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSearchStateChanged", FilterForGamepadEvents(function(...) self:OnSearchStateChanged(...) end))
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:524 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnAwaitingResponse", FilterForGamepadEvents(function() self:OnAwaitingResponse() end))
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:525 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnResponseReceived", FilterForGamepadEvents(function() self:OnResponseReceived() end))
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:526 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnResponseTimeout", FilterForGamepadEvents(function(...) self:OnResponseTimeout(...) end))
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:527 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSelectedGuildChanged", FilterForGamepadEvents(function() self:OnSelectedGuildChanged() end))
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:529 -- TRADING_HOUSE_GAMEPAD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RefreshHeader()
self:SelectCurrentListInHeader()
self:RefreshGuildNameFooter()
self:RegisterForSceneEvents()
if self:IsInSellMode() then
DIRECTIONAL_INPUT:Activate(self, self.control)
self:ActivateTextSearch()
end
self.currentListObject:Show()
ZO_GamepadGenericHeader_Activate(self.header)
elseif newState == SCENE_HIDING then
self:DeactivateTextSearch()
ZO_GamepadGenericHeader_Deactivate(self.header)
elseif newState == SCENE_HIDDEN then
if self:IsInSellMode() then
DIRECTIONAL_INPUT:Deactivate(self)
end
self:UnregisterForSceneEvents()
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
self.currentListObject:Hide()
ZO_SavePlayerConsoleProfile()
end
end)
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:556 -- TRADING_HOUSE_GAMEPAD_SCENE:GetSceneGroup():RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_GROUP_HIDDEN then
self:UnlockForInput()
end
end)
- ingame/tradinghouse/gamepad/tradinghouse_listings_gamepad.lua:66 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSelectedGuildChanged", FilterForGamepadEvents(function() self:UpdateForGuildChange() end))
- ingame/tradinghouse/gamepad/tradinghouse_listings_gamepad.lua:81 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnResponseReceived", FilterForGamepadEvents(OnResponseReceived))
- ingame/tradinghouse/gamepad/tradinghouse_listings_gamepad.lua:88 -- TRADING_HOUSE_GAMEPAD_SCENE:GetSceneGroup():RegisterCallback("StateChange", OnSceneGroupStateChanged)
- ingame/tradinghouse/gamepad/tradinghouse_sell_gamepad.lua:26 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSelectedGuildChanged", FilterForGamepadEvents(function() self:UpdateForGuildChange() end))
- ingame/tradinghouse/gamepad/tradinghouse_templates_gamepad.lua:62 -- TRADING_HOUSE_GAMEPAD:RegisterCallback("OnLockedForInput", function(...) self:OnLockedForInput(...) end)
- ingame/tradinghouse/gamepad/tradinghouse_templates_gamepad.lua:63 -- TRADING_HOUSE_GAMEPAD:RegisterCallback("OnUnlockedForInput", function(...) self:OnUnlockedForInput(...) end)
- ingame/tradinghouse/gamepad/tradinghouse_templates_gamepad.lua:140 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:Activate()
self:UpdateList()
self:OnShowing()
elseif newState == SCENE_FRAGMENT_SHOWN then
self:OnShown()
if self.itemList:GetNumItems() == 0 then
TRADING_HOUSE_GAMEPAD:RequestEnterHeader()
end
elseif newState == SCENE_FRAGMENT_HIDING then
self:OnHiding()
self:Deactivate()
TRADING_HOUSE_GAMEPAD:ExitHeader()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/tradinghouse/keyboard/tradinghousenamesearchfeature_keyboard.lua:37 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSearchCriteriaChanged", function()
if not IsInGamepadPreferredMode() then
self:MarkFiltersDirty()
end
end)
- ingame/tradinghouse/keyboard/tradinghousesearchhistory_keyboard.lua:16 -- TRADING_HOUSE_SEARCH_HISTORY_KEYBOARD_FRAGMENT:RegisterCallback("StateChange", function(_, newState)
if newState == SCENE_FRAGMENT_SHOWING then
SCENE_MANAGER:AddFragment(MEDIUM_LEFT_PANEL_BG_FRAGMENT)
elseif newState == SCENE_FRAGMENT_HIDING then
SCENE_MANAGER:RemoveFragment(MEDIUM_LEFT_PANEL_BG_FRAGMENT)
end
end)
- ingame/tradinghouse/keyboard/tradinghousesearchhistory_keyboard.lua:24 -- TRADING_HOUSE_SCENE:RegisterCallback("StateChange", function(_, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:RefreshHistory()
end
end)
- ingame/tradinghouse/keyboard/tradinghousesearchhistory_keyboard.lua:30 -- TRADING_HOUSE_SEARCH_HISTORY_MANAGER:RegisterCallback("HistoryUpdated", function()
if TRADING_HOUSE_SCENE:IsShowing() then
self:RefreshHistory()
end
end)
- ingame/tradinghouse/keyboard/tradinghouse_keyboard.lua:37 -- TRADING_HOUSE_SCENE:RegisterCallback("StateChange", SceneStateChange)
- ingame/tradinghouse/keyboard/tradinghouse_keyboard.lua:50 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSearchStateChanged", FilterForKeyboardEvents(function(...) self:OnSearchStateChanged(...) end))
- ingame/tradinghouse/keyboard/tradinghouse_keyboard.lua:51 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnAwaitingResponse", FilterForKeyboardEvents(function(...) self:OnAwaitingResponse(...) end))
- ingame/tradinghouse/keyboard/tradinghouse_keyboard.lua:52 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnResponseReceived", FilterForKeyboardEvents(function(...) self:OnResponseReceived(...) end))
- ingame/tradinghouse/keyboard/tradinghouse_keyboard.lua:53 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSelectedGuildChanged", FilterForKeyboardEvents(function() self:UpdateForGuildChange() end))
- ingame/tradinghouse/keyboard/tradinghouse_keyboard.lua:55 -- TRADING_HOUSE_SEARCH_HISTORY_KEYBOARD:RegisterCallback("MouseOverRowChanged", function()
KEYBIND_STRIP:UpdateKeybindButtonGroup(self.keybindStripDescriptor)
end)
- ingame/tradinghouse/keyboard/tradinghouse_keyboard.lua:413 -- sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/treasuremap/treasuremap.lua:43 -- TREASURE_MAP_INVENTORY_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_HIDDEN then
INTERACT_WINDOW:EndInteraction(TREASURE_MAP_INTERACTION)
end
end)
- ingame/treasuremap/treasuremap.lua:51 -- TREASURE_MAP_QUICK_SLOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_HIDDEN then
INTERACT_WINDOW:EndInteraction(TREASURE_MAP_INTERACTION)
end
end)
- ingame/treasuremap/treasuremap.lua:59 -- GAMEPAD_TREASURE_MAP_INVENTORY_SCENE:RegisterCallback("StateChange", OnGamepadSceneStateChange)
- ingame/treasuremap/treasuremap.lua:63 -- GAMEPAD_TREASURE_MAP_QUICK_SLOT_SCENE:RegisterCallback("StateChange", OnGamepadSceneStateChange)
- ingame/tribute/tribute.lua:124 -- TRIBUTE_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
CLOSE_ACTIONS_INTERCEPT_LAYER_FRAGMENT:RegisterCallback("InterceptCloseAction", OnInterceptCloseAction)
self:RefreshPlayerInfo()
self:RefreshInputModeFragments()
--The UI cannot be toggled while a tribute match is ongoing, so make sure it isn't hidden when we start
if GetGuiHidden("ingame") then
SetGuiHidden("ingame", false)
end
elseif newState == SCENE_FRAGMENT_HIDING then
CLOSE_ACTIONS_INTERCEPT_LAYER_FRAGMENT:UnregisterCallback("InterceptCloseAction", OnInterceptCloseAction)
elseif newState == SCENE_FRAGMENT_HIDDEN then
self.gameFlowState = TRIBUTE_GAME_FLOW_STATE_INACTIVE
end
end)
- ingame/tribute/tribute.lua:126 -- CLOSE_ACTIONS_INTERCEPT_LAYER_FRAGMENT:RegisterCallback("InterceptCloseAction", OnInterceptCloseAction)
- ingame/tribute/tribute.lua:146 -- TRIBUTE_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_HIDDEN then
if SCENE_MANAGER:IsInUIMode() and SCENE_MANAGER:IsShowingBaseSceneNext() then
local IS_SHOWING_HUDUI = true
SCENE_MANAGER:ConsiderExitingUIMode(IS_SHOWING_HUDUI)
end
end
end)
- ingame/unitattributevisualizer/modules/armordamage.lua:216 -- self:GetOwner():RegisterCallback("AttributeBarSizeChangingStart", OnSizeChanged)
- ingame/unitattributevisualizer/modules/powershield.lua:65 -- self:GetOwner():RegisterCallback("AttributeBarSizeChangingStart", function(...) OnSizeChanged(STARTING_RESIZE, ...) end)
- ingame/unitattributevisualizer/modules/powershield.lua:66 -- self:GetOwner():RegisterCallback("AttributeBarSizeChangingStopped", function(...) OnSizeChanged(STOPPING_RESIZE, ...) end)
- ingame/unitframes/unitframes.lua:2675 -- CALLBACK_MANAGER:RegisterCallback("TargetOfTargetEnabledChanged", OnTargetOfTargetEnabledChanged)
- ingame/voicechat/console/voicechattranscript_gamepad.lua:58 -- VOICE_CHAT_MANAGER:RegisterCallback("VoiceChatTranscript", AddMessage)
- ingame/voicechat/console/voicechattranscript_gamepad.lua:70 -- VOICE_CHAT_MANAGER:RegisterCallback("ChannelsUpdate", OnVoiceTransmitChannelUpdate)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:95 -- VOICE_CHAT_MANAGER:RegisterCallback("ChannelsUpdate", function() self:Update() end)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:96 -- VOICE_CHAT_MANAGER:RegisterCallback("ParticipantsUpdate", function()
self:UpdateParticipantsPanel()
self:UpdateKeybinds()
end)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:100 -- VOICE_CHAT_MANAGER:RegisterCallback("MuteUpdate", function() self:Update() end)
- ingame/voicechat/console/zo_voicechathud_gamepad.lua:18 -- CALLBACK_MANAGER:RegisterCallback("PlayerProgressBarFadingIn", OnPlayerProgressBarShowing())
- ingame/voicechat/console/zo_voicechathud_gamepad.lua:19 -- CALLBACK_MANAGER:RegisterCallback("PlayerProgressBarFadingOut", OnPlayerProgressBarHiding())
- ingame/voicechat/console/zo_voicechatparticipants_gamepad.lua:36 -- VOICE_CHAT_MANAGER:RegisterCallback("MuteUpdate", function() self:Update() end)
- ingame/zonestories/gamepad/zonestories_gamepad.lua:91 -- GAMEPAD_ZONE_STORIES_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:UpdateZoneStory()
self:SetFocusOnSelectedZone()
TriggerTutorial(TUTORIAL_TRIGGER_ZONE_STORIES_SHOWN)
end
end)
- ingame/zonestories/keyboard/zonestories_keyboard.lua:65 -- ZONE_STORIES_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateZoneStory()
TriggerTutorial(TUTORIAL_TRIGGER_ZONE_STORIES_SHOWN)
KEYBIND_STRIP:AddKeybindButton(self.keybindStripDescriptor)
elseif newState == SCENE_FRAGMENT_HIDING then
KEYBIND_STRIP:RemoveKeybindButton(self.keybindStripDescriptor)
end
end)
- ingame/zo_loot/loot.lua:124 -- LOOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
local dontAutomaticallyExitScene = false
SCENE_MANAGER:SetHUDUIScene("loot", dontAutomaticallyExitScene)
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
PushActionLayerByName("Loot")
elseif(newState == SCENE_HIDING) then
SCENE_MANAGER:RestoreHUDUIScene()
elseif(newState == SCENE_HIDDEN) then
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
RemoveActionLayerByName("Loot")
EndLooting()
self.returnScene = nil
end
end)
- ingame/zo_loot/loothistory_manager.lua:135 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNotificationNew", function(...) OnNewCollectibleReceived(...) end)
- ingame/zo_loot/loothistory_manager.lua:140 -- TRIBUTE_DATA_MANAGER:RegisterCallback("ProgressionUpgradeStatusChanged", function(...) OnTributeProgressionUpgradeStatusChanged(...) end)
- ingame/zo_loot/gamepad/loothistory_gamepad.lua:16 -- GAMEPAD_LOOT_HISTORY_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
self:DisplayLootQueue()
elseif newState == SCENE_FRAGMENT_HIDING then
self:HideLootQueue()
end
end)
- ingame/zo_loot/gamepad/lootpickup_gamepad.lua:28 -- LOOT_SCENE_GAMEPAD:RegisterCallback("StateChange", OnStateChanged)
- ingame/zo_loot/keyboard/loothistory_keyboard.lua:18 -- KEYBOARD_LOOT_HISTORY_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
self:DisplayLootQueue()
elseif newState == SCENE_FRAGMENT_HIDING then
self:HideLootQueue()
end
end)
- ingame/zo_quest/questjournal_manager.lua:39 -- FOCUSED_QUEST_TRACKER:RegisterCallback("QuestTrackerAssistStateChanged", OnAssistChanged)
- ingame/zo_quest/questjournal_shared.lua:34 -- QUEST_JOURNAL_MANAGER:RegisterCallback("QuestListUpdated", function() self:OnQuestsUpdated() end)
- ingame/zo_quest/questtracker.lua:329 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState) self:FireCallbacks("QuestTrackerFragmentStateChange", oldState, newState) end)
- ingame/zo_quest/keyboard/questjournal_keyboard.lua:228 -- QUEST_JOURNAL_SCENE:RegisterCallback("StateChange",
function(oldState, newState)
if(newState == SCENE_SHOWING) then
if self.listDirty then
self:RefreshQuestCount()
self:RefreshQuestList()
end
self:FocusQuestWithIndex(QUEST_JOURNAL_MANAGER:GetFocusedQuestIndex())
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- internalingame/antiquitydigging/antiquitydigging.lua:95 -- ANTIQUITY_DIGGING_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.isReadyToPlay = false
self.selectedRow = nil
self.selectedColumn = nil
control:RegisterForEvent(EVENT_ANTIQUITY_DIGGING_READY_TO_PLAY, function() self:OnAntiquityDiggingReadyToPlay() end)
self:RefreshActiveToolKeybinds()
elseif newState == SCENE_HIDING then
control:UnregisterForEvent(EVENT_ANTIQUITY_DIGGING_READY_TO_PLAY)
control:SetHandler("OnUpdate", nil)
--clear the current tutorial when hiding so we don't push an extra action layer
self:RefreshInputState()
ZO_Dialogs_ReleaseAllDialogsOfName("CONFIRM_STOP_ANTIQUITY_DIGGING")
elseif newState == SCENE_HIDDEN then
self.keybindContainerTimeline:PlayInstantlyToStart()
if self.beginEndOfGameFanfareEventId then
EVENT_MANAGER:UnregisterForUpdate(self.beginEndOfGameFanfareEventId)
self.beginEndOfGameFanfareEventId = nil
end
end
end)
- internalingame/antiquitydigging/antiquitydigging.lua:117 -- ANTIQUITY_DIGGING_SUMMARY_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
-- When the end of game summary fragment comes in, we want to get rid of the keybinds
-- and tone down the bars so they don't feel like they're part of the summary but can still be referenced
if ANTIQUITY_DIGGING_SCENE:IsShowing() then
if newState == SCENE_FRAGMENT_SHOWING then
self.keybindContainerFastTimeline:PlayFromEnd()
elseif newState == SCENE_FRAGMENT_HIDDEN then
-- This is only here in cases where we hide the fragment while the game is still going (i.e. debug)
self.keybindContainerFastTimeline:PlayFromStart()
end
end
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:49 -- ANTIQUITY_DIGGING_SUMMARY_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_HIDDEN then
self.fanfareStateMachine:SetCurrentState("INACTIVE")
end
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:376 -- state:RegisterCallback("OnActivated", function()
self.modalUnderlayTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.failureTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.antiquityRewardTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.newLeadTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.bonusRewardsTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.setProgressionTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.setCompleteTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.setProgressionAntiquityIconScaleTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.loreTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.keybindTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.failureControl:SetHidden(true)
self.antiquityRewardControl:SetHidden(true)
self.newLeadControl:SetHidden(true)
self.bonusRewardsControl:SetHidden(true)
self.setProgressionControl:SetHidden(true)
self.setCompleteControl:SetHidden(true)
self.transferControl:SetHidden(true)
self.loreControl:SetHidden(true)
self.bonusesControlPool:ReleaseAllObjects()
self.bonusesRowControlPool:ReleaseAllObjects()
self.setProgressionAntiquityIconPool:ReleaseAllObjects()
self.setProgressionSparksParticleSystem:Stop()
self.setCompleteBlastParticleSystem:Stop()
self.setCompleteSparksParticleSystem:Stop()
self.setCompleteStarbustParticleSystem:Stop()
ANTIQUITY_LORE_DOCUMENT_MANAGER:ReleaseAllObjects(self.loreControl)
self:ConfigureKeybindButton(self.primaryKeybindButton, false)
self:ConfigureKeybindButton(self.secondaryKeybindButton, false)
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:410 -- state:RegisterCallback("OnActivated", function()
-- This state primarily exists to allow the two possible paths (REWARD_IN/FAILURE_IN) to run their conditionals
-- And to animate shared controls
SCENE_MANAGER:AddFragment(UNIFORM_BLUR_FRAGMENT)
self.modalUnderlayTimeline:PlayFromStart()
self.keybindTimeline:PlayFromStart()
fanfareStateMachine:FireCallbacks(END_OF_GAME_FANFARE_TRIGGER_COMMANDS.NEXT)
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:422 -- state:RegisterCallback("OnActivated", function()
self:ConfigureKeybindButton(self.primaryKeybindButton, true, GetString(SI_ANTIQUITY_DIGGING_FANFARE_NEXT))
self.antiquityRewardControl:SetHidden(false)
self.rewardsOutTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.antiquityRewardTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.antiquityRewardTimeline:PlayFromStart()
PlaySound(SOUNDS.ANTIQUITIES_FANFARE_FRAGMENT_FOUND)
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:431 -- state:RegisterCallback("OnDeactivated", function()
if self.antiquityRewardTimeline:IsPlaying() then
self.antiquityRewardTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:440 -- state:RegisterCallback("OnActivated", function()
self.newLeadControl:SetHidden(false)
self.newLeadTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.newLeadTimeline:PlayFromStart()
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:449 -- state:RegisterCallback("OnActivated", function()
self.bonusRewardsControl:SetHidden(false)
self.bonusRewardsTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.bonusRewardsTimeline:PlayFromStart()
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:458 -- state:RegisterCallback("OnActivated", function()
-- We may have gotten here via a skip, which means we may never have even made it into the interstitial states
-- So just ensure these animations are where we want them to be by this point in the flow
if self.hasNewLead then
self.newLeadControl:SetHidden(false)
self.newLeadTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
-- The bonus rewards section always shows even if there aren't any rewards
self.bonusRewardsControl:SetHidden(false)
self.bonusRewardsTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:473 -- state:RegisterCallback("OnActivated", function()
self.rewardsOutTimeline:PlayFromStart()
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:477 -- state:RegisterCallback("OnDeactivated", function()
if self.rewardsOutTimeline:IsPlaying() then
self.rewardsOutTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
self.antiquityRewardControl:SetHidden(true)
self.bonusRewardsControl:SetHidden(true)
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:488 -- state:RegisterCallback("OnActivated", function()
self.setProgressionControl:SetHidden(false)
self.setProgressionTimeline:PlayFromStart()
PlaySound(SOUNDS.ANTIQUITIES_FANFARE_FRAGMENT_PROGRESSION)
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:494 -- state:RegisterCallback("OnDeactivated", function()
local primaryAnimationIsPlaying = self.setProgressionTimeline:IsPlaying()
if primaryAnimationIsPlaying then
self.setProgressionTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
for _, activeIcon in self.setProgressionAntiquityIconPool:ActiveObjectIterator() do
if primaryAnimationIsPlaying or activeIcon.fadeTimeline:IsPlaying() then
activeIcon.fadeTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end
if primaryAnimationIsPlaying or self.setProgressionAntiquityIconScaleTimeline:IsPlaying() then
local DONT_DESATURATE, DONT_SHOW_SILHOUETTE = false, false
self.setProgressionControlForCurrentAntiquity:SetDisplayBehavior(DONT_DESATURATE, DONT_SHOW_SILHOUETTE)
self.setProgressionAntiquityIconScaleTimeline:SetAllAnimationOffsets(0)
self.setProgressionAntiquityIconScaleTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.setProgressionSparksParticleSystem:Start()
end
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:519 -- state:RegisterCallback("OnActivated", function()
self.setProgressionTimeline:PlayBackward()
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:523 -- state:RegisterCallback("OnDeactivated", function()
if self.setProgressionTimeline:IsPlaying() then
self.setProgressionTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
end
self.setProgressionControl:SetHidden(true)
self.setProgressionSparksParticleSystem:Stop()
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:534 -- state:RegisterCallback("OnActivated", function()
self.setCompleteControl:SetHidden(false)
self.setCompleteTimeline:PlayFromStart()
self.setCompleteBlastParticleSystem:Start()
self.setCompleteSparksParticleSystem:Start()
self.setCompleteStarbustParticleSystem:Start()
PlaySound(SOUNDS.ANTIQUITIES_FANFARE_COMPLETED)
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:543 -- state:RegisterCallback("OnDeactivated", function()
if self.setCompleteTimeline:IsPlaying() then
self.setCompleteTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:554 -- state:RegisterCallback("OnActivated", function()
self.setCompleteTimeline:PlayBackward()
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:558 -- state:RegisterCallback("OnDeactivated", function()
if self.setCompleteTimeline:IsPlaying() then
self.setCompleteTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
end
self.setCompleteControl:SetHidden(true)
self.setCompleteBlastParticleSystem:Stop()
self.setCompleteSparksParticleSystem:Stop()
self.setCompleteStarbustParticleSystem:Stop()
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:571 -- state:RegisterCallback("OnActivated", function()
StartDiggingTransitionToNextDay()
self.transferControl:SetHidden(false)
self.transferTimeline:PlayFromStart()
self:ConfigureKeybindButton(self.primaryKeybindButton, false)
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:578 -- state:RegisterCallback("OnDeactivated", function()
self.transferControl:SetHidden(true)
self.transferTimeline:Stop()
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:586 -- state:RegisterCallback("OnActivated", function()
self.loreControl:SetAlpha(0)
self.loreControl:SetHidden(false)
self.loreTimeline:PlayFromStart()
PlaySound(SOUNDS.ANTIQUITIES_FANFARE_MOTIF_SCROLL_APPEAR)
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:596 -- state:RegisterCallback("OnDeactivated", function()
if self.loreTimeline:IsPlaying() then
self.loreTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
self.loreControl:SetHidden(true)
ANTIQUITY_LORE_DOCUMENT_MANAGER:ReleaseAllObjects(self.loreControl)
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:607 -- state:RegisterCallback("OnActivated", function()
self:ConfigureKeybindButton(self.primaryKeybindButton, true, GetString(SI_EXIT_BUTTON))
self.failureControl:SetHidden(false)
self.failureTimeline:PlayFromStart()
PlaySound(SOUNDS.ANTIQUITIES_FANFARE_FAILURE)
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:617 -- state:RegisterCallback("OnActivated", function()
SCENE_MANAGER:RequestShowLeaderBaseScene()
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:672 -- setCompleteQuitEdge:RegisterCallback("OnActivated", function()
self:ConfigureKeybindButton(self.primaryKeybindButton, true, GetString(SI_EXIT_BUTTON))
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:689 -- rewardsQuitEdge:RegisterCallback("OnActivated", function()
self:ConfigureKeybindButton(self.primaryKeybindButton, true, GetString(SI_EXIT_BUTTON))
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:693 -- loreQuitEdge:RegisterCallback("OnActivated", function()
self:ConfigureKeybindButton(self.primaryKeybindButton, true, GetString(SI_EXIT_BUTTON))
self:ConfigureKeybindButton(self.secondaryKeybindButton, true, GetString(SI_ANTIQUITY_DIGGING_FANFARE_CODEX))
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:701 -- setProgressionQuitEdge:RegisterCallback("OnActivated", function()
self:ConfigureKeybindButton(self.primaryKeybindButton, true, GetString(SI_EXIT_BUTTON))
end)
- internalingame/coderedemption/gamepad/coderedemption_gamepad.lua:161 -- CALLBACK_MANAGER:RegisterCallback("OnGamepadDialogHidden", self.OnGamepadDialogHidden)
- internalingame/globals/marketdialogs.lua:853 -- control.quantityContainer.quantitySpinner:RegisterCallback("OnValueChanged", OnQuantityChanged)
- internalingame/market/market_shared.lua:71 -- ZO_MARKET_MANAGER:RegisterCallback("OnMarketStateUpdated", function(...) self:OnMarketStateUpdated(...) end)
- internalingame/market/market_shared.lua:72 -- ZO_MARKET_MANAGER:RegisterCallback("OnMarketProductAvailabilityUpdated", function(...) self:OnMarketProductAvailabilityUpdated(...) end)
- internalingame/market/market_shared.lua:73 -- ZO_MARKET_MANAGER:RegisterCallback("OnMarketSearchResultsReady", function(...) self:OnMarketSearchResultsReady(...) end)
- internalingame/market/market_shared.lua:74 -- ZO_MARKET_MANAGER:RegisterCallback("OnMarketSearchResultsCanceled", function(...) self:OnMarketSearchResultsCanceled(...) end)
- internalingame/market/market_shared.lua:77 -- ZO_MARKET_MANAGER:RegisterCallback("OnMarketPurchaseResult", function(...) if self:IsShowing() then self:OnMarketPurchaseResult(...) end end)
- internalingame/market/market_shared.lua:78 -- ZO_MARKET_MANAGER:RegisterCallback("OnCollectiblesUnlockStateChanged", function(...) if self:IsShowing() then self:OnCollectiblesUnlockStateChanged(...) end end)
- internalingame/market/market_shared.lua:79 -- ZO_MARKET_MANAGER:RegisterCallback("OnEsoPlusSubscriptionStatusChanged", function(...) if self:IsShowing() then self:OnEsoPlusSubscriptionStatusChanged(...) end end)
- internalingame/market/market_shared.lua:116 -- self.marketScene:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/gamepad/marketdialogs_gamepad.lua:111 -- self.marketPurchaseScene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWN then
local queuedDialogInfo = self.queuedDialogInfo
if queuedDialogInfo then
ZO_Dialogs_ShowGamepadDialog(queuedDialogInfo.dialogName, queuedDialogInfo.dialogData, queuedDialogInfo.dialogParams)
end
end
end)
- internalingame/market/gamepad/marketdialogs_gamepad.lua:1278 -- dropdown:RegisterCallback("OnItemSelected", function(itemControl, itemData)
if itemData.expectedResult ~= MARKET_PURCHASE_RESULT_SUCCESS then
if isGracePeriod then
UpdateGracePeriod(FORCE_UPDATE)
else
GAMEPAD_TOOLTIPS:LayoutTextBlockTooltip(GAMEPAD_LEFT_DIALOG_TOOLTIP, GetString("SI_MARKETPURCHASABLERESULT", itemData.expectedResult))
ZO_GenericGamepadDialog_ShowTooltip(parametricDialog)
end
elseif itemData.warningStrings and #itemData.warningStrings > 0 then
local tooltipText = table.concat(itemData.warningStrings, "\n\n")
GAMEPAD_TOOLTIPS:LayoutTextBlockTooltip(GAMEPAD_LEFT_DIALOG_TOOLTIP, tooltipText)
ZO_GenericGamepadDialog_ShowTooltip(parametricDialog)
end
end)
- internalingame/market/gamepad/marketdialogs_gamepad.lua:1293 -- dropdown:RegisterCallback("OnItemDeselected", function(itemControl, itemData)
GAMEPAD_TOOLTIPS:LayoutMarketProductListing(GAMEPAD_LEFT_DIALOG_TOOLTIP, self.marketProductData:GetId(), self.marketProductData:GetPresentationIndex())
ZO_GenericGamepadDialog_ShowTooltip(parametricDialog)
end)
- internalingame/market/gamepad/marketpreview_gamepad.lua:32 -- ITEM_PREVIEW_LIST_HELPER_GAMEPAD:RegisterCallback("OnPreviewChanged", OnPreviewChangedFunction)
- internalingame/market/gamepad/marketpreview_gamepad.lua:33 -- ITEM_PREVIEW_LIST_HELPER_GAMEPAD:RegisterCallback("RefreshActions", OnRefreshActionsFunction)
- internalingame/market/gamepad/marketpreview_gamepad.lua:34 -- ITEM_PREVIEW_LIST_HELPER_GAMEPAD:RegisterCallback("CanChangePreviewChanged", OnCanChangePreviewChangedFunction)
- internalingame/market/gamepad/marketpreview_gamepad.lua:52 -- GAMEPAD_MARKET_PREVIEW_SCENE:RegisterCallback("StateChange", OnPreviewSceneStateChange)
- internalingame/market/gamepad/market_gamepad.lua:221 -- self.marketSceneGroup:RegisterCallback("StateChange", function(oldState, newState)
self:PerformDeferredInitialization()
if newState == SCENE_GROUP_SHOWING then
self:OnInitialInteraction()
elseif newState == SCENE_GROUP_HIDDEN then
self:OnEndInteraction()
end
end)
- internalingame/market/gamepad/market_gamepad.lua:243 -- MARKET_CURRENCY_GAMEPAD:RegisterCallback("OnCurrencyUpdated", function() self:OnCurrencyUpdated() end)
- internalingame/market/gamepad/market_gamepad.lua:398 -- CALLBACK_MANAGER:RegisterCallback("OnGamepadDialogHidden", self.OnGamepadDialogHidden)
- internalingame/market/gamepad/market_gamepad.lua:884 -- categoryData.fragment:RegisterCallback("StateChange", OnCategoryFragmentStateChanged)
- internalingame/market/gamepad/market_gamepad.lua:1707 -- GAMEPAD_MARKET_BUNDLE_CONTENTS_SCENE:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/gamepad/market_gamepad.lua:1996 -- ZO_GAMEPAD_MARKET_LOCKED_SCENE:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/gamepad/market_gamepad.lua:2041 -- self.scene:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/keyboard/crownstore_keyboard.lua:31 -- ZO_CHAPTER_UPGRADE_MANAGER:RegisterCallback("ChapterUpgradeDataUpdated", function(...) self:OnChapterUpgradeDataUpdated(...) end)
- internalingame/market/keyboard/marketcontentfragment_keyboard.lua:56 -- self:RegisterCallback("StateChange", function(...) self:OnStateChange(...) end)
- internalingame/market/keyboard/market_keyboard.lua:1256 -- ITEM_PREVIEW_KEYBOARD:RegisterCallback("RefreshActions", self.refreshActionsCallback)
- internalingame/marketannouncement/marketannouncement_manager.lua:11 -- self.scene:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/marketannouncement/marketannouncement_shared.lua:63 -- fragment:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/marketannouncement/marketannouncement_shared.lua:75 -- ZO_MARKET_ANNOUNCEMENT_MANAGER:RegisterCallback("OnMarketAnnouncementDataUpdated", function() self:UpdateMarketCarousel() end)
- internalingame/marketannouncement/marketannouncement_shared.lua:76 -- ZO_MARKET_ANNOUNCEMENT_MANAGER:RegisterCallback("EventAnnouncementExpired", function() self:LayoutActionTiles() end)
- internalingame/scrying/scrying.lua:1302 -- SCRYING_SCENE:RegisterCallback("StateChange", function(oldState, newState)
local NO_SOUND = true
local ANIMATE_INSTANTLY = true
if newState == SCENE_SHOWING then
self.isScryingReady = false
self.startedOutro = false
self.startedEndOfGame = false
self:TrySetCurrentSkill(SCRYING_ACTIVE_SKILL_NORMAL, NO_SOUND)
self.board:OnShowing()
self.normalActionMeter:OnShowing()
self:RefreshNormalActionMeter(ANIMATE_INSTANTLY)
self:RefreshSpecialActionMeter(ANIMATE_INSTANTLY)
self:RefreshActionButtons()
self:RefreshEyeAnimations()
self:RefreshMoreInfoButton()
self:RefreshInputState()
PlaySound(SOUNDS.SCRYING_START_INTRO)
elseif newState == SCENE_HIDING then
--clear the current tutorial when hiding so we don't push an extra action layer
self:RefreshInputState()
ZO_Dialogs_ReleaseAllDialogsOfName("CONFIRM_EXIT_SCRYING")
elseif newState == SCENE_HIDDEN then
self.board:OnHidden()
-- on the off chance that we are asked to hide while the outro is still in progress, clear out all that state
self:ResetScryingPostGameElements()
end
end)
- internalingame/scrying/scrying.lua:1387 -- SCRYING_HEX_ANIMATION_PROVIDER:RegisterCallback("BlockingAnimationsCompleted", function()
self:TryCompleteScrying()
end)
- internalingame/tribute/tribute.lua:38 -- TRIBUTE_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_HIDING then
-- Due to the nature of UI controls plastered on models, a timing issue can occur where the UI can hide several frames
-- before the game cleans up the models resulting in ESO-771856. So if the UI hides, just make sure the TributeState immediately gets us back to viewing the world.
-- We also don't want to wait for the summary fragment to go away naturally, we want it gone immediately
SCENE_MANAGER:RemoveFragmentImmediately(TRIBUTE_SUMMARY_FRAGMENT)
SCENE_MANAGER:RemoveFragmentImmediately(UNIFORM_BLUR_FRAGMENT)
OnTributeUIHiding()
end
end)
- internalingame/tribute/tribute.lua:50 -- TRIBUTE_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RefreshInputModeFragments()
KEYBIND_STRIP:RemoveDefaultExit()
self:SetupGame()
--The UI cannot be toggled while a tribute match is ongoing, so make sure it isn't hidden when we start
if GetGuiHidden("internal_ingame") then
SetGuiHidden("internal_ingame", false)
end
elseif newState == SCENE_HIDING then
ZO_TRIBUTE_PATRON_SELECTION_MANAGER:EndPatronSelection()
ZO_TRIBUTE_PILE_VIEWER_MANAGER:SetViewingPile(nil)
ZO_Dialogs_ReleaseAllDialogsOfName("CONFIRM_CONCEDE_TRIBUTE")
ZO_Dialogs_ReleaseAllDialogsOfName("GAMEPAD_TRIBUTE_OPTIONS")
ZO_Dialogs_ReleaseAllDialogsOfName("KEYBOARD_TRIBUTE_OPTIONS")
if self.beginEndOfGameFanfareEventId then
zo_removeCallLater(self.beginEndOfGameFanfareEventId)
self.beginEndOfGameFanfareEventId = nil
end
self:ResetResourceTooltip()
self:ResetPatronUsageTooltip()
self:ResetDiscardCounters()
self:ResetCardPopupAndTooltip(ANY_ACTIVE_CARD)
self:RefreshInputState()
KEYBIND_STRIP:RestoreDefaultExit()
elseif newState == SCENE_HIDDEN then
self.gamepadCursor:Reset()
self:ResetPatrons()
self.gameFlowState = TRIBUTE_GAME_FLOW_STATE_INACTIVE
if self.showVictoryTutorial then
self.showVictoryTutorial = false
TUTORIAL_MANAGER:ShowTutorial(TUTORIAL_TRIGGER_TRIBUTE_PVP_VICTORY)
end
end
end)
- internalingame/tribute/tribute.lua:799 -- TRIBUTE_PILE_VIEWER_KEYBOARD_FRAGMENT:RegisterCallback("StateChange", PileViewerFragmentStateChanged)
- internalingame/tribute/tribute.lua:801 -- TRIBUTE_PILE_VIEWER_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", PileViewerFragmentStateChanged)
- internalingame/tribute/tribute.lua:802 -- ZO_TRIBUTE_PILE_VIEWER_MANAGER:RegisterCallback("ActivationStateChanged", ViewerActivationStateChanged)
- internalingame/tribute/tribute.lua:818 -- TRIBUTE_TARGET_VIEWER_KEYBOARD_FRAGMENT:RegisterCallback("StateChange", TargetViewerFragmentStateChanged)
- internalingame/tribute/tribute.lua:821 -- TRIBUTE_TARGET_VIEWER_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", TargetViewerFragmentStateChanged)
- internalingame/tribute/tribute.lua:822 -- ZO_TRIBUTE_TARGET_VIEWER_MANAGER:RegisterCallback("ActivationStateChanged", function(viewer, isActive)
ViewerActivationStateChanged(viewer, isActive)
--This is necessary specifically for the case where we cancel target selection while viewing the board.
--Since the target viewer fragment is already hidden in this case, we wont get the state change callback for it, so we need to refresh the input state manually here
if not isActive then
self:RefreshInputState()
end
self.gamepadCursor:RefreshInsets()
end)
- internalingame/tribute/tribute.lua:840 -- TRIBUTE_MECHANIC_SELECTOR_FRAGMENT:RegisterCallback("StateChange", MechanicSelectorFragmentStateChanged)
- internalingame/tribute/tribute.lua:841 -- TRIBUTE_MECHANIC_SELECTOR:RegisterCallback("ActivationStateChanged", ViewerActivationStateChanged)
- internalingame/tribute/tribute.lua:857 -- TRIBUTE_CONFINEMENT_VIEWER_KEYBOARD_FRAGMENT:RegisterCallback("StateChange", ConfinementViewerFragmentStateChanged)
- internalingame/tribute/tribute.lua:859 -- TRIBUTE_CONFINEMENT_VIEWER_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", ConfinementViewerFragmentStateChanged)
- internalingame/tribute/tribute.lua:860 -- ZO_TRIBUTE_CONFINEMENT_VIEWER_MANAGER:RegisterCallback("ActivationStateChanged", ViewerActivationStateChanged)
- internalingame/tribute/tribute.lua:870 -- TRIBUTE_PATRON_SELECTION_KEYBOARD_FRAGMENT:RegisterCallback("StateChange", PatronSelectionStateChanged)
- internalingame/tribute/tribute.lua:872 -- TRIBUTE_PATRON_SELECTION_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", PatronSelectionStateChanged)
- internalingame/tribute/tribute.lua:876 -- self.gamepadCursor:RegisterCallback("ObjectUnderCursorChanged", function(object, objectType, previousObject, previousObjectType)
if previousObjectType == ZO_TRIBUTE_GAMEPAD_CURSOR_TARGET_TYPES.CARD or previousObjectType == ZO_TRIBUTE_GAMEPAD_CURSOR_TARGET_TYPES.MECHANIC_TILE or previousObjectType == ZO_TRIBUTE_GAMEPAD_CURSOR_TARGET_TYPES.DISCARD_COUNTER then
previousObject:OnCursorExit()
end
if objectType == ZO_TRIBUTE_GAMEPAD_CURSOR_TARGET_TYPES.CARD or objectType == ZO_TRIBUTE_GAMEPAD_CURSOR_TARGET_TYPES.MECHANIC_TILE or objectType == ZO_TRIBUTE_GAMEPAD_CURSOR_TARGET_TYPES.DISCARD_COUNTER then
object:OnCursorEnter()
end
end)
- internalingame/tribute/tribute.lua:886 -- self.gamepadCursor:RegisterCallback("CursorPositionChanged", function(x, y)
TRIBUTE_MECHANIC_MANAGER:OnGamepadCursorPositionChanged(x, y)
end)
- internalingame/tribute/tribute.lua:890 -- self.gamepadCursor:RegisterCallback("CursorStateChanged", function(active)
TRIBUTE_MECHANIC_MANAGER:OnGamepadCursorStateChanged(active)
end)
- internalingame/tribute/tributeconfinementviewer_shared.lua:8 -- ZO_TRIBUTE_CONFINEMENT_VIEWER_MANAGER:RegisterCallback("ActivationStateChanged", function(...) self:OnActivationStateChanged(...) end)
- internalingame/tribute/tributeconfinementviewer_shared.lua:9 -- ZO_TRIBUTE_CONFINEMENT_VIEWER_MANAGER:RegisterCallback("ConfinementsChanged", function(...) self:OnConfinementsChanged(...) end)
- internalingame/tribute/tributemechanicselector.lua:105 -- TRIBUTE_MECHANIC_SELECTOR_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:DeferredInitialize()
self.focus:SetFocusByIndex(1)
elseif newState == SCENE_FRAGMENT_SHOWN then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
if IsInGamepadPreferredMode() then
self.focus:Activate()
end
elseif newState == SCENE_FRAGMENT_HIDING then
self.focus:Deactivate()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- internalingame/tribute/tributepatronselection_shared.lua:7 -- ZO_TRIBUTE_PATRON_SELECTION_MANAGER:RegisterCallback("BeginSelection", function()
self:OnBeginSelection()
end)
- internalingame/tribute/tributepatronselection_shared.lua:11 -- ZO_TRIBUTE_PATRON_SELECTION_MANAGER:RegisterCallback("EndSelection", function()
self:Hide()
end)
- internalingame/tribute/tributepatronselection_shared.lua:15 -- ZO_TRIBUTE_PATRON_SELECTION_MANAGER:RegisterCallback("PatronDrafted", function()
local DONT_RESET_TO_TOP = false
local RESELECT_DATA = true
self:RefreshGridList(DONT_RESET_TO_TOP, RESELECT_DATA)
end)
- internalingame/tribute/tributepatronselection_shared.lua:21 -- ZO_TRIBUTE_PATRON_SELECTION_MANAGER:RegisterCallback("PatronSelected", function()
local DONT_RESET_TO_TOP = false
local RESELECT_DATA = true
self:RefreshGridList(DONT_RESET_TO_TOP, RESELECT_DATA)
end)
- internalingame/tribute/tributepatronselection_shared.lua:27 -- ZO_TRIBUTE_PATRON_SELECTION_MANAGER:RegisterCallback("BeginNextDraftingPhase", function()
KEYBIND_STRIP:UpdateCurrentKeybindButtonGroups()
self:RefreshSelectionState()
end)
- internalingame/tribute/tributepileviewer_shared.lua:7 -- ZO_TRIBUTE_PILE_VIEWER_MANAGER:RegisterCallback("ViewingPileChanged", function(...) self:OnViewingPileChanged(...) end)
- internalingame/tribute/tributepileviewer_shared.lua:8 -- ZO_TRIBUTE_PILE_VIEWER_MANAGER:RegisterCallback("CardStateFlagsChanged", function(...) self:OnCardStateFlagsChanged(...) end)
- internalingame/tribute/tributepileviewer_shared.lua:9 -- ZO_TRIBUTE_PILE_VIEWER_MANAGER:RegisterCallback("AgentDefeatCostChanged", function(...) self:OnAgentDefeatCostChanged(...) end)
- internalingame/tribute/tributepileviewer_shared.lua:10 -- ZO_TRIBUTE_PILE_VIEWER_MANAGER:RegisterCallback("ConfinedCardsChanged", function(...) self:OnConfinedCardsChanged(...) end)
- internalingame/tribute/tributesummary.lua:42 -- TRIBUTE_SUMMARY_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_HIDDEN then
self.fanfareStateMachine:SetCurrentState("INACTIVE")
end
end)
- internalingame/tribute/tributesummary.lua:309 -- state:RegisterCallback("OnActivated", function()
self.hasRankUpRewards = false
local headerControl = self.rewardsControl:GetNamedChild("Header")
local offsetX = 0
local offsetY = 440
self.rewardItemsControl:SetAnchor(TOP, headerControl, BOTTOM, offsetX, offsetY)
self.modalUnderlayTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.keybindTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.statisticsInTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.summaryInTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.rewardsOutTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.rewardsHeaderInTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.progressionInTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.progressionPlacementBarNewFadeInTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.progressionRankChangeUpTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.progressionLeaderboardWipeInTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
-- The following timelines play to end because they're PING_PONG animations and end where they start.
self.progressionLeaderboardLossBounceTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.progressionLeaderboardWinBounceTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.progressionNextRankBounceTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.progressionRankUpScaleTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.keybindButton:SetHidden(true)
KEYBIND_STRIP:RemoveKeybindButton(self.keybindDescriptor)
self.statisticsControl:SetHidden(true)
self.summaryControl:SetHidden(true)
self.rewardsControl:SetHidden(true)
self.clubRankContainer:SetHidden(true)
self.rewardItemsControl:SetHidden(true)
self.progressionControl:SetHidden(true)
self.progressionLeaderboardBackdrop:SetHidden(true)
self.progressionRankChange:SetHidden(true)
self.progressionRankUpIndicator:SetHidden(true)
self.nextRankParticleSystem:Stop()
self.rankUpParticleSystem:Stop()
self.leaderboardParticleSystem:Stop()
self.rewardsControlPool:ReleaseAllObjects()
end)
- internalingame/tribute/tributesummary.lua:350 -- state:RegisterCallback("OnActivated", function()
self.modalUnderlayTimeline:PlayFromStart()
fanfareStateMachine:FireCallbacks(END_OF_GAME_FANFARE_TRIGGER_COMMANDS.NEXT)
end)
- internalingame/tribute/tributesummary.lua:358 -- state:RegisterCallback("OnActivated", function()
KEYBIND_STRIP:AddKeybindButton(self.keybindDescriptor)
self.keybindButton:SetHidden(false)
self.statisticsControl:SetHidden(self.hasRewards)
self.summaryControl:SetHidden(false)
self.keybindTimeline:PlayFromStart()
self.statisticsInTimeline:PlayFromStart()
self.summaryInTimeline:PlayFromStart()
if self.victory then
PlaySound(SOUNDS.TRIBUTE_SUMMARY_BEGIN_VICTORY)
else
PlaySound(SOUNDS.TRIBUTE_SUMMARY_BEGIN_DEFEAT)
end
-- This will be a fade in of all on-screen UI elements simultaneously
end)
- internalingame/tribute/tributesummary.lua:374 -- state:RegisterCallback("OnDeactivated", function()
if self.keybindTimeline:IsPlaying() then
self.keybindTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.statisticsInTimeline:IsPlaying() then
self.statisticsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.summaryInTimeline:IsPlaying() then
self.summaryInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/tribute/tributesummary.lua:389 -- state:RegisterCallback("OnActivated", function()
-- We may have gotten here via a skip, which means we may never have even made it into the interstitial states
-- So just ensure these animations are where we want them to be by this point in the flow
self.keybindTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.statisticsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.summaryInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end)
- internalingame/tribute/tributesummary.lua:400 -- state:RegisterCallback("OnActivated", function()
self.statisticsOutTimeline:PlayFromStart()
self.summaryOutTimeline:PlayFromStart()
end)
- internalingame/tribute/tributesummary.lua:405 -- state:RegisterCallback("OnDeactivated", function()
if self.statisticsOutTimeline:IsPlaying() then
self.statisticsOutTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.summaryOutTimeline:IsPlaying() then
self.summaryOutTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/tribute/tributesummary.lua:417 -- state:RegisterCallback("OnActivated", function()
local clubRank = GetTributePlayerClubRank()
local currentClubExperienceForRank, maxClubExperienceForRank = GetTributePlayerExperienceInCurrentClubRank()
--If the maximum club experience for this rank is 0, then we are maxed out
if maxClubExperienceForRank == 0 then
self.clubRankBar:SetValue(clubRank, 1, 1, NO_WRAP, ANIMATE_INSTANTLY)
else
self.clubRankBar:SetValue(clubRank, currentClubExperienceForRank, maxClubExperienceForRank, NO_WRAP, ANIMATE_INSTANTLY)
if self.playerClubXP > 0 then
currentClubExperienceForRank = currentClubExperienceForRank + self.playerClubXP
if currentClubExperienceForRank > maxClubExperienceForRank then
currentClubExperienceForRank = currentClubExperienceForRank - maxClubExperienceForRank
clubRank = clubRank + 1
local clubExperienceForNextRank = GetTributeClubRankExperienceRequirement(clubRank + 1)
if clubExperienceForNextRank ~= 0 then
maxClubExperienceForRank = clubExperienceForNextRank - GetTributeClubRankExperienceRequirement(clubRank)
else
maxClubExperienceForRank = 0
end
if maxClubExperienceForRank == 0 then
self.clubRankBar:SetValue(clubRank, 1, 1, NO_WRAP, ANIMATE_FULLY)
else
self.clubRankBar:SetValue(clubRank, currentClubExperienceForRank, maxClubExperienceForRank, WRAP, ANIMATE_FULLY)
end
else
self.clubRankBar:SetValue(clubRank, currentClubExperienceForRank, maxClubExperienceForRank, NO_WRAP, ANIMATE_FULLY)
end
end
end
self.rewardsControl:SetHidden(false)
self.clubRankContainer:SetHidden(false)
self.statisticsControl:SetHidden(false)
self.rewardItemsControl:SetHidden(false)
self.rewardRowControlPool:GetActiveObject(REWARDS_MATCH_KEY):SetHidden(false)
self.rewardsHeaderInTimeline:PlayFromStart()
self.statisticsInTimeline:PlayFromStart()
self.matchRewardItemsInTimeline:PlayFromStart()
if self.hasRankUpRewards then
self.rankUpItemsInTimeline:SetAllAnimationOffsets(self.rewardsHeaderInTimeline:GetDuration())
self.rewardRowControlPool:GetActiveObject(REWARDS_RANK_UP_KEY):SetHidden(false)
self.rankUpItemsInTimeline:PlayFromStart()
end
end)
- internalingame/tribute/tributesummary.lua:461 -- state:RegisterCallback("OnDeactivated", function()
if self.rewardsHeaderInTimeline:IsPlaying() then
self.rewardsHeaderInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.statisticsInTimeline:IsPlaying() then
self.statisticsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.matchRewardItemsInTimeline:IsPlaying() then
self.matchRewardItemsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.hasRankUpRewards and self.rankUpItemsInTimeline:IsPlaying() then
self.rankUpItemsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/tribute/tributesummary.lua:479 -- state:RegisterCallback("OnActivated", function()
-- We may have gotten here via a skip, which means we may never have even made it into the interstitial states
-- So just ensure these animations are where we want them to be by this point in the flow
self.rewardsControl:SetHidden(false)
self.statisticsControl:SetHidden(false)
self.rewardItemsControl:SetHidden(false)
self.rewardRowControlPool:GetActiveObject(REWARDS_MATCH_KEY):SetHidden(false)
self.rewardsHeaderInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.statisticsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.matchRewardItemsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
if self.hasRankUpRewards then
self.rewardRowControlPool:GetActiveObject(REWARDS_RANK_UP_KEY):SetHidden(false)
self.rankUpItemsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/tribute/tributesummary.lua:498 -- state:RegisterCallback("OnActivated", function()
self.rewardsOutTimeline:PlayFromStart()
self.statisticsOutTimeline:PlayFromStart()
end)
- internalingame/tribute/tributesummary.lua:503 -- state:RegisterCallback("OnDeactivated", function()
if self.rewardsOutTimeline:IsPlaying() then
self.rewardsOutTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.statisticsOutTimeline:IsPlaying() then
self.statisticsOutTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/tribute/tributesummary.lua:515 -- state:RegisterCallback("OnActivated", function()
local offsetX = 0
self.rewardItemsControl:SetAnchor(TOP, self.progressionControl:GetNamedChild("Divider"), BOTTOM, offsetX, REWARD_ROW_OFFSET_Y)
self.rewardsControl:SetHidden(false)
self.statisticsControl:SetHidden(false)
self.rewardItemsControl:SetHidden(false)
self.rewardRowControlPool:GetActiveObject(REWARDS_MATCH_KEY):SetHidden(false)
self.progressionControl:SetHidden(false)
self.rewardsHeaderInTimeline:PlayFromStart()
self.statisticsInTimeline:PlayFromStart()
self.matchRewardItemsInTimeline:PlayFromStart()
self.progressionInTimeline:PlayFromStart()
end)
- internalingame/tribute/tributesummary.lua:530 -- state:RegisterCallback("OnDeactivated", function()
if self.rewardsHeaderInTimeline:IsPlaying() then
self.rewardsHeaderInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.statisticsInTimeline:IsPlaying() then
self.statisticsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.matchRewardItemsInTimeline:IsPlaying() then
self.matchRewardItemsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.progressionInTimeline:IsPlaying() then
self.progressionInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/tribute/tributesummary.lua:548 -- state:RegisterCallback("OnActivated", function()
self.progressionRankChange:SetHidden(false)
self.progressionRankChangeUpTimeline:PlayFromStart()
end)
- internalingame/tribute/tributesummary.lua:553 -- state:RegisterCallback("OnDeactivated", function()
if self.progressionRankChangeUpTimeline:IsPlaying() then
self.progressionRankChangeUpTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/tribute/tributesummary.lua:562 -- state:RegisterCallback("OnActivated", function()
self.progressionRankChangeFadeOutTimeline:PlayFromStart()
if self.rankUp then
self.nextRankParticleSystem:Start()
self.progressionNextRankBounceTimeline:PlayFromStart()
end
end)
- internalingame/tribute/tributesummary.lua:570 -- state:RegisterCallback("OnDeactivated", function()
if self.progressionRankChangeFadeOutTimeline:IsPlaying() then
self.progressionRankChangeFadeOutTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.progressionNextRankBounceTimeline:IsPlaying() then
self.progressionNextRankBounceTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/tribute/tributesummary.lua:582 -- state:RegisterCallback("OnActivated", function()
local playerCampaignXPNew = self.playerCampaignXP
local playerCampaignXPNext = self.playerRankNextRequiredXP
local wrapType = WRAP
local animationType = ANIMATE_FULLY
if self.rankUp then
playerCampaignXPNew = self.playerRankNextRequiredXP
elseif self.playerRankCurrent == TRIBUTE_TIER_PLATINUM then
playerCampaignXPNew = 1
playerCampaignXPNext = 1
wrapType = NO_WRAP
animationType = ANIMATE_INSTANTLY
end
if self.playerRankCurrent == TRIBUTE_TIER_UNRANKED then
self.progressionPlacementBarNewFadeInTimeline:PlayFromStart()
if self.victory then
PlaySound(SOUNDS.TRIBUTE_SUMMARY_PLACEMENT_MATCH_SEGMENT_FILL_VICTORY)
else
PlaySound(SOUNDS.TRIBUTE_SUMMARY_PLACEMENT_MATCH_SEGMENT_FILL_DEFEAT)
end
else
self.progressionProgressNumberTranslateTimeline:PlayFromStart()
self.progressionProgressBar:SetValue(self.playerRankCurrent, playerCampaignXPNew, playerCampaignXPNext, wrapType, animationType)
-- If we don't animate the bar, we need to trigger the animation completion manually.
if animationType == ANIMATE_INSTANTLY then
fanfareStateMachine:FireCallbacks(END_OF_GAME_FANFARE_TRIGGER_COMMANDS.ANIMATION_COMPLETE)
else
-- Only play the bar fill sound when we actually animate bar progress.
if self.playerCampaignXPDelta > 0 then
PlaySound(SOUNDS.TRIBUTE_SUMMARY_PROGRESS_BAR_INCREASE)
elseif self.playerCampaignXPDelta < 0 then
PlaySound(SOUNDS.TRIBUTE_SUMMARY_PROGRESS_BAR_DECREASE)
end
end
end
end)
- internalingame/tribute/tributesummary.lua:623 -- state:RegisterCallback("OnActivated", function()
self.progressionRankUpIndicator:SetTexture(self.playerRankNewRewardsData:GetTierIcon())
self.progressionRankUpIndicator:GetNamedChild("NewRankLabel"):SetText(self.playerRankNewRewardsData:GetTierName())
self.progressionRankUpIndicator:SetHidden(false)
self.progressionRankUpScaleTimeline:PlayFromStart()
self.rankUpParticleSystem:Start()
if self.playerRankNew == TRIBUTE_TIER_PLATINUM then
PlaySound(SOUNDS.TRIBUTE_SUMMARY_RANK_CHANGE_LEADERBOARD)
else
PlaySound(SOUNDS.TRIBUTE_SUMMARY_RANK_CHANGE)
end
end)
- internalingame/tribute/tributesummary.lua:636 -- state:RegisterCallback("OnDeactivated", function()
if self.progressionRankUpScaleTimeline:IsPlaying() then
self.progressionRankUpScaleTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/tribute/tributesummary.lua:645 -- state:RegisterCallback("OnActivated", function()
self.rewardRowControlPool:GetActiveObject(REWARDS_RANK_UP_KEY):SetHidden(false)
self.rankUpItemsInTimeline:PlayFromStart()
end)
- internalingame/tribute/tributesummary.lua:650 -- state:RegisterCallback("OnDeactivated", function()
if self.rankUpItemsInTimeline:IsPlaying() then
self.rankUpItemsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/tribute/tributesummary.lua:659 -- state:RegisterCallback("OnActivated", function()
self.progressionCurrentRankFadeOutTimeline:PlayFromStart()
self.progressionNextRankFadeOutTimeline:PlayFromStart()
self.progressionPlacementBarFadeOutTimeline:PlayFromStart()
self.progressionPlacementBarNewFadeOutTimeline:PlayFromStart()
self.progressionProgressNumberFadeOutTimeline:PlayFromStart()
end)
- internalingame/tribute/tributesummary.lua:667 -- state:RegisterCallback("OnDeactivated", function()
if self.progressionCurrentRankFadeOutTimeline:IsPlaying() then
self.progressionCurrentRankFadeOutTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.progressionNextRankFadeOutTimeline:IsPlaying() then
self.progressionNextRankFadeOutTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.progressionPlacementBarFadeOutTimeline:IsPlaying() then
self.progressionPlacementBarFadeOutTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.progressionPlacementBarNewFadeOutTimeline:IsPlaying() then
self.progressionPlacementBarNewFadeOutTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.progressionProgressNumberFadeOutTimeline:IsPlaying() then
self.progressionProgressNumberFadeOutTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/tribute/tributesummary.lua:688 -- state:RegisterCallback("OnActivated", function()
self.nextRankParticleSystem:Stop()
self.progressionPlacementBarControl:SetHidden(true)
self.progressionPlacementBarNewControl:SetHidden(true)
self.progressionProgressBarFadeInTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.progressionProgressBarControl:SetHidden(false)
self.progressionCurrentRankIcon:SetTexture(self.playerRankNewRewardsData:GetTierIcon())
self.progressionCurrentRankLabel:SetText(self.playerRankNewRewardsData:GetTierName())
if self.playerRankCurrent ~= TRIBUTE_TIER_PLATINUM then
local newNextRankData = ZO_TributeRewardsData:New(TRIBUTE_REWARDS_DATA_MANAGER:GetTributeRewardsTypeData(ZO_TRIBUTE_REWARD_TYPES.SEASON_REWARDS), self.playerRankNew + 1)
self.progressionNextRankIcon:SetTexture(newNextRankData:GetTierIcon())
self.progressionNextRankLabel:SetText(newNextRankData:GetTierName())
local playerXP = self.playerCampaignXP + GetTributeCampaignRankExperienceRequirement(self.playerRankCurrent, self.campaignId) - GetTributeCampaignRankExperienceRequirement(self.playerRankNew, self.campaignId)
local requiredXP = zo_max(1, GetTributeCampaignRankExperienceRequirement(self.playerRankNew + 1, self.campaignId) - GetTributeCampaignRankExperienceRequirement(self.playerRankNew, self.campaignId))
self.progressionProgressNumber:SetText(string.format("%d / %d", playerXP, self.playerRankNextRequiredXP))
self.progressionProgressNumberTranslateAnimation:SetStartOffsetX(0)
self.progressionProgressNumberTranslateAnimation:SetEndOffsetX(playerXP / requiredXP * self.progressionProgressBarControl:GetWidth())
end
if self.playerRankNext == TRIBUTE_TIER_PLATINUM then
self.progressionNextRankIcon:SetHidden(true)
self.progressionNextRankLabel:SetHidden(true)
end
self.progressionProgressBarFadeInTimeline:PlayFromStart()
self.progressionCurrentRankFadeInTimeline:PlayFromStart()
self.progressionNextRankFadeInTimeline:PlayFromStart()
self.progressionProgressNumberTranslateTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.progressionProgressNumberFadeInTimeline:PlayFromStart()
end)
- internalingame/tribute/tributesummary.lua:719 -- state:RegisterCallback("OnDeactivated", function()
if self.progressionProgressBarFadeInTimeline:IsPlaying() then
self.progressionProgressBarFadeInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.progressionCurrentRankFadeInTimeline:IsPlaying() then
self.progressionCurrentRankFadeInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.progressionNextRankFadeInTimeline:IsPlaying() then
self.progressionNextRankFadeInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.progressionProgressNumberFadeInTimeline:IsPlaying() then
self.progressionProgressNumberFadeInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/tribute/tributesummary.lua:737 -- state:RegisterCallback("OnActivated", function()
self.playerCampaignXP = zo_max(0, self.playerCampaignXP + GetTributeCampaignRankExperienceRequirement(self.playerRankCurrent) - GetTributeCampaignRankExperienceRequirement(self.playerRankNew))
local playerCampaignXPNew = self.playerCampaignXP
self.playerRankCurrent = self.playerRankNew
if self.playerRankNew ~= TRIBUTE_TIER_PLATINUM then
self.playerRankNext = self.playerRankNew + 1
end
self.playerRankNextRequiredXP = GetTributeCampaignRankExperienceRequirement(self.playerRankNext) - GetTributeCampaignRankExperienceRequirement(self.playerRankCurrent)
local playerCampaignXPNext = self.playerRankNextRequiredXP
if self.playerRankNew == TRIBUTE_TIER_PLATINUM then
playerCampaignXPNew = 1
playerCampaignXPNext = 1
end
self.progressionProgressBar:SetValue(self.playerRankCurrent, playerCampaignXPNew, playerCampaignXPNext, WRAP, ANIMATE_FULLY)
self.progressionProgressNumberTranslateTimeline:PlayFromStart()
end)
- internalingame/tribute/tributesummary.lua:759 -- state:RegisterCallback("OnActivated", function()
self.progressionRankUpFadeOutTimeline:PlayFromStart()
end)
- internalingame/tribute/tributesummary.lua:763 -- state:RegisterCallback("OnDeactivated", function()
if self.progressionRankUpFadeOutTimeline:IsPlaying() then
self.progressionRankUpFadeOutTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/tribute/tributesummary.lua:772 -- state:RegisterCallback("OnActivated", function()
if self.rankUp then
self.progressionRankUpIndicator:SetTexture(self.playerRankNewRewardsData:GetTierIcon())
self.progressionRankUpIndicator:GetNamedChild("NewRankLabel"):SetText(self.playerRankNewRewardsData:GetTierName())
self.progressionCurrentRankIcon:SetTexture(self.playerRankNewRewardsData:GetTierIcon())
self.progressionCurrentRankLabel:SetText(self.playerRankNewRewardsData:GetTierName())
if self.playerRankCurrent ~= TRIBUTE_TIER_PLATINUM then
local newNextRankData = ZO_TributeRewardsData:New(TRIBUTE_REWARDS_DATA_MANAGER:GetTributeRewardsTypeData(ZO_TRIBUTE_REWARD_TYPES.SEASON_REWARDS), self.playerRankNew + 1)
self.progressionNextRankIcon:SetTexture(newNextRankData:GetTierIcon())
self.progressionNextRankLabel:SetText(newNextRankData:GetTierName())
end
self.playerCampaignXP = zo_max(0, self.playerCampaignXP + GetTributeCampaignRankExperienceRequirement(self.playerRankCurrent) - GetTributeCampaignRankExperienceRequirement(self.playerRankNew))
self.playerRankCurrent = self.playerRankNew
if self.playerRankNew ~= TRIBUTE_TIER_PLATINUM then
self.playerRankNext = self.playerRankNew + 1
else
self.progressionNextRankIcon:SetHidden(true)
end
self.playerRankNextRequiredXP = GetTributeCampaignRankExperienceRequirement(self.playerRankNext) - GetTributeCampaignRankExperienceRequirement(self.playerRankCurrent)
end
fanfareStateMachine:FireCallbacks(END_OF_GAME_FANFARE_TRIGGER_COMMANDS.NEXT)
end)
- internalingame/tribute/tributesummary.lua:802 -- state:RegisterCallback("OnActivated", function()
fanfareStateMachine:FireCallbacks(END_OF_GAME_FANFARE_TRIGGER_COMMANDS.NEXT)
end)
- internalingame/tribute/tributesummary.lua:809 -- state:RegisterCallback("OnActivated", function()
-- We may have gotten here via a skip, which means we may never have even made it into the interstitial states
-- So just ensure these animations are where we want them to be by this point in the flow
local offsetX = 0
self.rewardItemsControl:SetAnchor(TOP, self.progressionControl:GetNamedChild("Divider"), BOTTOM, offsetX, REWARD_ROW_OFFSET_Y)
self.progressionProgressBar:SetValue(self.playerRankCurrent, self.playerCampaignXP, self.playerRankNextRequiredXP, NO_WRAP, ANIMATE_INSTANTLY)
self.rewardsControl:SetHidden(false)
self.statisticsControl:SetHidden(false)
self.rewardItemsControl:SetHidden(false)
self.rewardRowControlPool:GetActiveObject(REWARDS_MATCH_KEY):SetHidden(false)
local rankUpRewardsRow = self.rewardRowControlPool:GetActiveObject(REWARDS_RANK_UP_KEY)
if rankUpRewardsRow then
rankUpRewardsRow:SetHidden(false)
self.rankUpItemsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
self.nextRankParticleSystem:Stop()
self.progressionControl:SetHidden(false)
self.progressionRankChange:SetHidden(self.rankUp or self.playerRankCurrent == TRIBUTE_TIER_UNRANKED)
self.progressionRankUpIndicator:SetHidden(not self.rankUp)
local progressFinal = self.playerCampaignXP / zo_max(1, self.playerRankNextRequiredXP)
self.progressionProgressNumber:SetText(string.format("%d / %d", self.playerCampaignXP, self.playerRankNextRequiredXP))
local width = self.progressionProgressBarControl:GetWidth()
local xFinal = progressFinal * width
self.progressionProgressNumberTranslateAnimation:SetEndOffsetX(xFinal)
self.progressionProgressNumberTranslateTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.progressionProgressNumber:SetHidden(self.playerRankCurrent == TRIBUTE_TIER_UNRANKED)
self.rewardsHeaderInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.statisticsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.matchRewardItemsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.progressionInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.progressionPlacementBarNewFadeInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.progressionRankChangeUpTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.progressionRankUpScaleTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end)
- internalingame/tribute/tributesummary.lua:849 -- state:RegisterCallback("OnActivated", function()
self.progressionLeaderboardBackdrop:SetHidden(false)
self.progressionLeaderboardWipeInTimeline:PlayFromStart()
end)
- internalingame/tribute/tributesummary.lua:854 -- state:RegisterCallback("OnDeactivated", function()
if self.progressionLeaderboardWipeInTimeline:IsPlaying() then
self.progressionLeaderboardWipeInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/tribute/tributesummary.lua:863 -- state:RegisterCallback("OnActivated", function()
if self.victory then
self.leaderboardParticleSystem:Start()
self.progressionLeaderboardWinBounceTimeline:PlayFromStart()
else
self.progressionLeaderboardLossBounceTimeline:PlayFromStart()
end
end)
- internalingame/tribute/tributesummary.lua:872 -- state:RegisterCallback("OnDeactivated", function()
if self.progressionLeaderboardWinBounceTimeline:IsPlaying() then
self.progressionLeaderboardWinBounceTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
if self.progressionLeaderboardLossBounceTimeline:IsPlaying() then
self.progressionLeaderboardLossBounceTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/tribute/tributesummary.lua:884 -- state:RegisterCallback("OnActivated", function()
-- We may have gotten here via a skip, which means we may never have even made it into the interstitial states
-- So just ensure these animations are where we want them to be by this point in the flow
local offsetX = 0
self.rewardItemsControl:SetAnchor(TOP, self.progressionControl:GetNamedChild("Divider"), BOTTOM, offsetX, REWARD_ROW_OFFSET_Y)
self.rewardsControl:SetHidden(false)
self.statisticsControl:SetHidden(false)
self.rewardItemsControl:SetHidden(false)
self.progressionNextRankIcon:SetHidden(true)
self.rewardRowControlPool:GetActiveObject(REWARDS_MATCH_KEY):SetHidden(false)
local rankUpRewardsRow = self.rewardRowControlPool:GetActiveObject(REWARDS_RANK_UP_KEY)
if rankUpRewardsRow then
rankUpRewardsRow:SetHidden(false)
self.rankUpItemsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
self.nextRankParticleSystem:Stop()
self.progressionControl:SetHidden(false)
self.progressionRankChange:SetHidden(true)
self.progressionProgressBar:SetValue(self.playerRankCurrent, 1, 1, NO_WRAP, ANIMATE_INSTANTLY)
self.progressionLeaderboardBackdrop:SetHidden(false)
self.progressionLeaderboardWipeInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.rewardsHeaderInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.statisticsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.matchRewardItemsInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.progressionInTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
self.progressionRankChangeUpTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
if self.victory then
self.progressionLeaderboardLossBounceTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.leaderboardParticleSystem:Start()
else
self.progressionLeaderboardWinBounceTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/tribute/tributesummary.lua:922 -- state:RegisterCallback("OnActivated", function()
SCENE_MANAGER:RequestShowLeaderBaseScene()
end)
- internalingame/tribute/tributetargetviewer_shared.lua:8 -- ZO_TRIBUTE_TARGET_VIEWER_MANAGER:RegisterCallback("ActivationStateChanged", function(...) self:OnActivationStateChanged(...) end)
- internalingame/tribute/tributetargetviewer_shared.lua:9 -- ZO_TRIBUTE_TARGET_VIEWER_MANAGER:RegisterCallback("CardStateFlagsChanged", function(...) self:OnCardStateFlagsChanged(...) end)
- internalingame/tribute/tributetargetviewer_shared.lua:10 -- ZO_TRIBUTE_TARGET_VIEWER_MANAGER:RegisterCallback("ViewingBoardChanged", function(...) self:OnViewingBoardChanged(...) end)
- internalingame/tribute/gamepad/tributeconfinementviewer_gamepad.lua:19 -- TRIBUTE_CONFINEMENT_VIEWER_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:RefreshTitle()
elseif newState == SCENE_FRAGMENT_SHOWN then
self.gridList:Activate()
ZO_GamepadGenericHeader_Activate(self.header)
elseif newState == SCENE_FRAGMENT_HIDING then
if self.gridList:IsActive() then
self.gridList:Deactivate()
end
ZO_GamepadGenericHeader_Deactivate(self.header)
end
end)
- internalingame/tribute/gamepad/tributepatronselection_gamepad.lua:138 -- TRIBUTE_PATRON_SELECTION_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", self.OnGamepadDialogHidden)
CALLBACK_MANAGER:RegisterCallback("OnGamepadDialogShowing", self.OnGamepadDialogShowing)
--TODO Tribute: Switch this to neutral once neutral patrons become a thing
local DONT_HIGHLIGHT = false
self.draftArea:SetDraftId(TRIBUTE_PATRON_DRAFT_ID_FIRST_PLAYER_FIRST_PICK, DONT_HIGHLIGHT)
--Always start off with the grid focused
self:SelectFocusArea(self.gridArea)
--If there is a dialog showing, don't activate the focus yet
if not ZO_Dialogs_IsShowingDialog() then
self:ActivateCurrentFocus()
end
DIRECTIONAL_INPUT:Activate(self, self.control)
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_FRAGMENT_HIDING then
CALLBACK_MANAGER:UnregisterCallback("AllDialogsHidden", self.OnGamepadDialogHidden)
CALLBACK_MANAGER:UnregisterCallback("OnGamepadDialogShowing", self.OnGamepadDialogShowing)
self:DeactivateCurrentFocus()
DIRECTIONAL_INPUT:Deactivate(self)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- internalingame/tribute/gamepad/tributepatronselection_gamepad.lua:140 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", self.OnGamepadDialogHidden)
- internalingame/tribute/gamepad/tributepatronselection_gamepad.lua:141 -- CALLBACK_MANAGER:RegisterCallback("OnGamepadDialogShowing", self.OnGamepadDialogShowing)
- internalingame/tribute/gamepad/tributepileviewer_gamepad.lua:19 -- TRIBUTE_PILE_VIEWER_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:RefreshHeader()
elseif newState == SCENE_FRAGMENT_SHOWN then
self.gridList:Activate()
ZO_GamepadGenericHeader_Activate(self.header)
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_FRAGMENT_HIDING then
if self.gridList:IsActive() then
self.gridList:Deactivate()
end
ZO_GamepadGenericHeader_Deactivate(self.header)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- internalingame/tribute/gamepad/tributetargetviewer_gamepad.lua:19 -- TRIBUTE_TARGET_VIEWER_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:RefreshInstruction()
elseif newState == SCENE_FRAGMENT_SHOWN then
self.gridList:Activate()
ZO_GamepadGenericHeader_Activate(self.header)
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_FRAGMENT_HIDING then
if self.gridList:IsActive() then
self.gridList:Deactivate()
end
ZO_GamepadGenericHeader_Deactivate(self.header)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- internalingame/tribute/keyboard/tributeconfinementviewer_keyboard.lua:19 -- TRIBUTE_CONFINEMENT_VIEWER_KEYBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:RefreshTitle()
end
end)
- internalingame/tribute/keyboard/tributepatronselection_keyboard.lua:22 -- TRIBUTE_PATRON_SELECTION_KEYBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_FRAGMENT_HIDING then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- internalingame/tribute/keyboard/tributepileviewer_keyboard.lua:19 -- TRIBUTE_PILE_VIEWER_KEYBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_FRAGMENT_HIDING then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- internalingame/tribute/keyboard/tributetargetviewer_keyboard.lua:19 -- TRIBUTE_TARGET_VIEWER_KEYBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:RefreshInstruction()
elseif newState == SCENE_FRAGMENT_SHOWN then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_FRAGMENT_HIDING then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- libraries/screennarration/screennarrationmanager.lua:464 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", self.customObjectAllDialogsHiddenCallback, objectName)
- libraries/screennarration/screennarrationmanager.lua:469 -- list:RegisterCallback("TargetDataChanged", self.parametricListTargetChangedCallback)
- libraries/screennarration/screennarrationmanager.lua:470 -- list:RegisterCallback("ActivatedChanged", self.parametricListActivatedChangedCallback)
- libraries/screennarration/screennarrationmanager.lua:471 -- list:RegisterCallback("MovementChanged", self.parametricListMovementChangedCallback)
- libraries/screennarration/screennarrationmanager.lua:472 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", self.parametricListAllDialogsHiddenCallback, list)
- libraries/screennarration/screennarrationmanager.lua:509 -- dialog.entryList:RegisterCallback("TargetDataChanged", function(list, targetData, oldTargetData, reachedTarget, targetSelectedIndex, reselectingDuringRebuild)
if not reselectingDuringRebuild then
self:QueueDialog(dialog)
end
end)
- libraries/screennarration/screennarrationmanager.lua:515 -- dialog.entryList:RegisterCallback("ActivatedChanged", function(list, activated)
if activated then
self:QueueDialog(dialog)
end
end)
- libraries/screennarration/screennarrationmanager.lua:523 -- textSearchHeader:RegisterCallback("EditBoxFocusLost", function()
self:QueueTextSearchHeader(textSearchHeader)
end)
- libraries/screennarration/screennarrationmanager.lua:527 -- textSearchHeader:RegisterCallback("FocusActivated", function()
local NARRATE_HEADER = true
self:QueueTextSearchHeader(textSearchHeader, NARRATE_HEADER)
end)
- libraries/screennarration/screennarrationmanager.lua:550 -- gridList:RegisterCallback("OnActivated", function(selectedData)
if selectedData then
local NARRATE_HEADER = true
local NARRATE_SUB_HEADER = true
self:QueueGridListEntry(gridList, NARRATE_HEADER, NARRATE_SUB_HEADER)
end
end)
- libraries/screennarration/screennarrationmanager.lua:558 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", self.gridListAllDialogsHiddenCallback, gridList)
- libraries/screennarration/screennarrationmanager.lua:562 -- gamepadGrid:RegisterCallback("OnActivated", function()
local NARRATE_HEADER = true
self:QueueGamepadGridEntry(gamepadGrid, NARRATE_HEADER)
end)
- libraries/screennarration/screennarrationmanager.lua:567 -- gamepadGrid:RegisterCallback("FocusChanged", function()
if gamepadGrid:IsActive() then
self:QueueGamepadGridEntry(gamepadGrid)
end
end)
- libraries/screennarration/screennarrationmanager.lua:573 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", self.gamepadGridAllDialogsHiddenCallback, gamepadGrid)
- libraries/screennarration/screennarrationmanager.lua:577 -- comboBox:RegisterCallback("OnItemSelected", self.comboBoxItemSelectedCallback)
- libraries/screennarration/screennarrationmanager.lua:581 -- dropdown:RegisterCallback("OnDeactivated", function()
self:QueueDialog(dialog)
end)
- libraries/screennarration/screennarrationmanager.lua:587 -- spinner:RegisterCallback("OnValueChanged", function()
if spinner:IsActive() then
self:QueueSpinner(spinner)
end
end)
- libraries/screennarration/screennarrationmanager.lua:593 -- spinner:RegisterCallback("OnActivated", function()
local NARRATE_HEADER = true
self:QueueSpinner(spinner, NARRATE_HEADER)
end)
- libraries/screennarration/screennarrationmanager.lua:598 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", self.spinnerAllDialogsHiddenCallback, spinner)
- libraries/screennarration/screennarrationmanager.lua:602 -- tabBar:RegisterCallback("OnActivated", function()
self:QueueGamepadButtonTabBar(tabBar)
end)
- libraries/screennarration/screennarrationmanager.lua:606 -- tabBar:RegisterCallback("OnSelectionChanged", function()
if tabBar:IsActivated() then
self:QueueGamepadButtonTabBar(tabBar)
end
end)
- libraries/screennarration/screennarrationmanager.lua:614 -- fadingControlBuffer:RegisterCallback("OnEntryUpdated", function()
self:QueueFadingControlBuffer(fadingControlBuffer)
end)
- libraries/zo_dialog/zo_dialog.lua:362 -- SCENE_MANAGER:RegisterCallback("SceneStateChanged", dialog.gamepadInfo.nextSceneCallback)
- libraries/zo_dialog/gamepad/zo_genericdialog_gamepad.lua:551 -- dialog.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
dialog:OnDialogShowing()
elseif newState == SCENE_FRAGMENT_SHOWN then
dialog:OnDialogShown()
elseif newState == SCENE_FRAGMENT_HIDING then
dialog:OnDialogHiding()
elseif newState == SCENE_FRAGMENT_HIDDEN then
dialog:OnDialogHidden()
end
end)
- libraries/zo_editboxes/zo_savingeditbox.lua:247 -- savingEditBox:RegisterCallback("SetEditing", self.setEditingCallback)
- libraries/zo_menubar/zo_scenegroupbar.lua:49 -- self.sceneGroup:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_GROUP_SHOWING then
local nextScene = SCENE_MANAGER:GetNextScene():GetName()
-- this update can be called before the scene itself is set to showing,
-- so make sure to set the active scene here so we can update the scene group bar correctly
self.sceneGroup:SetActiveScene(nextScene)
if not isInitialized then
-- This is a scene group
ZO_MenuBar_ClearButtons(self.menuBarControl)
for i, tabData in pairs(tabDataList) do
-- Set the first tab in the list as the active scene if an active scene wasn't passed in
if not activeSceneName then
activeSceneName = tabData.descriptor
end
local buttonData = tabData
buttonData.existingCallback = buttonData.callback
local existingCallback = buttonData.callback
buttonData.callback = function()
local sceneGroup = SCENE_MANAGER:GetSceneGroup(name)
sceneGroup:SetActiveScene(buttonData.descriptor)
if self.sceneGroup:IsShowing() then
SCENE_MANAGER:Show(buttonData.descriptor)
end
if self.label then
self.label:SetText(zo_strformat(SI_SCENE_FRAGMENT_BAR_TITLE, GetString(buttonData.categoryName)))
end
self.lastSceneName = buttonData.descriptor
if existingCallback then
existingCallback()
end
end
ZO_MenuBar_AddButton(self.menuBarControl, buttonData)
table.insert(self.buttonData, buttonData)
end
isInitialized = true
self:SelectTab(activeSceneName)
end
end
end)
- libraries/zo_pagedlist/zo_pagedlist.lua:94 -- self.sortHeaderGroup:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, function(key, order) self:OnSortHeaderClicked(key, order) end)
- libraries/zo_parametricgridlist/gamepad/zo_gridscrolllist_gamepad.lua:131 -- self:RegisterCallback("SelectedDataChanged", onSelectedDataChangedCallback)
- libraries/zo_parametricscrolllist/zo_parametricscrolllist.lua:299 -- self:RegisterCallback("MovementChanged", onMovementChangedCallback)
- libraries/zo_parametricscrolllist/zo_parametricscrolllist.lua:307 -- self:RegisterCallback("TargetDataChanged", onTargetDataChangedCallback)
- libraries/zo_parametricscrolllist/zo_parametricscrolllist.lua:315 -- self:RegisterCallback("SelectedDataChanged", onSelectedDataChangedCallback)
- libraries/zo_parametricscrolllist/zo_parametricscrolllist.lua:327 -- self:RegisterCallback("HitBeginningOfList", onHitBeginningOfListCallback)
- libraries/zo_pointerbox/keyboard/zo_pointerbox_keyboard.lua:93 -- fragment:RegisterCallback("StateChange", OnFragmentStateChange)
- libraries/zo_scene/zo_scenefragmenttemplates.lua:690 -- SCENE_MANAGER:RegisterCallback("SceneStateChanged", function(scene, oldState, newState)
if newState == SCENE_HIDING then
if scene:HasFragment(baseFragment) then
baseFragment:ResetOnHiding()
end
elseif newState == SCENE_HIDDEN then
if scene:HasFragment(baseFragment) then
baseFragment:ResetOnHidden()
end
end
end)
- libraries/zo_scene/zo_scenefragmenttemplates.lua:758 -- self:RegisterCallback("Refreshed", function(oldState, newState, asAResultOfSceneStateChange, refreshedForScene)
--If the fragments were refreshed and we were already showing then re-push this action layer so it falls into order. For example, if layers A and B are in the current and next scene,
--but the next scene has layer C that comes before the 2 shared layers we will need to re-push them after layer C is added so they are on the top of the stack instead of the bottom.
--We only do it for already shown fragments on the scene showing because fragments that went from hidden or showing to shown already added from the Show() function and we don't want to
--constantly be readding these because there is code that adds action layers manually after the scene starts showing that would be pushed to the bottom if we readded.
if asAResultOfSceneStateChange then
if refreshedForScene:GetState() == SCENE_SHOWING and oldState == SCENE_FRAGMENT_SHOWN and newState == SCENE_FRAGMENT_SHOWN then
RemoveActionLayerByName(self.actionLayerName)
PushActionLayerByName(self.actionLayerName)
end
end
end)
- libraries/zo_scene/zo_scenemanager_base.lua:58 -- parentScene:RegisterCallback("StateChange", self.onParentSceneStateChangedCallback)
- libraries/zo_scene/zo_scenemanager_leader.lua:209 -- self.currentScene:RegisterCallback("HideSceneConfirmationResult", resultCallback)
- libraries/zo_sortfilterlist/zo_sortfilterlist.lua:40 -- self.sortHeaderGroup:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, function(key, order) self:OnSortHeaderClicked(key, order) end)
- libraries/zo_sortfilterlist/gamepad/zo_interactivesortfilterlist_gamepad.lua:89 -- self.listFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_SHOWN then
self:OnShown()
elseif newState == SCENE_FRAGMENT_HIDING then
self:OnHiding()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- libraries/zo_sortfilterlist/gamepad/zo_interactivesortfilterlist_gamepad.lua:108 -- self.sortHeaderGroup:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- libraries/zo_sortfilterlist/gamepad/zo_interactivesortfilterlist_gamepad.lua:109 -- self.sortHeaderGroup:RegisterCallback("HeaderSelected", OnSortHeaderSelected)
- libraries/zo_sortfilterlist/gamepad/zo_interactivesortfilterlist_gamepad.lua:112 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", function()
if self:IsActivated() then
local NARRATE_HEADER = true
--Determine if we need to narrate the filter switcher, sort header group, or list entry
if self:IsCurrentFocusArea(self.filtersFocalArea) then
SCREEN_NARRATION_MANAGER:QueueFocus(self.filterSwitcher, NARRATE_HEADER)
elseif self:IsCurrentFocusArea(self.headersFocalArea) then
if self.sortHeaderGroup then
SCREEN_NARRATION_MANAGER:QueueSelectedSortHeader(self, self.sortHeaderGroup, self.sortHeaderGroup:GetCurrentSortKey(), NARRATE_HEADER)
end
elseif self:IsCurrentFocusArea(self.panelFocalArea) then
SCREEN_NARRATION_MANAGER:QueueSortFilterListEntry(self, NARRATE_HEADER)
end
end
end)
- libraries/zo_statemachine/zo_statemachine.lua:95 -- edge:GetParentMachine():RegisterCallback(self.eventName, self.triggerFunction)
- pregame/accountlogin/pegi.lua:20 -- CALLBACK_MANAGER:RegisterCallback("PregameFullyLoaded", function() self:PopulateCountries() end)
- pregame/accountlogin/pegi.lua:21 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, OnLinkClicked)
- pregame/accountlogin/gamepad/createlinkloadingscreen_gamepad.lua:35 -- CREATE_LINK_LOADING_SCREEN_GAMEPAD_SCENE:RegisterCallback("StateChange", StateChanged)
- pregame/accountlogin/gamepad/gamestartup_gamepad.lua:202 -- GAME_STARTUP_MAIN_GAMEPAD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialize()
self.serverSelector:OnShowing()
self:PopulateMainList()
self:SetCurrentList(self.mainList)
if self.psnFreeTrialEnded then
KEYBIND_STRIP:AddKeybindButtonGroup(self.freeTrialEndKeybindDescriptor)
local platformStore = GetString(SI_FREE_TRIAL_PLATFORM_STORE_PS4)
--[[ The player needs to purchase the game, no need to wait on RequestAnnouncements to get something that we're going to overwrite anyway ]]--
self.announcement:SetText(zo_strformat(SI_FREE_TRIAL_EXPIRED_ANNOUNCEMENT, platformStore))
self.gotMOTD = false
else
KEYBIND_STRIP:AddKeybindButtonGroup(self.mainKeybindStripDescriptor)
--[[ if we don't have an MOTD, kick off RequestAnnouncements and show a loading animation. The loading animation is dismissed in OnAnnouncementsResult() below ]]--
if not self.gotMOTD then
CREATE_LINK_LOADING_SCREEN_GAMEPAD:Show("AccountLogin", RequestAnnouncements, GetString(SI_GAMEPAD_PREGAME_LOADING))
else
self.gotMOTD = false
self.canCancelOrLoadPlatforms = true
end
end
elseif newState == SCENE_HIDDEN then
self:Deactivate()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.psnFreeTrialEnded and self.freeTrialEndKeybindDescriptor or self.mainKeybindStripDescriptor)
end
end)
- pregame/accountlogin/gamepad/gamestartup_gamepad.lua:239 -- GAME_STARTUP_INITIAL_SERVER_SELECT_GAMEPAD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialize()
self:PopulateInitialList()
self:SetCurrentList(self.initialList)
KEYBIND_STRIP:AddKeybindButtonGroup(self.initialKeybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
self:Deactivate()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.initialKeybindStripDescriptor)
end
end)
- pregame/accountlogin/gamepad/gamestartup_gamepad.lua:263 -- GAMEPAD_DOWNLOAD_BAR:RegisterCallback("DownloadComplete", function() self:ForceListRebuild() end)
- pregame/accountlogin/gamepad/legalagreementsscreen_gamepad.lua:173 -- LEGAL_AGREEMENTS_GAMEPAD_SCENE:RegisterCallback("StateChange", StateChanged)
- pregame/accountlogin/gamepad/linkaccountscreen_gamepad.lua:10 -- LINK_ACCOUNT_ACTIVATION_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialize()
RequestLinkAccountActivationCode()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RemoveDefaultExit()
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
end
end)
- pregame/accountlogin/gamepad/pregameinitialscreen_gamepad.lua:38 -- PREGAME_INITIAL_SCREEN_GAMEPAD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
ZO_ControllerDisconnect_DismissPopup()
self:PerformDeferredInitialization()
-- Reset fade in animations
self.fadeMode = nil
self.esoAnimatedBackgroundAnimation:PlayInstantlyToStart()
self.pressTextAnimation:PlayInstantlyToStart()
self.pressAnyPromptFadingIn = false
KEYBIND_STRIP:RemoveDefaultExit()
self.currentKeybindStripDescriptor = self.pressAnyKeybindsDescriptor
if self:IsShowingVerificationError() then
self.currentKeybindStripDescriptor = self.verifyEmailKeybindsDescriptor
end
KEYBIND_STRIP:AddKeybindButtonGroup(self.currentKeybindStripDescriptor)
elseif newState == SCENE_SHOWN then
self.fadeMode = LOGO_FADE_IN
self.esoAnimatedBackgroundAnimation:PlayFromStart()
if IsErrorQueuedFromIngame() then
ZO_Pregame_DisplayServerDisconnectedError()
end
elseif newState == SCENE_HIDDEN then
self:ClearError()
PregameStateManager_ClearError()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.currentKeybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
self.continueDesired = false
self.continueAllowed = false
-- It's possible to switch from the gamepad UI to the keyboard UI while esoAnimatedBackgroundAnimation
-- is still playing. The OnStop handler of the animation may then attempt to advance the state, which
-- will fail when we are in the keyboard UI. To prevent the OnStop handler from doing anything, we
-- clear fadeMode.
self.fadeMode = nil
self.esoAnimatedBackgroundAnimation:Stop()
-- Similar to esoAnimatedBackgroundAnimation, we'll stop this animation if it's playing and prevent
-- it from carrying out any unwanted actions.
self.pressAnyPromptFadingIn = false
self.pressTextAnimation:Stop()
end
end)
- pregame/accountlogin/keyboard/eula.lua:19 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, function(...) self:OnLinkClicked(...) end)
- pregame/accountlogin/keyboard/eula.lua:20 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", function()
if self.isShowingLinkConfirmation then
self:ShowNextEULA()
self.isShowingLinkConfirmation = false
end
end)
- pregame/accountlogin/keyboard/eula.lua:202 -- EULA_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:ShowNextEULA()
elseif newState == SCENE_HIDDEN then
ZO_Dialogs_ReleaseDialog("SHOW_EULA")
PregameStateManager_AdvanceStateFromState("ShowEULA")
end
end)
- pregame/accountlogin/keyboard/zo_createlinkaccount.lua:91 -- CREATE_LINK_ACCOUNT_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
if self.mode == SETUP_MODE_ACTIVATE then
LOGIN_MANAGER_KEYBOARD:RequestAccountActivationCode()
end
end
end)
- pregame/accountlogin/keyboard/zo_login.lua:189 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", function() self:InitializeLoginButtonState() end)
- pregame/accountlogin/keyboard/zo_login.lua:190 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, OnLinkClicked)
- pregame/accountlogin/keyboard/zo_login.lua:193 -- LOGIN_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
self:InitializeLoginButtonState()
self:AttemptAutomaticLogin()
if ZO_RZCHROMA_EFFECTS then
ZO_RZCHROMA_EFFECTS:SetAlliance(ALLIANCE_NONE)
end
self.startTickerTimeS = GetFrameTimeSeconds() + ANNOUNCEMENTS_START_SCROLL_TIME
end
end)
- pregame/accountlogin/keyboard/zo_login.lua:245 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, OnLinkClicked)
- pregame/accountlogin/keyboard/zo_login.lua:246 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", OnAllDialogsHidden)
- pregame/chapterupgrade/chapterupgrade_shared.lua:41 -- scene:RegisterCallback("StateChange", function(oldState, newState)
local handler = stateChangeHandlers[newState]
if handler then
handler(self)
end
end)
- pregame/chapterupgrade/gamepad/chapterupgrade_gamepad.lua:76 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", function()
if self.focus:IsActive() then
local NARRATE_HEADER = true
SCREEN_NARRATION_MANAGER:QueueFocus(self.focus, NARRATE_HEADER)
end
end)
- pregame/charactercreate/zo_charactercreate_shared.lua:135 -- CALLBACK_MANAGER:RegisterCallback("OnCharacterConstructionReady", OnCharacterConstructionReady)
- pregame/charactercreate/zo_charactercreate_shared.lua:136 -- CALLBACK_MANAGER:RegisterCallback("CharacterCreateRequested", OnCharacterCreateRequested)
- pregame/charactercreate/gamepad/zo_charactercreate_gamepad.lua:119 -- GAMEPAD_CHARACTER_CREATE_SCENE:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- pregame/charactercreate/keyboard/zo_charactercreate_keyboard.lua:106 -- CHARACTER_CREATE_FRAGMENT:RegisterCallback("StateChange", OnStateChanged)
- pregame/characterselect/characterselect_eventbanner_shared.lua:19 -- fragment:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- pregame/characterselect/characterselect_eventbanner_shared.lua:25 -- CHARACTER_SELECT_MANAGER:RegisterCallback("EventAnnouncementExpired", function() self:PopulateCarousel() end)
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:1085 -- CHARACTER_SELECT_MANAGER:RegisterCallback("OnSavedDataReady", function() ZO_CharacterSelect_Gamepad_ShowEventAnnouncementsBanner(CHARACTER_SELECT_MANAGER:GetEventAnnouncementAutoShowIndex()) end)
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:1222 -- GAMEPAD_CHARACTER_SELECT_SCENE:RegisterCallback("StateChange", ZO_CharacterSelect_Gamepad_StateChanged)
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:1224 -- CALLBACK_MANAGER:RegisterCallback("OnCharacterConstructionReady", ContextFilter(OnCharacterConstructionReady))
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:1225 -- CALLBACK_MANAGER:RegisterCallback("PregameFullyLoaded", ContextFilter(OnPregameFullyLoaded))
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:1235 -- CHARACTER_SELECT_MANAGER:RegisterCallback("EventAnnouncementsReceived", function()
if PregameIsFullyLoaded() then
ZO_CharacterSelect_Gamepad_ShowEventAnnouncementsBanner(CHARACTER_SELECT_MANAGER:GetEventAnnouncementAutoShowIndex())
end
end)
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:1241 -- CHARACTER_SELECT_MANAGER:RegisterCallback("CharacterListUpdated", function()
if self.refreshAfterCharacterDeleted then
if CHARACTER_SELECT_MANAGER:GetNumCharacters() == 0 then
return -- We are going to the character create screen
end
PlaySound(SOUNDS.GAMEPAD_MENU_BACK)
ZO_CharacterSelect_Gamepad_ReturnToCharacterList(ACTIVATE_VIEWPORT)
self.characterList:Clear()
self.refreshAfterCharacterDeleted = false
end
RecreateList(self)
end)
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:1255 -- CHARACTER_SELECT_MANAGER:RegisterCallback("CharacterOrderChanged", function(targetCharacterData)
CreateList(self)
local listIndex = self.characterList:FindFirstIndexByEval(function(entry) return AreId64sEqual(targetCharacterData.id, entry.id) end)
local ALLOW_EVEN_IF_DISABLED = true
local FORCE_ANIMATION = false
self.characterList:SetSelectedIndexWithoutAnimation(listIndex, ALLOW_EVEN_IF_DISABLED, FORCE_ANIMATION)
end)
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:408 -- CHARACTER_SELECT_MANAGER:RegisterCallback("CharacterListUpdated", function()
SetupCharacterList()
end)
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:412 -- CHARACTER_SELECT_MANAGER:RegisterCallback("CharacterOrderChanged", function()
ZO_ScrollList_Clear(ZO_CharacterSelectScrollList)
SetupScrollList()
end)
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:417 -- CHARACTER_SELECT_MANAGER:RegisterCallback("SelectedCharacterUpdated", function(characterData)
ZO_ScrollList_SelectData(ZO_CharacterSelectScrollList, characterData)
end)
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:421 -- CHARACTER_SELECT_MANAGER:RegisterCallback("EventAnnouncementExpired", function() PopulateCarousel() end)
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:427 -- CALLBACK_MANAGER:RegisterCallback("OnCharacterConstructionReady", OnCharacterConstructionReady)
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:428 -- CALLBACK_MANAGER:RegisterCallback("PregameFullyLoaded", OnPregameFullyLoaded)
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:432 -- CHARACTER_SELECT_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
SCENE_MANAGER:AddFragment(CHARACTER_SELECT_BACKGROUND_FRAGMENT)
ZO_CharacterSelect_OnCharacterSelectShown(self)
elseif newState == SCENE_FRAGMENT_HIDDEN then
SCENE_MANAGER:RemoveFragment(CHARACTER_SELECT_BACKGROUND_FRAGMENT)
if self.carousel then
self.carousel:Deactivate()
end
end
end)
- pregame/gamecredits/sharedgamecredits.lua:13 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:ShowCredits()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:StopCredits()
end
end)
- pregame/gamemenu_pregame/keyboard/gamemenu_charactercreate.lua:110 -- gameMenuCharacterCreateScene:RegisterCallback("StateChange", function(oldState, newState)
ZO_UpdatePaperDollManipulationForScene(ZO_CharacterCreateCharacterViewport, newState)
end)
- pregame/gamemenu_pregame/keyboard/gamemenu_characterselect.lua:17 -- CALLBACK_MANAGER:RegisterCallback("PregameFullyLoaded", OnPregameFullyLoaded)
- pregame/gamemenu_pregame/keyboard/gamemenu_characterselect.lua:120 -- gameMenuCharacterSelectScene:RegisterCallback("StateChange", function(oldState, newState)
ZO_UpdatePaperDollManipulationForScene(ZO_CharacterSelectCharacterViewport, newState)
if newState == SCENE_SHOWING then
RebuildTree(GAME_MENU_CHARACTERSELECT)
end
end)
- pregame/gamemenu_pregame/keyboard/gamemenu_characterselect.lua:131 -- CALLBACK_MANAGER:RegisterCallback("AddOnEULAHidden", UpdateNewStates)
- pregame/gamepad/createaccount/createaccount_gamepad.lua:19 -- CREATE_ACCOUNT_GAMEPAD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:ResetMainList()
KEYBIND_STRIP:RemoveDefaultExit()
self:SwitchToMainList()
elseif newState == SCENE_HIDDEN then
self:ResetScreen()
self:SwitchToKeybind(nil)
KEYBIND_STRIP:RestoreDefaultExit()
end
end)
- pregame/gamepad/createaccount/createaccount_gamepad_final.lua:35 -- CREATE_ACCOUNT_FINAL_GAMEPAD_SCENE:RegisterCallback("StateChange", StateChanged)
- pregame/gamepad/createlinkaccountscreen/createlinkaccountscreen_gamepad.lua:16 -- CREATE_LINK_ACCOUNT_SCREEN_GAMEPAD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
KEYBIND_STRIP:RemoveDefaultExit()
self.optionsList:Activate()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.optionsList:Deactivate()
KEYBIND_STRIP:RestoreDefaultExit()
end
end)
- pregame/gamepad/linkaccountscreen/confirmlinkaccountscreen_gamepad.lua:73 -- CONFIRM_LINK_ACCOUNT_SCREEN_GAMEPAD_SCENE:RegisterCallback("StateChange", OnStateChanged)
- pregame/gamepad/linkaccountscreen/linkaccountscreen_gamepad.lua:19 -- LINK_ACCOUNT_GAMEPAD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialize()
self:ClearCredentials()
KEYBIND_STRIP:RemoveDefaultExit()
self:SwitchToMainList()
elseif newState == SCENE_HIDDEN then
self:ResetScreen()
self:SwitchToKeybind(nil)
KEYBIND_STRIP:RestoreDefaultExit()
end
end)
- pregame/gamepad/linkaccountscreen/linkaccountscreen_gamepad_final.lua:36 -- LINK_ACCOUNT_FINAL_GAMEPAD_SCENE:RegisterCallback("StateChange", StateChanged)
- pregame/gamepad/worldselect/worldselectscreen_gamepad.lua:38 -- WORLD_SELECT_GAMEPAD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialize()
self.firstWorldListRefresh = true
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
if self.dirty then
self:RefreshWorldList_Internal()
end
self.optionsList:Activate()
self.worldLoading = false
elseif newState == SCENE_HIDDEN then
self.optionsList:Deactivate()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
end
end)
- pregame/globals/pregameglobals.lua:39 -- CALLBACK_MANAGER:RegisterCallback("PregameFullyLoaded", OnPregameFullyLoaded)
- pregame/pregameanimatedbackground/gamepad/badlandsbackground.lua:100 -- PREGAME_ANIMATED_BACKGROUND_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:Start()
elseif newState == SCENE_HIDDEN then
self:Stop()
end
end)
- pregame/pregameanimatedbackground/gamepad/dunebackground.lua:23 -- PREGAME_ANIMATED_BACKGROUND_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:Start()
elseif newState == SCENE_HIDDEN then
self:Stop()
end
end)
- pregame/pregameanimatedbackground/gamepad/elsweyrbackground.lua:27 -- PREGAME_ANIMATED_BACKGROUND_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:Start()
elseif newState == SCENE_HIDDEN then
self:Stop()
end
end)
- pregame/pregameanimatedbackground/gamepad/greymoorbackground.lua:27 -- PREGAME_ANIMATED_BACKGROUND_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:Start()
elseif newState == SCENE_HIDDEN then
self:Stop()
end
end)
- pregame/pregameanimatedbackground/gamepad/magmabackground.lua:147 -- PREGAME_ANIMATED_BACKGROUND_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:Start()
elseif newState == SCENE_HIDDEN then
self:Stop()
end
end)
- pregame/pregameanimatedbackground/gamepad/morrowindbackground.lua:323 -- PREGAME_ANIMATED_BACKGROUND_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:Start()
elseif newState == SCENE_HIDDEN then
self:Stop()
end
end)
- pregame/pregameanimatedbackground/gamepad/summersetbackground.lua:26 -- PREGAME_ANIMATED_BACKGROUND_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:Start()
elseif newState == SCENE_HIDDEN then
self:Stop()
end
end)
- pregame/settings/keyboard/pregame_settings_keyboard.lua:21 -- SETTINGS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:ShowSettings()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:HideSettings()
end
end)
- pregameandingame/screenadjust/screenadjust.lua:19 -- SCREEN_ADJUST_SCENE_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_SHOWN then
self:OnShown()
elseif newState == SCENE_FRAGMENT_HIDING then
self:OnHiding()
end
end)
- pregameandingame/zo_addonmanager/zo_addoneula.lua:119 -- CALLBACK_MANAGER:RegisterCallback("ShowAddOnEULAIfNecessary", DisplayAddOnEULAIfNecessary)
- pregameandingame/zo_addonmanager/zo_addonmanager.lua:61 -- CALLBACK_MANAGER:RegisterCallback("AddOnEULAHidden", OnAddOnEulaHidden)
- pregameandingame/zo_addonmanager/zo_addonmanager.lua:64 -- ADDONS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
PushActionLayerByName("Addons")
elseif newState == SCENE_FRAGMENT_HIDING then
RemoveActionLayerByName("Addons")
end
end)
- pregameandingame/zo_options/gamepad/zo_options_gamepad.lua:49 -- GAMEPAD_OPTIONS_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.currentCategory = SETTING_PANEL_GAMEPAD_CATEGORIES_ROOT
self:RefreshCategoryList()
self:RefreshHeader()
self:SetCurrentList(self.categoryList)
self:RefreshGamepadInfoPanel()
KEYBIND_STRIP:AddKeybindButtonGroup(self.rootKeybindDescriptor)
elseif newState == SCENE_HIDDEN then
self:DisableCurrentList()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.rootKeybindDescriptor)
end
end)
- pregameandingame/zo_options/gamepad/zo_options_gamepad.lua:66 -- GAMEPAD_OPTIONS_PANEL_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
RefreshSettings()
self.settingsNeedApply = false
if ZO_SharedOptions.DoesPanelDisableShareFeatures(self.currentCategory) and DoesPlatformSupportDisablingShareFeatures() then
DisableShareFeatures()
end
local isDeferredLoading = self:RequestLoadDeferredSettingsForPanel(self.currentCategory)
if isDeferredLoading then
ZO_Dialogs_ShowGamepadDialog("REQUESTING_ACCOUNT_DATA")
end
self:RefreshOptionsList()
self:RefreshHeader()
self:SetCurrentList(self.optionsList)
if IsInUI("pregame") and not IsAccountLoggedIn() then
GAMEPAD_OPTIONS_PANEL_SCENE:AddTemporaryFragment(PREGAME_ANIMATED_BACKGROUND_FRAGMENT)
end
KEYBIND_STRIP:AddKeybindButtonGroup(self.panelKeybindDescriptor)
elseif newState == SCENE_HIDDEN then
if ZO_SharedOptions.DoesPanelDisableShareFeatures(self.currentCategory) and DoesPlatformSupportDisablingShareFeatures() then
EnableShareFeatures()
end
self:DisableCurrentList()
self:DeactivateSelectedControl()
self:SaveCachedSettings()
ZO_SavePlayerConsoleProfile()
SetCameraOptionsPreviewModeEnabled(false, CAMERA_OPTIONS_PREVIEW_NONE)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.panelKeybindDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.primaryActionDescriptor)
end
end)
- pregameandingame/zo_options/keyboard/zo_options_keyboard.lua:18 -- OPTIONS_WINDOW_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
RefreshSettings()
self:UpdateAllPanelOptions(SAVE_CURRENT_VALUES)
control:GetNamedChild("ApplyButton"):SetHidden(true)
PushActionLayerByName("OptionsWindow")
elseif newState == SCENE_FRAGMENT_HIDING then
SetCameraOptionsPreviewModeEnabled(false, CAMERA_OPTIONS_PREVIEW_NONE)
RemoveActionLayerByName("OptionsWindow")
self:SaveCachedSettings()
elseif newState == SCENE_FRAGMENT_HIDDEN then
-- We may hide this scene while one of these panels is active, and disabling share features.
-- To undo that, just re-enable them here. This assumes that there aren't multiple reasons to disable share features.
if DoesPlatformSupportDisablingShareFeatures() and ZO_SharedOptions.DoesPanelDisableShareFeatures(self.currentPanel) then
EnableShareFeatures()
end
end
end)
- pregameandingame/zo_options/keyboard/zo_options_keyboard.lua:38 -- CALLBACK_MANAGER:RegisterCallback("OnEditAccountEmailKeyboardDialogClosed", function() self:UpdatePanelVisibility(self.currentPanel) end)
- pregameandingame/zo_options/keyboard/zo_options_keyboard.lua:103 -- CALLBACK_MANAGER:RegisterCallback(event, callback, control)
- publicallingames/currency/gamepad/currencyselector_gamepad.lua:93 -- self.spinner:RegisterCallback("OnValueChanged", valueChangedCallback)
- publicallingames/itempreview/itempreviewlisthelper_shared.lua:18 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- publicallingames/itempreview/itempreviewlisthelper_shared.lua:217 -- self:GetPreviewObject():RegisterCallback("RefreshActions", self.RefreshActionsCallback)
- publicallingames/itempreview/itempreviewlisthelper_shared.lua:218 -- self:GetPreviewObject():RegisterCallback("CanChangePreviewChanged", self.CanChangePreviewChangedCallback)
- publicallingames/itempreview/itempreviewlisthelper_shared.lua:219 -- self:GetPreviewObject():RegisterCallback("EndCurrentPreview", self.EndCurrentPreviewCallback)
- publicallingames/itempreview/itempreview_shared.lua:389 -- self.fragment:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)