Back to Home
ESO Function Data v100031
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:236 -- scene: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)
- ingame/achievements/keyboard/achievements.lua:974 -- 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
end
end)
- ingame/achievements/keyboard/achievements.lua:1129 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, self.OnLinkClicked, self)
- ingame/achievements/keyboard/achievements.lua:1130 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_MOUSE_UP_EVENT, self.OnLinkClicked, self)
- ingame/achievements/keyboard/achievements.lua:1140 -- ACHIEVEMENTS_MANAGER:RegisterCallback("UpdateSearchResults", OnUpdateSearchResults)
- ingame/actionbar/actionbar.lua:591 -- 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("SkillLineUpdated", OnSkillsUpdated)
- ingame/antiquities/antiquitymanager.lua:34 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", OnCollectibleUpdated)
- ingame/antiquities/antiquitymanager.lua:46 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", OnCollectionUpdated)
- ingame/antiquities/antiquitymanager.lua:51 -- SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", OnSkillsUpdated)
- ingame/antiquities/antiquitymanager.lua:52 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineAdded", OnSkillsUpdated)
- ingame/antiquities/antiquitymanager.lua:53 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineUpdated", OnSkillsUpdated)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:187 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("AntiquitiesUpdated", OnDataUpdated)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:188 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityUpdated", OnDataUpdated)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:189 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityDigSitesUpdated", OnDataUpdated)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:190 -- ANTIQUITY_MANAGER:RegisterCallback("OnContentLockChanged", OnDataUpdated)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:201 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityLeadAcquired", OnSingleAntiquityLeadUpdated)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:202 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityNewLeadCleared", OnSingleAntiquityLeadUpdated)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:630 -- self.fragment:RegisterCallback("StateChange", OnStateChanged)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:1449 -- control.antiquitiesScrollList:RegisterCallback("SelectedDataChanged", function(...) self:OnAntiquitySetFragmentSelectionChanged(...) end )
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:1591 -- self.fragment:RegisterCallback("StateChange", OnStateChanged)
- ingame/antiquities/gamepad/antiquityjournal_gamepad.lua:1593 -- ANTIQUITY_MANAGER:RegisterCallback("OnContentLockChanged", function() self:Refresh() end)
- ingame/antiquities/gamepad/antiquitylore_gamepad.lua:56 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("AntiquitiesUpdated", OnAntiquitiesUpdated)
- ingame/antiquities/gamepad/antiquitylore_gamepad.lua:57 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityUpdated", OnAntiquitiesUpdated)
- ingame/antiquities/gamepad/antiquitylore_gamepad.lua:58 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityDigSitesUpdated", OnAntiquitiesUpdated)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:812 -- 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:838 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("AntiquitiesUpdated", OnAntiquitiesUpdated)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:839 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityUpdated", OnAntiquitiesUpdated)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:840 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityDigSitesUpdated", OnAntiquitiesUpdated)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:841 -- ANTIQUITY_MANAGER:RegisterCallback("OnContentLockChanged", OnAntiquitiesUpdated)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:846 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityLeadAcquired", OnSingleAntiquityLeadUpdated)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:847 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityNewLeadCleared", OnSingleAntiquityLeadUpdated)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:866 -- 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:140 -- ANTIQUITY_DIGGING_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.isGameOver = false
self:RefreshInputModeFragments()
control:RegisterForEvent(EVENT_ANTIQUITY_DIGGING_READY_TO_PLAY, function() self:OnAntiquityDiggingReadyToPlay() end)
elseif newState == SCENE_FRAGMENT_HIDING then
control:SetHandler("OnUpdate", nil)
elseif newState == SCENE_FRAGMENT_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:213 -- 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/banking/gamepad/bankingcommon_gamepad.lua:154 -- self.selector:RegisterCallback("OnValueChanged", function() self:UpdateInput(self.selector:GetValue()) end)
- ingame/banking/gamepad/banking_gamepad.lua:160 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", function(...) self:OnCollectibleUpdated(...) end)
- ingame/banking/gamepad/banking_gamepad.lua:221 -- 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
end)
- ingame/banking/gamepad/banking_gamepad.lua:234 -- 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/banking/gamepad/banking_gamepad.lua:248 -- currenciesFragment: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())
self:RefreshCurrenciesList()
end
end)
- ingame/banking/gamepad/banking_gamepad.lua:682 -- GAMEPAD_BUY_BANK_SPACE_SCENE:RegisterCallback("StateChange", StateChanged)
- ingame/battleground/battlegroundscoreboard.lua:103 -- self:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
if self.dirty then
self:UpdateAll()
end
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:295 -- CALLBACK_MANAGER:RegisterCallback("TargetFrameCreated", OnTargetFrameCreated)
- ingame/campaign/campaignbonuses.lua:17 -- CAMPAIGN_BONUSES_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
manager.shown = true
manager:RefreshData()
elseif newState == SCENE_FRAGMENT_HIDDEN then
manager.shown = false
end
end)
- 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:33 -- CAMPAIGN_EMPEROR_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
QueryCampaignLeaderboardData()
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()
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:48 -- CAMPAIGN_EMPEROR_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
QueryCampaignLeaderboardData()
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()
manager:UpdateRewardTier()
manager:UpdateScores()
elseif newState == SCENE_FRAGMENT_HIDDEN then
manager.shown = false
end
end)
- ingame/centerscreenannounce/centerscreenannounce.lua:1003 -- data.callbackManager:RegisterCallback(data.callbackRegistration, Callback)
- ingame/centerscreenannounce/centerscreenannounce.lua:1012 -- 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:1019 -- PLAYER_PROGRESS_BAR:RegisterCallback("Complete", function()
self.hasActiveLevelBar = false
self:CheckNowInactive()
end)
- ingame/centerscreenannounce/centerscreenannounce.lua:1108 -- line:RegisterCallback("OnLineComplete", OnLineComplete)
- ingame/championperks/championperks.lua:165 -- CHAMPION_PERKS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
SharedStateChangeCallback(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitializationKeyboard()
self:ApplyKeyboardStyle()
self:RefreshApplicableInputTypeKeybinds()
elseif newState == SCENE_HIDDEN then
WINDOW_MANAGER:SetMouseCursor(MOUSE_CURSOR_DO_NOT_CARE)
end
end)
- ingame/championperks/championperks.lua:177 -- GAMEPAD_CHAMPION_PERKS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
SharedStateChangeCallback(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitializationGamepad()
self:ApplyGamepadStyle()
self:RefreshApplicableInputTypeKeybinds()
DIRECTIONAL_INPUT:Activate(self, control)
elseif newState == SCENE_HIDDEN then
DIRECTIONAL_INPUT:Deactivate(self)
self:SetSelectedConstellation(nil)
self.gamepadChosenConstellationRightTooltip:ClearLines()
end
end)
- ingame/championperks/championstar.lua:494 -- self.pointsSpinner:RegisterCallback("OnValueChanged", self.onValueChangedCallback)
- ingame/chapterupgrade/gamepad/chapterupgrade_gamepad.lua:162 -- ZO_CHAPTER_UPGRADE_MANAGER:RegisterCallback("ChapterUpgradeDataUpdated", function() self:Update() end)
- ingame/chapterupgrade/gamepad/chapterupgrade_gamepad.lua:177 -- 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:303 -- ITEM_PREVIEW_LIST_HELPER_GAMEPAD:RegisterCallback("OnPreviewChanged", RefreshTooltipFunction)
- ingame/chapterupgrade/gamepad/chapterupgrade_gamepad.lua:313 -- ZO_GAMEPAD_CHAPTER_UPGRADE_PREVIEW_SCENE:RegisterCallback("StateChange", PreviewSceneOnStateChange)
- ingame/characterwindow/keyboard/characterwindow_keyboard.lua:333 -- CALLBACK_MANAGER:RegisterCallback("BackpackFullUpdate", OnBackpackFullUpdate)
- ingame/characterwindow/keyboard/characterwindow_keyboard.lua:334 -- CALLBACK_MANAGER:RegisterCallback("BackpackSlotUpdate", OnBackpackSlotUpdate)
- ingame/chatsystem/chathandlers.lua:188 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.INSERT_LINK_EVENT, OnTryInsertLink)
- ingame/chatsystem/chathandlers.lua:193 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, OnLinkClicked)
- ingame/chatsystem/chathandlers.lua:194 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_MOUSE_UP_EVENT, OnLinkClicked)
- ingame/chatsystem/sharedchatsystem.lua:137 -- self.targetAutoComplete:RegisterCallback(ZO_AutoComplete.ON_ENTRY_SELECTED, OnAutoCompleteEntrySelected)
- ingame/chatsystem/sharedchatsystem.lua:1449 -- CHAT_ROUTER:RegisterCallback("FormattedChatMessage", OnFormattedChatMessage)
- ingame/chatsystem/sharedchatsystem.lua:1454 -- CHAT_ROUTER:RegisterCallback("TargetAddedToChannel", OnTargetAddedToChannel)
- ingame/chatsystem/sharedchatsystem.lua:1459 -- CHAT_ROUTER:RegisterCallback("AddCommandPrefix", OnAddCommandPrefix)
- ingame/chatsystem/gamepad/chatmenu_gamepad.lua:267 -- CHAT_ROUTER:RegisterCallback("FormattedChatMessage", AddMessage)
- ingame/chatsystem/gamepad/chatmenu_gamepad.lua:268 -- CALLBACK_MANAGER:RegisterCallback("OnChatSetChannel", DirtyActiveChannel)
- ingame/chatsystem/gamepad/gamepadchatsystem.lua:266 -- CALLBACK_MANAGER:RegisterCallback("QuestTrackerUpdatedOnScreen", function() self:TryFadeOut() end)
- ingame/chatsystem/gamepad/gamepadchatsystem.lua:267 -- CALLBACK_MANAGER:RegisterCallback("QuestTrackerUpdatedOnScreen", function() self:TryFadeIn() end)
- ingame/chatsystem/gamepad/gamepadchatsystem.lua:268 -- CALLBACK_MANAGER:RegisterCallback("QuestTrackerFadedOutOnScreen", function() self:TryFadeIn(FADE_IN_OVER_TRACKER) end)
- ingame/chatsystem/gamepad/gamepadchatsystem.lua:269 -- CALLBACK_MANAGER:RegisterCallback("OnChatChannelUpdated", OnChatChannelUpdated)
- ingame/chatsystem/keyboard/keyboardchatsystem.lua:235 -- CALLBACK_MANAGER:RegisterCallback("NumOnlineFriendsChanged", OnNumOnlineFriendsChanged)
- ingame/chatsystem/keyboard/keyboardchatsystem.lua:236 -- CALLBACK_MANAGER:RegisterCallback("OnChatChannelUpdated", OnChatChannelUpdated)
- ingame/collections/collectionsbook_manager.lua:60 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", OnCollectionUpdated)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:79 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", OnCollectibleUpdated)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:80 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", function(...) self:OnCollectionUpdated(...) end)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:81 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("PrimaryResidenceSet", OnCollectibleUpdated)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:82 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNewStatusCleared", function(...) self:OnCollectibleNewStatusCleared(...) end)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:83 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNotificationRemoved", function(...) self:OnCollectibleNotificationRemoved(...) end)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:84 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnUpdateCooldowns", function(...) self:OnUpdateCooldowns(...) end)
- ingame/collections/keyboard/collectibletile_keyboard.lua:351 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnUpdateCooldowns", self.onUpdateCooldownsCallback)
- ingame/collections/keyboard/collectionsbook.lua:35 -- 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/collections/keyboard/collectionsbook.lua:67 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("UpdateSearchResults", OnUpdateSearchResults)
- ingame/collections/keyboard/collectionsbook.lua:68 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", function(...) self:OnCollectibleUpdated(...) end)
- ingame/collections/keyboard/collectionsbook.lua:69 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", function(...) self:OnCollectionUpdated(...) end)
- ingame/collections/keyboard/collectionsbook.lua:70 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNewStatusCleared", function(...) self:OnCollectibleNewStatusCleared(...) end)
- ingame/collections/keyboard/housingbook_keyboard.lua:40 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("PrimaryResidenceSet", function() self:RefreshList() end)
- ingame/collections/keyboard/outfitstylesbook_keyboard.lua:87 -- ZO_OUTFIT_STYLES_PANEL_KEYBOARD:RegisterCallback("PreviewSlotsChanged", self.updateKeybindCallback)
- ingame/collections/keyboard/outfitstylesbook_keyboard.lua:88 -- 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_SHOWN then
self:OnSceneShown()
end
end)
- ingame/collections/keyboard/specializedcollectionsbook_keyboard.lua:275 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", function(...) self:OnCollectibleUpdated(...) end)
- ingame/collections/keyboard/specializedcollectionsbook_keyboard.lua:276 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", function(...) self:OnCollectionUpdated(...) end)
- ingame/collections/keyboard/specializedcollectionsbook_keyboard.lua:277 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNewStatusCleared", function(...) self:OnCollectibleNewStatusCleared(...) end)
- ingame/collections/keyboard/specializedcollectionsbook_keyboard.lua:278 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNotificationRemoved", function(...) self:OnCollectibleNotificationRemoved(...) end)
- ingame/compass/compass.lua:478 -- FOCUSED_QUEST_TRACKER:RegisterCallback("QuestTrackerTrackingStateChanged", OnQuestTrackerTrackingStateChanged)
- ingame/compass/compass.lua:522 -- C_MAP_HANDLERS:RegisterCallback("RefreshedSingleQuestPins", function(questIndex) self:PerformFullAreaQuestUpdate() end)
- ingame/compass/compass.lua:523 -- C_MAP_HANDLERS:RegisterCallback("RefreshedAllQuestPins", function() self.refreshingJournalIndex = true self:PerformFullAreaQuestUpdate() self.refreshingJournalIndex = false end)
- ingame/contacts/notifications_common.lua:249 -- CALLBACK_MANAGER:RegisterCallback("NotificationsGuildMotDRead", self.pushUpdateCallback)
- ingame/contacts/notifications_common.lua:663 -- pointResetCallbackObject:RegisterCallback(CALLBACK_POINT_RESET_ATTRIBUTE_DECLINED, updatePointsResetList)
- ingame/contacts/notifications_common.lua:664 -- pointResetCallbackObject:RegisterCallback(CALLBACK_POINT_RESET_ATTRIBUTE_FORCE_RESPEC, updatePointsResetList)
- ingame/contacts/notifications_common.lua:666 -- pointResetCallbackObject:RegisterCallback(CALLBACK_POINT_RESET_SKILL_FORCE_RESPEC, updatePointsResetList)
- ingame/contacts/notifications_common.lua:667 -- pointResetCallbackObject:RegisterCallback(CALLBACK_POINT_RESET_SKILL_DECLINED, updatePointsResetList)
- ingame/contacts/notifications_common.lua:828 -- CALLBACK_MANAGER:RegisterCallback("LeaderboardNotifications_On", ShowLeaderBoardNotifications_SettingsChanged)
- ingame/contacts/notifications_common.lua:829 -- CALLBACK_MANAGER:RegisterCallback("LeaderboardNotifications_Off", ShowLeaderBoardNotifications_SettingsChanged)
- ingame/contacts/notifications_common.lua:917 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNotificationNew", function() provider.pushUpdateCallback(EVENT_COLLECTIBLE_NOTIFICATION_NEW) end)
- ingame/contacts/notifications_common.lua:918 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", OnCollectionUpdated)
- ingame/contacts/notifications_common.lua:919 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNotificationRemoved", function() provider.pushUpdateCallback(EVENT_COLLECTIBLE_NOTIFICATION_REMOVED) end)
- ingame/contacts/sociallist_shared.lua:158 -- 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:460 -- 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:477 -- 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/craftingutils.lua:468 -- 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:473 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function() self:Stop() end)
- ingame/crafting/craftingutils.lua:517 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftStarted)
- ingame/crafting/craftingutils.lua:518 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftCompleted)
- ingame/crafting/craftingutils.lua:526 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", UpdateKeyBindDescriptorGroup)
- ingame/crafting/craftingutils.lua:527 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", UpdateKeyBindDescriptorGroup)
- ingame/crafting/craftingutils.lua:541 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftStarted)
- ingame/crafting/craftingutils.lua:542 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftCompleted)
- ingame/crafting/craftingutils.lua:560 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftStarted)
- ingame/crafting/craftingutils.lua:561 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftCompleted)
- ingame/crafting/craftingutils.lua:718 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
g_isCrafting = true
end)
- ingame/crafting/craftingutils.lua:721 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
g_isCrafting = false
end)
- ingame/crafting/sharedalchemy.lua:77 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftCompleted)
- ingame/crafting/sharedcraftinginventory.lua:34 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftingAnimationStateChanged)
- ingame/crafting/sharedcraftinginventory.lua:35 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftingAnimationStateChanged)
- ingame/crafting/sharedprovisioner.lua:73 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftStarted)
- ingame/crafting/sharedprovisioner.lua:74 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftCompleted)
- ingame/crafting/sharedprovisioner.lua:76 -- PROVISIONER_MANAGER:RegisterCallback("RecipeDataUpdated", function()
self:DirtyRecipeList()
end)
- ingame/crafting/smithingcreation_shared.lua:477 -- self.materialQuantitySpinner:RegisterCallback("OnValueChanged", MaterialQuantitySpinner_OnValueChanged)
- ingame/crafting/smithingextraction_shared.lua:102 -- self.extractionSlot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/crafting/gamepad/alchemy_gamepad.lua:31 -- 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)
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.modeKeybindStripDescriptor)
self.modeList:Deactivate()
end
end)
- ingame/crafting/gamepad/alchemy_gamepad.lua:48 -- 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()
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)
end
end)
- ingame/crafting/gamepad/alchemy_gamepad.lua:114 -- newData.slot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/crafting/gamepad/alchemy_gamepad.lua:117 -- newData.slot:RegisterCallback("ItemSlotted", function(bagId, slotIndex)
self:OnSolventSlotted(bagId, slotIndex)
end)
- ingame/crafting/gamepad/alchemy_gamepad.lua:134 -- newData.slot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
self:UpdateReagentTraits()
end)
- ingame/crafting/gamepad/craftingresults_gamepad.lua:208 -- 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:277 -- control.spinner:RegisterCallback("OnValueChanged", function(value)
dialogData.numIterations = value
ZO_GenericGamepadDialog_RefreshKeybinds(entryData.dialog)
end)
- ingame/crafting/gamepad/craftingutils_gamepad.lua:389 -- control.spinner:RegisterCallback("OnValueChanged", function(value)
dialogData.iterations = value
ZO_GenericGamepadDialog_RefreshKeybinds(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:140 -- 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:185 -- 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)
end
end)
- ingame/crafting/gamepad/enchanting_gamepad.lua:196 -- 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:305 -- data.slot:RegisterCallback("ItemsChanged", function()
data.owner:OnSlotChanged()
end)
- ingame/crafting/gamepad/enchanting_gamepad.lua:313 -- data.slot:RegisterCallback("ItemsChanged", function()
data.owner:OnSlotChanged()
end)
- ingame/crafting/gamepad/gamepadprovisioner.lua:36 -- GAMEPAD_PROVISIONER_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
if GetCraftingInteractionType() == CRAFTING_TYPE_PROVISIONING then
TriggerTutorial(TUTORIAL_TRIGGER_PROVISIONING_OPENED)
end
if self.optionsChanged then
self:DirtyRecipeList()
self.optionsChanged = false
end
SYSTEMS:GetObject("craftingResults"):SetCraftingTooltip(self.resultTooltip)
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
SYSTEMS:GetObject("craftingResults"):SetCraftingTooltip(nil)
ZO_GamepadGenericHeader_Deactivate(self.header)
self.recipeList:Deactivate()
-- 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(false)
self:EndRecipePreview()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.mainKeybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
end
end)
- ingame/crafting/gamepad/gamepadprovisioner.lua:79 -- GAMEPAD_PROVISIONER_OPTIONS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.recipeList:RefreshVisible()
self:RefreshOptionList()
self.optionList:Activate()
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.optionsKeybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
self.optionList:Deactivate()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.optionsKeybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
self:SaveFilters()
ZO_SavePlayerConsoleProfile()
end
end)
- ingame/crafting/gamepad/gamepadprovisioner.lua:99 -- sceneGroup:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_GROUP_SHOWING then
ZO_Skills_TieSkillInfoHeaderToCraftingSkill(self.control:GetNamedChild("SkillInfo"), GetCraftingInteractionType())
elseif newState == SCENE_GROUP_HIDDEN then
self:SetDefaultProvisioningSettings()
ZO_Skills_UntieSkillInfoHeaderToCraftingSkill(self.control:GetNamedChild("SkillInfo"))
end
end)
- ingame/crafting/gamepad/gamepadprovisioner.lua:132 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
if SCENE_MANAGER:IsShowing(self.mainSceneName) then
self.recipeList:SetActive(false)
end
end)
- ingame/crafting/gamepad/gamepadprovisioner.lua:138 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
if SCENE_MANAGER:IsShowing(self.mainSceneName) then
self.recipeList:SetActive(true)
end
end)
- ingame/crafting/gamepad/smithingcreation_gamepad.lua:60 -- 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.focus:SetFocusByIndex(self.focus:GetFocus()) -- somehow this fixes the "move focus by 2 the first time" issue when entering the screen...remove when lower-level system fixed
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()
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:105 -- GAMEPAD_SMITHING_CREATION_OPTIONS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:SetupOptionData()
self:RefreshOptionList()
self.optionList:Activate()
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.optionsKeybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
self.optionList:Deactivate()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.optionsKeybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
self:RefreshFilters()
ZO_SavePlayerConsoleProfile()
end
end)
- ingame/crafting/gamepad/smithingcreation_gamepad.lua:124 -- 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:131 -- 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
self:RefreshUniversalStyleItemTooltip()
end
end)
- ingame/crafting/gamepad/smithingextraction_gamepad.lua:56 -- scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self.inventory:Activate()
local tabBarEntries = {}
if not refinementOnly 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:116 -- 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:122 -- 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)
end
end)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:124 -- scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self:SetInventoryActive(true)
-- 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 depricated, 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)
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)
ZO_GamepadGenericHeader_Deactivate(self.owner.header)
self:ClearBoosterRowHighlight()
self.owner:SetEnableSkillBar(false)
self.spinner:Deactivate()
end
end)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:187 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
if SCENE_MANAGER:IsShowing("gamepad_smithing_improvement") then
self.spinner:Deactivate()
end
end)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:193 -- 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:232 -- self.improvementSlot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:249 -- self.spinner:RegisterCallback("OnValueChanged", function(value)
self:RefreshImprovementChance()
KEYBIND_STRIP:UpdateKeybindButtonGroup(self.keybindStripDescriptor)
end)
- ingame/crafting/gamepad/smithingresearch_gamepad.lua:17 -- 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()
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:46 -- 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)
PLAYER_INVENTORY:GenerateListOfVirtualStackedItems(INVENTORY_BANK, IsResearchableItem, virtualInventoryList)
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/smithing_gamepad.lua:34 -- 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:73 -- specificModeSceneGroup:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_GROUP_HIDDEN then
self:ResetMode()
end
end)
- ingame/crafting/gamepad/smithing_gamepad.lua:85 -- 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.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/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)
-- 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
elseif newState == SCENE_HIDDEN then
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.inventory:HandleDirtyEvent()
CRAFTING_RESULTS:SetCraftingTooltip(nil)
end
end)
- ingame/crafting/keyboard/alchemy_keyboard.lua:167 -- self.solventSlot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/crafting/keyboard/alchemy_keyboard.lua:170 -- self.solventSlot:RegisterCallback("ItemSlotted", function(bagId, slotIndex)
self:OnSolventSlotted(bagId, slotIndex)
end)
- ingame/crafting/keyboard/alchemy_keyboard.lua:182 -- slot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
self:UpdateReagentTraits()
end)
- ingame/crafting/keyboard/craftinginventory.lua:17 -- sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/crafting/keyboard/craftingresults_keyboard.lua:310 -- CRAFTING_RESULTS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_HIDDEN then
CRAFTING_RESULTS:ForceCompleteCraftProcess()
CRAFTING_RESULTS:ClearAll()
end
end)
- ingame/crafting/keyboard/enchanting_keyboard.lua:33 -- ENCHANTING_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnModeUpdated()
elseif newState == SCENE_HIDDEN then
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.inventory:HandleDirtyEvent()
CRAFTING_RESULTS:SetCraftingTooltip(nil)
end
end)
- ingame/crafting/keyboard/enchanting_keyboard.lua:137 -- slot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/crafting/keyboard/enchanting_keyboard.lua:187 -- self.extractionSlot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/crafting/keyboard/provisioner.lua:40 -- self.multiCraftSpinner:RegisterCallback("OnValueChanged", function()
self:RefreshRecipeDetails()
end)
- ingame/crafting/keyboard/provisioner.lua:70 -- 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_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:88 -- PROVISIONER_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:ConfigureFromSettings(ZO_Provisioner.PROVISIONING_SETTINGS)
TriggerTutorial(TUTORIAL_TRIGGER_PROVISIONING_OPENED)
end
end)
- ingame/crafting/keyboard/smithingcreation_keyboard.lua:184 -- 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)
end)
- ingame/crafting/keyboard/smithingextraction_keyboard.lua:60 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", UpdateMultiRefineSpinner)
- ingame/crafting/keyboard/smithingextraction_keyboard.lua:61 -- 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/smithing_keyboard.lua:22 -- 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
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/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:1430 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", RefreshActivateCollectibleBindingKeybindings)
- ingame/crowncrates/crowncratespackopening.lua:1431 -- 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:18 -- FENCE_MANAGER:RegisterCallback("FenceOpened", function(enableSell, enableLaunder) self:OnOpened(enableSell, enableLaunder) end)
- ingame/fence/fence_base.lua:19 -- FENCE_MANAGER:RegisterCallback("FenceClosed", function() self:OnClosed() end)
- ingame/fence/fence_base.lua:20 -- FENCE_MANAGER:RegisterCallback("FenceSellSuccess", function() self:OnSellSuccess() end)
- ingame/fence/fence_base.lua:21 -- FENCE_MANAGER:RegisterCallback("FenceLaunderSuccess", function() self:OnLaunderSuccess() end)
- ingame/fence/fence_base.lua:22 -- FENCE_MANAGER:RegisterCallback("FenceInventoryUpdated", function() self:OnInventoryUpdate() end)
- ingame/fence/fence_base.lua:23 -- FENCE_MANAGER:RegisterCallback("FenceUpdated", function(totalSells, sellsUsed, totalLaunders, laundersUsed) self:OnFenceStateUpdated(totalSells, sellsUsed, totalLaunders, laundersUsed) end)
- ingame/fence/fence_base.lua:24 -- FENCE_MANAGER:RegisterCallback("FenceEnterSell", function(totalSells, sellsUsed) self:OnEnterSell(totalSells, sellsUsed) end)
- ingame/fence/fence_base.lua:25 -- FENCE_MANAGER:RegisterCallback("FenceEnterLaunder", function(totalLaunders, laundersUsed) self:OnEnterLaunder(totalLaunders, laundersUsed) end)
- ingame/fence/gamepad/fencewindowcomponent_gamepad.lua:16 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RegisterEvents()
self.list:UpdateList()
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:26 -- 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()
end
end)
- ingame/gamemenu_ingame/gamemenu_ingame.lua:122 -- gameMenuIngameFragment:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
KEYBIND_STRIP:RemoveDefaultExit()
PushActionLayerByName("GameMenu")
elseif(newState == SCENE_FRAGMENT_HIDING) then
RemoveActionLayerByName("GameMenu")
KEYBIND_STRIP:RestoreDefaultExit()
end
end)
- ingame/gamemenu_ingame/gamemenu_ingame.lua:139 -- 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/group/gamepad/zo_groupmenu_gamepad.lua:60 -- GAMEPAD_GROUP_SCENE:RegisterCallback("StateChange", OnStateChanged)
- 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:18 -- KEYBOARD_GROUP_MENU_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:AddKeybindButton(self.keybindStripDescriptor)
if self.currentCategoryFragment then
SCENE_MANAGER:AddFragment(self.currentCategoryFragment)
end
PREFERRED_ROLES:RefreshRoles()
if self.categoryFragmentToShow then
self:SetCurrentCategory(self.categoryFragmentToShow)
self.categoryFragmentToShow = nil
end
elseif newState == SCENE_HIDING then
KEYBIND_STRIP:RemoveKeybindButton(self.keybindStripDescriptor)
end
end)
- ingame/group/keyboard/zo_groupmenu_keyboard.lua:34 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnUpdateGroupStatus", function(...) self:OnUpdateGroupStatus(...) end)
- ingame/group/keyboard/zo_groupmenu_keyboard.lua:40 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnLevelUpdate", 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:62 -- 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:358 -- GUILD_RECRUITMENT_MANAGER:RegisterCallback("GuildPermissionsChanged", OnGuildPermissionChangedCallback)
- ingame/guild/gamepad/zo_guildhome_gamepad.lua:15 -- GAMEPAD_GUILD_HOME_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitializationHome()
self:PerformUpdate()
if self.activeScreenCallback then
self.activeScreenCallback()
end
ZO_GamepadGenericHeader_Activate(self.header)
self.control:RegisterForEvent(EVENT_GUILD_DATA_LOADED, function() self:Update() end)
self.control:RegisterForEvent(EVENT_GUILD_MEMBER_REMOVED, function(_, guildId, displayName) if(self:IsCurrentGuildId(guildId)) then self:Update() end end)
self.control:RegisterForEvent(EVENT_GUILD_MEMBER_ADDED, function(_, guildId, displayName) if(self:IsCurrentGuildId(guildId)) then self:Update() end end)
self.control:RegisterForEvent(EVENT_GUILD_MEMBER_RANK_CHANGED, function(_, guildId, displayName, rankIndex) if(self:IsCurrentGuildId(guildId)) then self:Update() end end)
self.control:RegisterForEvent(EVENT_GUILD_MEMBER_PLAYER_STATUS_CHANGED, function(_, guildId, displayName, oldStatus, newStatus) if(self:IsCurrentGuildId(guildId)) then self:Update() end end)
elseif newState == SCENE_HIDDEN then
ZO_GamepadGenericHeader_Deactivate(self.header)
self:RemoveCurrentPage()
self.control:UnregisterForEvent(EVENT_GUILD_DATA_LOADED)
self.control:UnregisterForEvent(EVENT_GUILD_MEMBER_REMOVED)
self.control:UnregisterForEvent(EVENT_GUILD_MEMBER_ADDED)
self.control:UnregisterForEvent(EVENT_GUILD_MEMBER_RANK_CHANGED)
self.control:UnregisterForEvent(EVENT_GUILD_MEMBER_PLAYER_STATUS_CHANGED)
end
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
end)
- ingame/guild/gamepad/zo_guildhub_gamepad.lua:58 -- GAMEPAD_GUILD_HUB_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnSceneShowing()
elseif newState == SCENE_HIDDEN then
self:OnSceneHidden()
end
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
end)
- ingame/guild/gamepad/zo_guildinfo_gamepad.lua:26 -- 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:36 -- CALLBACK_MANAGER:RegisterCallback("ProfanityFilter_Off", OnProfanityFilterChange)
- ingame/guild/gamepad/zo_guildinfo_gamepad.lua:37 -- CALLBACK_MANAGER:RegisterCallback("ProfanityFilter_On", OnProfanityFilterChange)
- ingame/guild/gamepad/zo_guildranks_gamepad.lua:87 -- 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:69 -- GUILD_HISTORY_SCENE:RegisterCallback("StateChange", function(oldState, state)
if(state == SCENE_SHOWING) then
self.refreshGroup:TryClean()
self:RequestInitialEvents()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif(state == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
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:276 -- helperPanel:RegisterCallback("PanelSelectionEnd", self.exitHelperPanelFunction)
- ingame/guildfinder/gamepad/guildbrowser_gamepad.lua:587 -- dropdown:RegisterCallback("OnHideDropdown", OnComboboxSelectionChanged)
- ingame/guildfinder/gamepad/guildrecruitment_gamepad.lua:44 -- 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:261 -- 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:400 -- self.bidSelector:RegisterCallback("OnValueChanged", function() self:ValidateBidSelectorValue(self.bidSelector:GetValue()) end)
- ingame/help/gamepad/help_categories_gamepad.lua:17 -- HELP_TUTORIAL_CATEGORIES_SCENE_GAMEPAD:RegisterCallback("StateChange", OnStateChanged)
- ingame/help/gamepad/help_entries_gamepad.lua:17 -- HELP_TUTORIALS_ENTRIES_GAMEPAD_SCENE:RegisterCallback("StateChange", OnStateChanged)
- ingame/help/gamepad/help_genericticketsubmission_gamepad.lua:48 -- ZO_HELP_GENERIC_TICKET_SUBMISSION_MANAGER:RegisterCallback("CustomerServiceTicketSubmitted", function (...) self:OnCustomerServiceTicketSubmitted(...) end)
- ingame/help/gamepad/help_genericticketsubmission_gamepad.lua:49 -- ZO_HELP_GENERIC_TICKET_SUBMISSION_MANAGER:RegisterCallback("CustomerServiceFeedbackSubmitted", function (...) self:OnCustomerServiceFeedbackSubmitted(...) end)
- ingame/help/gamepad/help_legal_gamepad.lua:23 -- self.scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindDescriptors)
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindDescriptors)
end
end)
- ingame/help/keyboard/helpaskforhelp_keyboard.lua:96 -- 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:10 -- 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:28 -- ZO_HELP_GENERIC_TICKET_SUBMISSION_MANAGER:RegisterCallback("CustomerServiceTicketSubmitted", function (...)
if fragment:IsShowing() then
self:OnCustomerServiceTicketSubmitted(...)
end
end)
- ingame/help/keyboard/helpmechanicassistancetemplate_keyboard.lua:34 -- fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_HIDDEN then
self:ClearFields()
end
end)
- ingame/help/keyboard/helpsubmitfeedback_keyboard.lua:38 -- 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:53 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, self.OnLinkClicked, self)
- ingame/help/keyboard/help_keyboard.lua:54 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_MOUSE_UP_EVENT, self.OnLinkClicked, self)
- ingame/help/keyboard/help_keyboard.lua:59 -- 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:85 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", function(bagId) self:OnFullInventoryUpdate(bagId) end)
- ingame/housingeditor/furnituremanager_shared.lua:86 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", function(...) self:OnSingleSlotInventoryUpdate(...) end)
- ingame/housingeditor/furnituremanager_shared.lua:87 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", function(...) self:OnCollectionUpdated(...) end)
- ingame/housingeditor/houseinformation_shared.lua:17 -- fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:UpdateHouseInformation()
self:UpdateHousePopulation()
self:UpdateLimits()
end
end)
- ingame/housingeditor/housingeditorhud.lua:258 -- 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 then
SCENE_MANAGER:AddFragment(ZO_HOUSING_EDITOR_HISTORY_FRAGMENT)
end
self:ClearPlacementKeyPresses()
KEYBIND_STRIP:AddKeybindButtonGroup(self.exitKeybindButtonStripDescriptor)
KEYBIND_STRIP:RemoveDefaultExit()
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.currentKeybindDescriptor = nil
end
end)
- ingame/housingeditor/housingeditorhud.lua:283 -- HOUSING_EDITOR_HUD_UI_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnDeferredInitialization()
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()
self:UpdateAxisIndicators()
end
end)
- ingame/housingeditor/housingeditorhud.lua:309 -- HOUSING_EDITOR_HUD_SCENE_GROUP:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_GROUP_HIDDEN then
if GetHousingEditorMode() ~= HOUSING_EDITOR_MODE_BROWSE then
HousingEditorRequestModeChange(HOUSING_EDITOR_MODE_DISABLED)
PlaySound(SOUNDS.HOUSING_EDITOR_CLOSED)
end
end
end)
- ingame/housingeditor/housingeditorhud.lua:2574 -- ZO_HOUSING_EDITOR_HISTORY_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:UpdateUndoStack()
end
end)
- 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:106 -- ZO_HOUSE_PREVIEW_MANAGER:RegisterCallback("OnHouseTemplateDataUpdated", OnHouseTemplateDataUpdated)
- ingame/housingeditor/housingpreview_shared.lua:107 -- ZO_HOUSE_PREVIEW_MANAGER:RegisterCallback("OnPlayerActivated", OnPlayerActivated)
- 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/keyboard/furnitureclasses_keyboard.lua:27 -- 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/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
self:OnDeferredInitialization()
self:OnShowing()
elseif newState == SCENE_HIDING then
self:OnHiding()
elseif newState == SCENE_HIDDEN then
self.menuBarFragment:Clear()
end
end)
- ingame/hud/hudequipmentstatus.lua:158 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", OnInventorySingleSlotUpdate)
- ingame/hud/hudequipmentstatus.lua:174 -- HUD_EQUIPMENT_STATUS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
self:OnShow()
end
end)
- ingame/hud/hudtracker_base.lua:24 -- 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:61 -- FOCUSED_QUEST_TRACKER:RegisterCallback("QuestTrackerFragmentStateChange", OnQuestTrackerFragmentStateChanged)
- ingame/interactwindow/gamepad/interactwindow_gamepad.lua:36 -- interactScene:RegisterCallback("StateChange", OnStateChange)
- ingame/interactwindow/keyboard/interactwindow_keyboard.lua:43 -- interactScene:RegisterCallback("StateChange", OnStateChange)
- ingame/inventory/inventory.lua:669 -- INVENTORY_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
local UPDATE_EVEN_IF_HIDDEN = true
if self.isListDirty[INVENTORY_BACKPACK] or self.isListDirty[INVENTORY_QUEST_ITEM] then
self:UpdateList(INVENTORY_BACKPACK, UPDATE_EVEN_IF_HIDDEN)
self:UpdateList(INVENTORY_QUEST_ITEM, UPDATE_EVEN_IF_HIDDEN)
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
ZO_InventorySlot_RemoveMouseOverKeybinds()
ZO_PlayerInventory_EndSearch(ZO_PlayerInventorySearchBox)
self:ClearNewStatusOnItemsThePlayerHasSeen(INVENTORY_BACKPACK)
end
end)
- ingame/inventory/inventory.lua:689 -- SHARED_INVENTORY:RegisterCallback("SlotAdded", function(bagId, slotIndex, newSlotData)
local inventory = self.bagToInventoryType[bagId]
if inventory then
self:OnInventoryItemAdded(inventory, bagId, slotIndex, newSlotData)
end
end)
- ingame/inventory/inventory.lua:696 -- SHARED_INVENTORY:RegisterCallback("SlotRemoved", function(bagId, slotIndex, oldSlotData)
local inventory = self.bagToInventoryType[bagId]
if inventory then
self:OnInventoryItemRemoved(inventory, bagId, slotIndex, oldSlotData)
end
end)
- ingame/inventory/inventory.lua:728 -- sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/inventory/inventory.lua:842 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", OnFullInventoryUpdated)
- ingame/inventory/inventory.lua:843 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", function(bagId, slotIndex) self:OnInventorySlotUpdated(bagId, slotIndex) end)
- ingame/inventory/inventory.lua:874 -- SHARED_INVENTORY:RegisterCallback("FullQuestUpdate", OnQuestsUpdated)
- ingame/inventory/inventory.lua:875 -- SHARED_INVENTORY:RegisterCallback("SingleQuestUpdate", OnSingleQuestUpdated)
- ingame/inventory/inventory.lua:2166 -- BANK_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
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:2250 -- bankScene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RefreshAllInventorySlots(INVENTORY_BANK)
bankFragmentBar:SelectFragment(SI_BANK_WITHDRAW)
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()
ZO_PlayerInventory_EndSearch(ZO_PlayerBankSearchBox)
bankFragmentBar:Clear()
end
end)
- ingame/inventory/inventory.lua:2319 -- HOUSE_BANK_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
if self.isListDirty[INVENTORY_HOUSE_BANK] then
local UPDATE_EVEN_IF_HIDDEN = true
self:UpdateList(INVENTORY_HOUSE_BANK, UPDATE_EVEN_IF_HIDDEN)
end
self:UpdateFreeSlots(INVENTORY_HOUSE_BANK)
end
end)
- ingame/inventory/inventory.lua:2391 -- 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 }
self:RefreshAllInventorySlots(INVENTORY_HOUSE_BANK)
self:UpdateFreeSlots(INVENTORY_HOUSE_BANK)
self:UpdateFreeSlots(INVENTORY_BACKPACK)
houseBankFragmentBar:SelectFragment(SI_BANK_WITHDRAW)
TriggerTutorial(TUTORIAL_TRIGGER_HOME_STORAGE_OPENED)
elseif newState == SCENE_HIDDEN then
ZO_InventorySlot_RemoveMouseOverKeybinds()
ZO_PlayerInventory_EndSearch(ZO_HouseBankSearchBox)
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:2421 -- GUILD_BANK_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
self:RefreshMoney()
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:2518 -- guildBankScene:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
self:UpdateFreeSlots(INVENTORY_BACKPACK)
guildBankFragmentBar:SelectFragment(SI_BANK_WITHDRAW)
ZO_SharedInventory_SelectAccessibleGuildBank(self.lastSuccessfulGuildBankId)
elseif(newState == SCENE_HIDDEN) then
guildBankFragmentBar:Clear()
ZO_InventorySlot_RemoveMouseOverKeybinds()
ZO_PlayerInventory_EndSearch(ZO_PlayerBankSearchBox)
end
end)
- ingame/inventory/inventory.lua:2700 -- CRAFT_BAG_FRAGMENT:RegisterCallback("StateChange", OnStateChange)
- ingame/inventory/inventorymenubar.lua:32 -- 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:194 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", function() self:UpdateInventoryKeybinds() end)
- ingame/inventory/inventoryslot.lua:2469 -- CALLBACK_MANAGER:RegisterCallback("WornSlotUpdate", ZO_InventorySlot_HandleInventoryUpdate)
- ingame/inventory/inventoryslot.lua:2470 -- 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:125 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/gamepadinventory.lua:126 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/gamepadinventory.lua:128 -- SHARED_INVENTORY:RegisterCallback("FullQuestUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/gamepadinventory.lua:129 -- SHARED_INVENTORY:RegisterCallback("SingleQuestUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/guildbank_gamepad.lua:353 -- self:GetListFragment(self.withdrawList):RegisterCallback("StateChange", self.OnWithdrawDepositStateChanged)
- ingame/inventory/gamepad/guildbank_gamepad.lua:354 -- self:GetListFragment(self.depositList):RegisterCallback("StateChange", self.OnWithdrawDepositStateChanged)
- ingame/inventory/gamepad/guildbank_gamepad.lua:393 -- 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:415 -- 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:127 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/inventorylist_gamepad.lua:128 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", OnSingleSlotInventoryUpdate)
- ingame/keybindings/keyboard/keybindings.lua:28 -- KEYBINDINGS_FRAGMENT:RegisterCallback("StateChange", OnStateChanged)
- ingame/leaderboards/leaderboards_shared.lua:163 -- LEADERBOARD_LIST_MANAGER:RegisterCallback("LeaderboardRankTypeChanged", function() self:RepopulateFilterDropdown() end)
- ingame/leaderboards/leaderboards_shared.lua:164 -- LEADERBOARD_LIST_MANAGER:RegisterCallback("OnLeaderboardMasterListUpdated", function()
if self.scene:IsShowing() then
self:OnLeaderboardDataChanged(self.leaderboardObject)
end
end)
- ingame/leaderboards/gamepad/battlegroundleaderboards_gamepad.lua:12 -- GAMEPAD_BATTLEGROUND_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateAllInfo()
local NO_NAME, NO_ICON
GAMEPAD_LEADERBOARDS:SetActiveCampaign(NO_NAME, NO_ICON)
end
end)
- ingame/leaderboards/gamepad/campaignleaderboards_gamepad.lua:84 -- GAMEPAD_CAMPAIGN_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.selector.dataRegistration:Refresh()
self:SetActiveCampaign()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self.selector.dataRegistration:Refresh()
end
end)
- ingame/leaderboards/gamepad/housingleaderboards_gamepad.lua:12 -- GAMEPAD_HOUSING_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateAllInfo()
local NO_NAME, NO_ICON
GAMEPAD_LEADERBOARDS:SetActiveCampaign(NO_NAME, NO_ICON)
end
end)
- ingame/leaderboards/gamepad/raidleaderboards_gamepad.lua:12 -- GAMEPAD_RAID_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateAllInfo()
local NO_NAME, NO_ICON
GAMEPAD_LEADERBOARDS:SetActiveCampaign(NO_NAME, NO_ICON)
end
end)
- ingame/leaderboards/keyboard/battlegroundleaderboards_keyboard.lua:18 -- fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateAllInfo()
end
end)
- ingame/leaderboards/keyboard/campaignleaderboards_keyboard.lua:128 -- 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/housingleaderboards_keyboard.lua:18 -- HOUSING_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateAllInfo()
QueryHomeShowLeaderboardData()
end
end)
- ingame/leaderboards/keyboard/leaderboards_keyboard.lua:28 -- LEADERBOARDS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:QueryData()
end
end)
- ingame/leaderboards/keyboard/leaderboards_keyboard.lua:88 -- LEADERBOARDS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnLeaderboardSelected(self:GetSelectedLeaderboardData())
self:RefreshData()
if self.leaderboardObject then
self:ActivateLeaderboard()
end
end
end)
- ingame/leaderboards/keyboard/raidleaderboards_keyboard.lua:25 -- RAID_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateAllInfo()
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:66 -- 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:168 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", OnCollectionUpdated)
- ingame/lfg/zo_activityfindertemplate_shared.lua:43 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnUpdateLocationData", function()
self:RefreshView()
end)
- ingame/lfg/zo_activityfindertemplate_shared.lua:46 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnActivityFinderStatusUpdate", function(status) self:OnActivityFinderStatusUpdate(status) end)
- ingame/lfg/zo_activityfindertemplate_shared.lua:47 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnHandleLFMPromptResponse", function() self:OnHandleLFMPromptResponse() end)
- ingame/lfg/zo_activityfindertemplate_shared.lua:48 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnLevelUpdate", function() self:RefreshFilters() end)
- ingame/lfg/zo_activityfindertemplate_shared.lua:49 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnCooldownsUpdate", function() self:OnCooldownsUpdate() end)
- ingame/lfg/zo_activityfindertemplate_shared.lua:50 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnCurrentCampaignChanged", function()
self:RefreshFilters()
end)
- ingame/lfg/gamepad/zo_activityfinderroot_gamepad.lua:24 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnLevelUpdate", RefreshCategories)
- ingame/lfg/gamepad/zo_activityfindertemplate_gamepad.lua:144 -- 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_grouprolesbar_gamepad.lua:83 -- 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:102 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnActivityFinderStatusUpdate", OnActivityFinderStatusUpdate)
- ingame/lfg/keyboard/zo_activityfindertemplate_keyboard.lua:118 -- self.fragment:RegisterCallback("StateChange", OnStateChange)
- ingame/lfg/keyboard/zo_activityfindertemplate_keyboard.lua:126 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnSelectionsChanged", function(...) self:RefreshJoinQueueButton(...) end)
- ingame/lockpick/lockpick.lua:118 -- LOCK_PICK_SCENE:RegisterCallback("StateChange", OnSceneStateChange)
- ingame/lockpick/lockpick.lua:121 -- 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/gamepad/bookset_gamepad.lua:16 -- BOOKSET_SCENE_GAMEPAD:RegisterCallback("StateChange", OnStateChanged)
- ingame/lorelibrary/gamepad/library_gamepad.lua:15 -- LORE_LIBRARY_SCENE_GAMEPAD:RegisterCallback("StateChange", OnStateChanged)
- ingame/lorelibrary/keyboard/lorelibrary_keyboard.lua:31 -- LORE_LIBRARY_SCENE:RegisterCallback("StateChange", OnStateChanged)
- ingame/lorereader/lorereader.lua:80 -- LORE_READER_INVENTORY_SCENE:RegisterCallback("StateChange", OnPCSceneStateChange)
- ingame/lorereader/lorereader.lua:81 -- LORE_READER_LORE_LIBRARY_SCENE:RegisterCallback("StateChange", OnPCSceneStateChange)
- ingame/lorereader/lorereader.lua:82 -- LORE_READER_INTERACTION_SCENE:RegisterCallback("StateChange", OnPCSceneStateChange)
- ingame/lorereader/lorereader.lua:83 -- GAMEPAD_LORE_READER_INVENTORY_SCENE:RegisterCallback("StateChange", OnGamepadSceneStateChange)
- ingame/lorereader/lorereader.lua:84 -- GAMEPAD_LORE_READER_LORE_LIBRARY_SCENE:RegisterCallback("StateChange", OnGamepadSceneStateChange)
- ingame/lorereader/lorereader.lua:85 -- GAMEPAD_LORE_READER_INTERACTION_SCENE:RegisterCallback("StateChange", OnGamepadSceneStateChange)
- ingame/mail/gamepad/mailinbox_gamepad.lua:98 -- 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_HIDDEN then
self:OnHidden()
end
end)
- ingame/mail/gamepad/mailmanager_gamepad.lua:210 -- CALLBACK_MANAGER:RegisterCallback("OnGamepadDialogHidden", function()
if self.deferredKeybindStripDescriptor ~= false then
self:SwitchToKeybind(self.deferredKeybindStripDescriptor)
end
end
)
- ingame/mail/gamepad/mailsend_gamepad.lua:176 -- self.goldSlider:RegisterCallback("OnValueChanged", function() MAIL_MANAGER_GAMEPAD:RefreshKeybind() end)
- ingame/mail/gamepad/mailsend_gamepad.lua:181 -- 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_MailSendShared_SavePendingMail()
self:OnHidden()
end
end)
- ingame/mail/keyboard/mailinbox_keyboard.lua:37 -- 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
ConnectMoneyEvents()
KEYBIND_STRIP:AddKeybindButtonGroup(manager.staticKeybindStripDescriptor)
ZO_MailSendShared_RestorePendingMail(manager)
elseif(newState == SCENE_SHOWN) then
if(manager.pendingMailChanged) then
ZO_Dialogs_ShowDialog("MAIL_ATTACHMENTS_CHANGED")
manager.pendingMailChanged = nil
end
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(manager.staticKeybindStripDescriptor)
ZO_MailSendShared_SavePendingMail()
DisconnectMoneyEvents()
end
end)
- ingame/mainmenu/zo_mainmenu_manager.lua:149 -- self:RegisterCallback("OnBlockingSceneActivated", callback, arg)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:495 -- 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:501 -- MAIN_MENU_MANAGER:RegisterCallback("OnPlayerStateUpdate", function() self:UpdateEntryEnabledStates() end)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:520 -- MAIN_MENU_MANAGER:RegisterCallback("OnBlockingSceneCleared", OnBlockingSceneCleared)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:681 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", MarkNewnessDirty)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:682 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", MarkNewnessDirty)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:685 -- GIFT_INVENTORY_MANAGER:RegisterCallback("GiftListsChanged", MarkNewnessDirty)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:850 -- 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:393 -- MAIN_MENU_MANAGER:RegisterCallback("OnPlayerStateUpdate", function() self:UpdateCategories() end)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:394 -- MAIN_MENU_MANAGER:RegisterCallback("OnBlockingSceneActivated", OnBlockingSceneActivated)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:395 -- MAIN_MENU_MANAGER:RegisterCallback("OnBlockingSceneCleared", OnBlockingSceneCleared)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:468 -- 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:545 -- 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:603 -- 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/worldmap.lua:1372 -- WORLD_MAP_QUEST_BREADCRUMBS:RegisterCallback("QuestAvailable", function(...) mapPins:OnQuestAvailable(...) end)
- ingame/map/worldmap.lua:1373 -- WORLD_MAP_QUEST_BREADCRUMBS:RegisterCallback("QuestRemoved", function(...) mapPins:OnQuestRemoved(...) end)
- ingame/map/worldmap.lua:1377 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapModeChanged", OnWorldMapModeChanged)
- ingame/map/worldmap.lua:5060 -- 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:5079 -- 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/worldmap.lua:5386 -- FOCUSED_QUEST_TRACKER:RegisterCallback("QuestTrackerAssistStateChanged", OnAssistStateChanged)
- ingame/map/worldmap.lua:5387 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", OnCollectionUpdated)
- ingame/map/worldmap.lua:5389 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function(wasNavigateIn)
ZO_WorldMapMouseoverName:SetText("")
ZO_WorldMapMouseOverDescription:SetText("")
ZO_WorldMapMouseoverName.owner = ""
UpdateMovingPins()
UpdateMapCampaign()
ZO_WorldMap_UpdateMap()
g_mapRefresh:RefreshAll("group")
g_mapPanAndZoom:OnWorldMapChanged(wasNavigateIn)
ZO_WorldMap_MarkKeybindStripsDirty()
g_dataRegistration:Refresh()
TryTriggeringTutorials()
end)
- ingame/map/worldmap.lua:5426 -- GAMEPAD_WORLD_MAP_INFO_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING or newState == SCENE_FRAGMENT_HIDDEN then
FloorLevelNavigationUpdate()
end
end)
- ingame/map/worldmap.lua:5440 -- WORLD_MAP_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
UpdateMovingPins()
g_dataRegistration:Refresh()
g_mapPanAndZoom:OnWorldMapShowing()
WORLD_MAP_MANAGER:OnShowing()
TryTriggeringTutorials()
elseif newState == SCENE_FRAGMENT_HIDING then
HideAllTooltips()
ResetMouseOverPins()
WORLD_MAP_MANAGER:OnHiding()
elseif newState == SCENE_FRAGMENT_HIDDEN then
g_dataRegistration:Refresh()
WORLD_MAP_MANAGER:OnHidden()
end
end)
- ingame/map/worldmap.lua:5799 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("AntiquitiesUpdated", RefreshAntiquityDigSites)
- ingame/map/worldmap.lua:5800 -- ANTIQUITY_DATA_MANAGER:RegisterCallback("SingleAntiquityDigSitesUpdated", RefreshAntiquityDigSites)
- ingame/map/worldmap.lua:5803 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function()
self:OnWorldMapChanged()
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:133 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", OnMapChanged)
- ingame/map/worldmapfilters_shared.lua:134 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapModeChanged", OnMapChanged)
- ingame/map/worldmaphouses_shared.lua:14 -- 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:32 -- 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:15 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function()
self:UpdateSelectedMap()
end)
- ingame/map/worldmaplocations_shared.lua:26 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapModeChanged", UpdateForModeChange)
- ingame/map/worldmapquestbreadcrumbs.lua:21 -- 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:218 -- 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:230 -- 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:110 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function()
ZO_GamepadGenericHeader_Refresh(self.header, self.baseHeaderData)
end)
- ingame/map/gamepad/worldmapkey_gamepad.lua:56 -- 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:15 -- CALLBACK_MANAGER:RegisterCallback("OnShowWorldMapTooltip", function() self:UpdateSideContentVisibility(SHOWINGTOOLTIP) end)
- ingame/map/gamepad/worldmaplocations_gamepad.lua:16 -- CALLBACK_MANAGER:RegisterCallback("OnHideWorldMapTooltip", function() self:UpdateSideContentVisibility(NOT_SHOWINGTOOLTIP) end)
- ingame/map/gamepad/worldmaplocations_gamepad.lua:23 -- 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:34 -- 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:143 -- 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:149 -- 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:95 -- 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:99 -- keepInfoObject:RegisterCallback("WorldMapKeepInfoHidden", function()
self:GetFragment():SetHiddenForReason(ZO_WORLD_MAP_ZONE_STORY_HIDE_REASONS.KEEP_INFO_SHOWN, false)
end)
- ingame/outfits/outfit_manager.lua:672 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", OnCollectionUpdated)
- ingame/outfits/outfit_manager.lua:724 -- outfitManipulator:RegisterCallback("PendingDataChanged", function(outfitSlotIndex) self:OnOutfitPendingDataChanged(outfitIndex, outfitSlotIndex) end)
- ingame/outfits/keyboard/outfitstylespanel_keyboard.lua:35 -- ZO_OUTFIT_MANAGER:RegisterCallback("OptionsInfoAvailable", function() ZO_CheckButton_SetCheckState(self.showLockedCheckBox, ZO_OUTFIT_MANAGER:GetShowLocked()) end)
- ingame/outfits/keyboard/outfitstylespanel_keyboard.lua:38 -- 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:80 -- ZO_OUTFIT_MANAGER:RegisterCallback("ShowLockedChanged", function()
ZO_CheckButton_SetCheckState(self.showLockedCheckBox, ZO_OUTFIT_MANAGER:GetShowLocked())
RefreshVisible()
end)
- ingame/outfits/keyboard/outfitstylespanel_keyboard.lua:172 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("UpdateSearchResults", RefreshVisible)
- ingame/outfits/keyboard/outfitstylespanel_keyboard.lua:173 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", RefreshVisible)
- ingame/outfits/keyboard/outfitstylespanel_keyboard.lua:174 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNewStatusCleared", OnCollectibleNewStatusCleared)
- ingame/outfits/keyboard/outfitstylespanel_keyboard.lua:175 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleCategoryNewStatusCleared", OnCollectibleCategoryNewStatusCleared)
- ingame/outfits/keyboard/outfitstylespanel_keyboard.lua:184 -- ZO_OUTFIT_MANAGER:RegisterCallback("PendingDataChanged", OnOutfitPendingDataChanegd)
- ingame/playeremote/playeremote.lua:13 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", function(...) self:OnCollectibleUpdated(...) end)
- ingame/playeremote/playeremote.lua:14 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", function(...) self:OnCollectionUpdated(...) end)
- ingame/playeremote/gamepad/playeremote_gamepad.lua:348 -- 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:97 -- keyboardPlayerEmoteFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
TriggerTutorial(TUTORIAL_TRIGGER_EMOTES_MENU_OPENED)
if self.isDirty then
self:UpdateCategories()
end
end
end)
- ingame/playeremote/keyboard/playeremote_keyboard.lua:107 -- PLAYER_EMOTE_MANAGER:RegisterCallback("EmoteListUpdated",
function()
if keyboardPlayerEmoteFragment:IsShowing() then
self:UpdateCategories()
else
self:MarkDirty()
end
end)
- ingame/playertoplayer/playertoplayer.lua:608 -- GIFT_INVENTORY_MANAGER:RegisterCallback("GiftListsChanged", OnGiftsUpdated)
- ingame/quickslot/quickslot.lua:86 -- manager.sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/quickslot/quickslot.lua:226 -- QUICKSLOT_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
manager:UpdateList()
manager:UpdateFreeSlots()
end
end)
- ingame/quickslot/quickslot.lua:234 -- QUICKSLOT_CIRCLE_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
manager.quickSlotState = true
elseif newState == SCENE_FRAGMENT_HIDDEN then
manager.quickSlotState = false
-- ensure our keybinds are removed since OnMouseExitQuickSlot may come late
KEYBIND_STRIP:RemoveKeybindButtonGroup(manager.keybindStripDescriptor)
end
end)
- ingame/quickslot/quickslot.lua:244 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", RefreshQuickslotWindow)
- ingame/quickslot/quickslot.lua:245 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", RefreshQuickslotWindow)
- ingame/quickslot/quickslot.lua:247 -- SHARED_INVENTORY:RegisterCallback("FullQuestUpdate", RefreshQuickslotWindow)
- ingame/quickslot/quickslot.lua:248 -- SHARED_INVENTORY:RegisterCallback("SingleQuestUpdate", RefreshQuickslotWindow)
- ingame/quickslot/gamepad/gamepadquickslot.lua:45 -- GAMEPAD_QUICKSLOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
if self.assignmentType == QUICKSLOT_ASSIGNMENT_TYPE_ITEM then
--Used the item and hit Assign at the same time...
if SHARED_INVENTORY:GenerateSingleSlotData(self.itemToSlotId, self.itemToSlotIndex) == nil then
SCENE_MANAGER:HideCurrentScene()
return
end
end
self:RefreshHeader()
self:ResetActiveIcon()
self:ShowQuickslotMenu()
KEYBIND_STRIP:AddKeybindButtonGroup(self.navigationKeybindDescriptor)
elseif newState == SCENE_HIDING then
self.radialMenu:Clear()
elseif newState == SCENE_HIDDEN then
self.activeIcon = nil
self.slotIndexForAnim = nil
self.enteringMenuUnslottedItem = false
self.radialMenu.activeIcon:SetHidden(false)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.navigationKeybindDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.assignKeybindDescriptor)
end
end)
- ingame/repair/repairwindow.lua:76 -- self.sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/restyle/gamepad/outfit_selector_gamepad.lua:58 -- GAMEPAD_OUTFITS_SELECTION_SCENE: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)
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.currentOutfitIndex)
else
UnequipOutfit()
end
end
end)
- ingame/restyle/gamepad/outfit_selector_gamepad.lua:75 -- ZO_OUTFIT_MANAGER:RegisterCallback("RefreshOutfitName", OnRefreshOutfitName)
- ingame/restyle/gamepad/outfit_selector_gamepad.lua:92 -- GAMEPAD_OUTFITS_SELECTOR_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PreviewOutfit(self.currentOutfitIndex)
end
end)
- ingame/restyle/gamepad/outfit_selector_gamepad.lua:99 -- 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/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: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/gamepad/restyle_station_gamepad.lua:28 -- 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/restyle_station_gamepad.lua:49 -- ZO_OUTFIT_MANAGER:RegisterCallback("PendingDataChanged", OnOutfitPendingDataChanged)
- ingame/restyle/gamepad/restyle_station_gamepad.lua:414 -- self.outfitsPanel:RegisterCallback("PanelSelectionEnd", function(...) self:OnPanelSelectionEnd(...) end)
- ingame/restyle/gamepad/restyle_station_gamepad.lua:420 -- self.dyeingPanel:RegisterCallback("PanelSelectionEnd", function(...) self:OnPanelSelectionEnd(...) end)
- ingame/restyle/gamepad/restyle_station_gamepad.lua:421 -- self.dyeingPanel:RegisterCallback("DyeSelected", function(...) self:OnDyeSelected(...) end)
- ingame/restyle/gamepad/restyle_station_gamepad.lua:422 -- self.dyeingPanel:RegisterCallback("ToolSelected", function(...) self:OnDyeToolSelected(...) end)
- ingame/restyle/gamepad/restyle_station_gamepad.lua:423 -- self.dyeingPanel:RegisterCallback("PendingDyesChanged", function(...) self:OnPendingDyesChanged(...) end)
- ingame/restyle/gamepad/restyle_station_gamepad.lua:424 -- self.dyeingPanel:RegisterCallback("SavedSetSlotChanged", function(...) self:OnSavedSetSlotChanged(...) end)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:68 -- 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:105 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", function() self:OnCollectionUpdated() end)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:106 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNewStatusCleared", function(...) self:OnCollectibleNewStatusCleared(...) end)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:107 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleCategoryNewStatusCleared", function(...) self:OnCollectibleCategoryNewStatusCleared(...) end)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:263 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("UpdateSearchResults", self.onUpdateSearchResultsCallback)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:270 -- ZO_DYEING_MANAGER:RegisterCallback("UpdateSearchResults", self.onUpdateSearchResultsCallback)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:295 -- ZO_OUTFIT_STYLES_PANEL_KEYBOARD:RegisterCallback("MouseTargetChanged", self.updateKeybindCallback)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:555 -- ZO_RESTYLE_SHEET_WINDOW_KEYBOARD:RegisterCallback("SheetSlotRefreshed", self.updateKeybindCallback)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:559 -- ZO_RESTYLE_SHEET_WINDOW_KEYBOARD:RegisterCallback("SheetMouseoverDataChanged", self.updateKeybindCallback)
- ingame/restyle/keyboard/restylecommon_keyboard.lua:560 -- ZO_RESTYLE_SHEET_WINDOW_KEYBOARD:RegisterCallback("NavigateToCollectibleCategoryFromRestyleSlotData", self.navigateToCollectibleCategoryCallback)
- ingame/restyle/keyboard/restylesheetwindow_keyboard.lua:37 -- 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:40 -- ZO_OUTFIT_MANAGER:RegisterCallback("RefreshOutfitName", OnRefreshOutfitName)
- ingame/restyle/keyboard/restylesheetwindow_keyboard.lua:41 -- ZO_OUTFIT_MANAGER:RegisterCallback("RefreshEquippedOutfitIndex", UpdateEquippedOutfit)
- ingame/restyle/keyboard/restylesheet_keyboard.lua:384 -- 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:726 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleUpdated", OnCollectibleUpdated)
- ingame/restyle/keyboard/restylesheet_keyboard.lua:727 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", OnCollectionUpdated)
- ingame/restyle/keyboard/restylesheet_keyboard.lua:840 -- ZO_OUTFIT_MANAGER:RegisterCallback("PendingDataChanged", OnPendingDataChanged)
- ingame/restyle/keyboard/restylestation_keyboard.lua:129 -- ZO_RESTYLE_SHEET_WINDOW_KEYBOARD:RegisterCallback("SheetChanged", self.onSheetChangedCallback)
- ingame/restyle/keyboard/restylestation_keyboard.lua:130 -- ZO_RESTYLE_SHEET_WINDOW_KEYBOARD:RegisterCallback("DyeSlotClicked", self.onDyeSlotClickedCallback)
- ingame/restyle/keyboard/restylestation_keyboard.lua:131 -- ZO_RESTYLE_SHEET_WINDOW_KEYBOARD:RegisterCallback("ModeSelectorDropdownChanged", self.updateKeybindCallback)
- ingame/retrait/zo_retraitstation_base.lua:25 -- 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_base.lua:38 -- ZO_RETRAIT_STATION_MANAGER:RegisterCallback("OnRetraitDirtyEvent", function(...) self:HandleDirtyEvent(...) end)
- ingame/retrait/zo_retraitstation_retrait_base.lua:16 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function(...) self:OnRetraitAnimationsStarted(...) end)
- ingame/retrait/zo_retraitstation_retrait_base.lua:17 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function(...) self:OnRetraitAnimationsStopped(...) end)
- ingame/retrait/gamepad/zo_retraitstation_retrait_gamepad.lua:13 -- 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/zo_retraitstation_retrait_keyboard.lua:51 -- self.retraitSlot:RegisterCallback("ItemsChanged", function()
self:OnSlotChanged()
end)
- ingame/scenes/ingamefragments.lua:439 -- fragment:RegisterCallback("StateChange", function(...) fragment:OnStateChange(...) end)
- ingame/scenes/ingamefragments.lua:983 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
fragment:Refresh()
end)
- ingame/scenes/ingamefragments.lua:986 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
fragment:Refresh()
end)
- ingame/scenes/keyboard/keyboardingamefragmentgroups.lua:20 -- helpModalUnderlayFragment:RegisterCallback("StateChange", function(oldState, newState)
local wasVisible = oldState ~= SCENE_FRAGMENT_HIDDEN
local isVisible = newState ~= SCENE_FRAGMENT_HIDDEN
if wasVisible ~= isVisible then
HELP_MANAGER:OnOverlayVisibilityChanged(isVisible)
end
end)
- ingame/screenshotmode/gamepad/screenshotmode_gamepad.lua:21 -- GAMEPAD_SCREENSHOT_MODE_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.hideKeybindsAtS = GetGameTimeSeconds() + HIDE_DURATION_S
elseif newState == SCENE_HIDDEN then
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:659 -- SKILLS_AND_ACTION_BAR_MANAGER:RegisterCallback("SkillPointAllocationModeChanged", ResetAllHotbars)
- ingame/skills/actionbarassignmentmanager.lua:660 -- SKILLS_AND_ACTION_BAR_MANAGER:RegisterCallback("RespecStateReset", ResetAllHotbars)
- ingame/skills/actionbarassignmentmanager.lua:666 -- SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", OnSkillsDataFullUpdate)
- ingame/skills/actionbarassignmentmanager.lua:701 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("PurchasedChanged", OnSkillPurchaseStateChanged)
- ingame/skills/actionbarassignmentmanager.lua:717 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("SkillProgressionKeyChanged", OnSkillProgressionStateChanged)
- ingame/skills/actionbarassignmentmanager.lua:730 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("OnSkillsCleared", OnSkillsCleared)
- ingame/skills/sharedskills.lua:76 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineUpdated", skillInfoHeaderControl.updateSkillInfoHeaderCallback)
- ingame/skills/sharedskills.lua:85 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", skillInfoHeaderControl.craftingAnimationsStoppedCallback)
- ingame/skills/sharedskills.lua:90 -- SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", skillInfoHeaderControl.updateSkillInfoHeaderCallback)
- ingame/skills/skillpointallocationmanager.lua:538 -- SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", function() self:OnFullSystemUpdated() end)
- ingame/skills/skillpointallocationmanager.lua:539 -- SKILLS_AND_ACTION_BAR_MANAGER:RegisterCallback("SkillPointAllocationModeChanged", function(...) self:OnSkillPointAllocationModeChanged(...) end)
- ingame/skills/skillpointallocationmanager.lua:540 -- 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/gamepad/gamepadassignableactionbar.lua:33 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("SlotUpdated", function(...) self:OnSlotUpdated(...) end)
- ingame/skills/gamepad/gamepadassignableactionbar.lua:34 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("CurrentHotbarUpdated", function(...) self:OnCurrentHotbarUpdated(...) end)
- ingame/skills/gamepad/gamepadskills.lua:31 -- 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()
self.assignableActionBar:Refresh()
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:88 -- 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())
self.assignableActionBar:Refresh()
--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:140 -- GAMEPAD_SKILLS_BUILD_PLANNER_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.modeBeforeBuildPlannerShow = self.mode
if self.modeBeforeBuildPlannerShow == ZO_GAMEPAD_SKILLS_SKILL_LIST_BROWSE_MODE then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.categoryKeybindStripDescriptor)
elseif self.modeBeforeBuildPlannerShow == ZO_GAMEPAD_SKILLS_ABILITY_LIST_BROWSE_MODE then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.lineFilterKeybindStripDescriptor)
end
self:SetMode(ZO_GAMEPAD_SKILLS_BUILD_PLANNER_ASSIGN_MODE)
KEYBIND_STRIP:AddKeybindButtonGroup(self.buildPlannerKeybindStripDescriptor)
self.buildPlannerListRefreshGroup:TryClean()
elseif newState == SCENE_FRAGMENT_HIDING then
self.assignableActionBar:ClearTargetSkill()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self.buildPlannerList:Deactivate()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.buildPlannerKeybindStripDescriptor)
if self.modeBeforeBuildPlannerShow == ZO_GAMEPAD_SKILLS_SKILL_LIST_BROWSE_MODE then
KEYBIND_STRIP:AddKeybindButtonGroup(self.categoryKeybindStripDescriptor)
elseif self.modeBeforeBuildPlannerShow == ZO_GAMEPAD_SKILLS_ABILITY_LIST_BROWSE_MODE then
KEYBIND_STRIP:AddKeybindButtonGroup(self.lineFilterKeybindStripDescriptor)
end
self:SetMode(self.modeBeforeBuildPlannerShow)
self.modeBeforeBuildPlannerShow = nil
end
end)
- ingame/skills/gamepad/gamepadskills.lua:171 -- GAMEPAD_SKILLS_LINE_PREVIEW_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.lineFilterPreviewListRefreshGroup:MarkDirty("List")
self.lineFilterPreviewListRefreshGroup:TryClean()
end
end)
- ingame/skills/gamepad/gamepadskills.lua:179 -- 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:1163 -- SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", FullRebuild)
- ingame/skills/gamepad/gamepadskills.lua:1164 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineUpdated", OnSkillLineUpdated)
- ingame/skills/gamepad/gamepadskills.lua:1165 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineAdded", OnSkillLineAdded)
- ingame/skills/gamepad/gamepadskills.lua:1166 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillProgressionUpdated", OnSkillProgressionUpdated)
- ingame/skills/gamepad/gamepadskills.lua:1167 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("PurchasedChanged", OnPointAllocatorPurchasedChanged)
- ingame/skills/gamepad/gamepadskills.lua:1168 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("SkillProgressionKeyChanged", OnPointAllocatorProgressionKeyChanged)
- ingame/skills/gamepad/gamepadskills.lua:1169 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("OnSkillsCleared", OnSkillsCleared)
- ingame/skills/gamepad/gamepadskills.lua:1170 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("SkillPointsChanged", OnSkillPointsChanged)
- ingame/skills/gamepad/gamepadskills.lua:1171 -- SKILLS_AND_ACTION_BAR_MANAGER:RegisterCallback("SkillPointAllocationModeChanged", OnSkillPointAllocationModeChanged)
- ingame/skills/gamepad/gamepadskills.lua:1172 -- SKILLS_AND_ACTION_BAR_MANAGER:RegisterCallback("RespecStateReset", FullRebuild)
- ingame/skills/gamepad/gamepadskills.lua:1173 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("CurrentHotbarUpdated", OnCurrentHotbarUpdated)
- ingame/skills/gamepad/gamepadskills.lua:1183 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("HotbarSwapVisibleStateChanged", OnHotbarSwapVisibleStateChanged)
- ingame/skills/gamepad/gamepadskills.lua:1186 -- ZO_SKILLS_ADVISOR_SINGLETON:RegisterCallback("OnRequestSelectSkillLine", function() self:SelectSkillLineFromAdvisor() end)
- ingame/skills/keyboard/keyboardassignableactionbar.lua:39 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("SlotUpdated", OnSlotUpdated)
- ingame/skills/keyboard/keyboardassignableactionbar.lua:50 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("CurrentHotbarUpdated", OnCurrentHotbarUpdated)
- ingame/skills/keyboard/keyboardassignableactionbar.lua:302 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("CurrentHotbarUpdated", OnCurrentHotbarUpdated)
- ingame/skills/keyboard/keyboardassignableactionbar.lua:307 -- ACTION_BAR_ASSIGNMENT_MANAGER:RegisterCallback("HotbarSwapVisibleStateChanged", OnHotbarSwapVisibleStateChanged)
- ingame/skills/keyboard/zo_skills.lua:620 -- SKILLS_DATA_MANAGER:RegisterCallback("FullSystemUpdated", OnFullSystemUpdated)
- ingame/skills/keyboard/zo_skills.lua:621 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineUpdated", OnSkillLineUpdated)
- ingame/skills/keyboard/zo_skills.lua:622 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillProgressionUpdated", OnSkillProgressionUpdated)
- ingame/skills/keyboard/zo_skills.lua:623 -- SKILLS_DATA_MANAGER:RegisterCallback("SkillLineNewStatusChanged", OnSkillLineNewStatusChanged)
- ingame/skills/keyboard/zo_skills.lua:646 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("SkillPointsChanged", OnSkillPointsChanged)
- ingame/skills/keyboard/zo_skills.lua:647 -- SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("SkillProgressionKeyChanged", OnSkillProgressionKeyChanged)
- ingame/skills/keyboard/zo_skills.lua:655 -- ZO_SKILLS_ADVISOR_SINGLETON:RegisterCallback("OnSelectedSkillBuildUpdated", OnSelectedSkillBuildUpdated)
- ingame/skills/keyboard/zo_skills.lua:671 -- SKILLS_AND_ACTION_BAR_MANAGER:RegisterCallback("SkillPointAllocationModeChanged", OnSkillPointAllocationModeChanged)
- ingame/skills/keyboard/zo_skills.lua:672 -- 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("SkillLineUpdated", 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:97 -- STABLES_SCENE:RegisterCallback("StateChange", OnStateChanged)
- ingame/stats/zo_stats_common.lua:273 -- self.pointsSpinner:RegisterCallback("OnValueChanged", function(points) self:OnValueChanged(points) end)
- ingame/stats/gamepad/zo_stats_gamepad.lua:204 -- GAMEPAD_STATS_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitializationRoot()
self:TryResetScreenState()
self:RefreshEquipmentBonus()
self:RegisterForEvents()
self:Update()
TriggerTutorial(TUTORIAL_TRIGGER_STATS_OPENED)
if GetAttributeUnspentPoints() > 0 then
TriggerTutorial(TUTORIAL_TRIGGER_STATS_OPENED_AND_ATTRIBUTE_POINTS_UNSPENT)
end
elseif newState == SCENE_HIDDEN then
self:DeactivateMainList()
if self.currentTitleDropdown ~= nil then
self.currentTitleDropdown:Deactivate(true)
end
if self.attributeTooltips then
self.attributeTooltips:Deactivate()
end
self:UnregisterForEvents()
end
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
end)
- ingame/stats/gamepad/zo_stats_gamepad.lua:263 -- STABLE_MANAGER:RegisterCallback("StableMountInfoUpdated", OnUpdate)
- ingame/stats/gamepad/zo_stats_gamepad.lua:264 -- ZO_LEVEL_UP_REWARDS_MANAGER:RegisterCallback("OnLevelUpRewardsUpdated", OnUpdate)
- ingame/stats/keyboard/zo_stats_keyboard.lua:40 -- 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:87 -- ZO_LEVEL_UP_REWARDS_MANAGER:RegisterCallback("OnLevelUpRewardsUpdated", UpdateLevelUpRewards)
- ingame/stats/keyboard/zo_stats_keyboard.lua:171 -- STATS_SCENE:RegisterCallback("StateChange", OnStateChange)
- ingame/stats/keyboard/zo_stats_keyboard.lua:268 -- ZO_OUTFIT_MANAGER:RegisterCallback("RefreshEquippedOutfitIndex", UpdateEquippedOutfit)
- ingame/stats/keyboard/zo_stats_keyboard.lua:269 -- ZO_OUTFIT_MANAGER:RegisterCallback("RefreshOutfits", UpdateOutfits)
- ingame/stats/keyboard/zo_stats_keyboard.lua:270 -- ZO_OUTFIT_MANAGER:RegisterCallback("RefreshOutfitName", UpdateOutfits)
- ingame/stats/keyboard/zo_stats_keyboard.lua:587 -- STABLE_MANAGER:RegisterCallback("StableMountInfoUpdated", UpdateRidingSkills)
- ingame/storewindow/gamepad/storewindowbuyback_gamepad.lua:10 -- 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())
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
end
end)
- ingame/storewindow/gamepad/storewindowrepair_gamepad.lua:10 -- 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:10 -- 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:116 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", RefreshActiveComponent)
- ingame/storewindow/gamepad/storewindow_gamepad.lua:136 -- SHARED_INVENTORY:RegisterCallback("ItemRepaired", OnItemRepaired)
- ingame/storewindow/keyboard/buyback_keyboard.lua:76 -- self.sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/storewindow/keyboard/storewindow_keyboard.lua:29 -- 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 -- storeScene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:InitializeStore()
PLAYER_INVENTORY:SelectAndChangeSort(INVENTORY_BACKPACK, ITEMFILTERTYPE_ALL, "sellInformationSortOrder", ZO_SORT_ORDER_UP)
elseif newState == SCENE_HIDDEN then
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:261 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectionUpdated", RefreshStoreWindow)
- ingame/storewindow/keyboard/storewindow_keyboard.lua:267 -- SHARED_INVENTORY:RegisterCallback("ItemRepaired", OnItemRepaired)
- ingame/tradewindow/keyboard/tradewindow_keyboard.lua:80 -- tradeScene:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
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
TradeCancel()
CURRENCY_INPUT:Hide()
TradeSetMoney(0)
self.myOfferedMoney = 0
end
end)
- ingame/tradinghouse/gamepad/tradinghousefeatures_gamepad.lua:383 -- self.priceSelector:RegisterCallback("OnValueChanged", function()
self:ValidatePriceSelectorValue(self.priceSelector:GetValue())
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()
end
end)
- ingame/tradinghouse/gamepad/tradinghouse_browseresults_gamepad.lua:128 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSearchStateChanged", FilterForGamepadEvents(function(...) self:OnSearchStateChanged(...) end))
- ingame/tradinghouse/gamepad/tradinghouse_browseresults_gamepad.lua:129 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnResponseReceived", FilterForGamepadEvents(function(...) self:OnResponseReceived(...) end))
- ingame/tradinghouse/gamepad/tradinghouse_browseresults_gamepad.lua:138 -- TRADING_HOUSE_GAMEPAD_SCENE:GetSceneGroup():RegisterCallback("StateChange", OnSceneGroupStateChanged)
- ingame/tradinghouse/gamepad/tradinghouse_browseresults_gamepad.lua:425 -- 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_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_AS_FURNITURE, 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)
end
end)
- ingame/tradinghouse/gamepad/tradinghouse_browseresults_gamepad.lua:427 -- ITEM_PREVIEW_LIST_HELPER_GAMEPAD:RegisterCallback("OnPreviewChanged", UpdatePreviewItemData)
- ingame/tradinghouse/gamepad/tradinghouse_browse_gamepad.lua:32 -- self.features.nameSearchFeature:RegisterCallback("OnNameMatchComplete", function(...) self:OnNameMatchComplete(...) end)
- ingame/tradinghouse/gamepad/tradinghouse_browse_gamepad.lua:42 -- 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:154 -- self.priceSelector:RegisterCallback("OnValueChanged", function() self:ValidatePriceSelectorValue(self.priceSelector:GetValue()) end)
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:249 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSearchRequested", FilterForGamepadEvents(function(...) self:OnSearchRequested(...) end))
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:250 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSearchRequestCanceled", FilterForGamepadEvents(function(...) self:OnSearchRequestCanceled(...) end))
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:251 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSearchStateChanged", FilterForGamepadEvents(function(...) self:OnSearchStateChanged(...) end))
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:252 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnAwaitingResponse", FilterForGamepadEvents(function() self:OnAwaitingResponse() end))
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:253 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnResponseReceived", FilterForGamepadEvents(function() self:OnResponseReceived() end))
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:254 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnResponseTimeout", FilterForGamepadEvents(function(...) self:OnResponseTimeout(...) end))
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:255 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSelectedGuildChanged", FilterForGamepadEvents(function() self:OnSelectedGuildChanged() end))
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:257 -- TRADING_HOUSE_GAMEPAD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RefreshHeader()
self:SelectCurrentListInHeader()
self:RefreshGuildNameFooter()
self:RegisterForSceneEvents()
self.currentListObject:Show()
ZO_GamepadGenericHeader_Activate(self.header)
elseif newState == SCENE_HIDDEN then
self:UnregisterForSceneEvents()
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
ZO_GamepadGenericHeader_Deactivate(self.header)
self.currentListObject:Hide()
end
end)
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:274 -- 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:67 -- TRADING_HOUSE_GAMEPAD:RegisterCallback("OnLockedForInput", function(...) self:OnLockedForInput(...) end)
- ingame/tradinghouse/gamepad/tradinghouse_templates_gamepad.lua:68 -- TRADING_HOUSE_GAMEPAD:RegisterCallback("OnUnlockedForInput", function(...) self:OnUnlockedForInput(...) end)
- ingame/tradinghouse/gamepad/tradinghouse_templates_gamepad.lua:149 -- 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()
elseif newState == SCENE_FRAGMENT_HIDING then
self:OnHiding()
self:Deactivate()
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:35 -- TRADING_HOUSE_SCENE:RegisterCallback("StateChange", SceneStateChange)
- ingame/tradinghouse/keyboard/tradinghouse_keyboard.lua:47 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSearchStateChanged", FilterForKeyboardEvents(function(...) self:OnSearchStateChanged(...) end))
- ingame/tradinghouse/keyboard/tradinghouse_keyboard.lua:48 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnAwaitingResponse", FilterForKeyboardEvents(function(...) self:OnAwaitingResponse(...) end))
- ingame/tradinghouse/keyboard/tradinghouse_keyboard.lua:49 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnResponseReceived", FilterForKeyboardEvents(function(...) self:OnResponseReceived(...) end))
- ingame/tradinghouse/keyboard/tradinghouse_keyboard.lua:50 -- TRADING_HOUSE_SEARCH:RegisterCallback("OnSelectedGuildChanged", FilterForKeyboardEvents(function() self:UpdateForGuildChange() end))
- ingame/tradinghouse/keyboard/tradinghouse_keyboard.lua:52 -- TRADING_HOUSE_SEARCH_HISTORY_KEYBOARD:RegisterCallback("MouseOverRowChanged", function()
KEYBIND_STRIP:UpdateKeybindButtonGroup(self.keybindStripDescriptor)
end)
- ingame/tradinghouse/keyboard/tradinghouse_keyboard.lua:410 -- 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/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:2084 -- CALLBACK_MANAGER:RegisterCallback("TargetOfTargetEnabledChanged", OnTargetOfTargetEnabledChanged)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:91 -- self.fragment:RegisterCallback("StateChange", OnStateChange)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:96 -- VOICE_CHAT_MANAGER:RegisterCallback("ChannelsUpdate", function() self:Update() end)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:97 -- VOICE_CHAT_MANAGER:RegisterCallback("ParticipantsUpdate", function()
self:UpdateParticipantsPanel()
self:UpdateKeybinds()
end)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:101 -- VOICE_CHAT_MANAGER:RegisterCallback("MuteUpdate", function() self:Update() end)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:102 -- VOICE_CHAT_MANAGER:RegisterCallback("RequestsAllowed", function() self:UpdateKeybinds() end)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:103 -- VOICE_CHAT_MANAGER:RegisterCallback("RequestsDisabled", function()
local SHOULD_PERSIST = true
KEYBIND_STRIP:TriggerCooldown(self.joinOrActivateChannelKeybind, VOICE_CHAT_REQUEST_DELAY, nil, SHOULD_PERSIST)
KEYBIND_STRIP:TriggerCooldown(self.leaveChannelKeybind, VOICE_CHAT_REQUEST_DELAY, nil, SHOULD_PERSIST)
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:45 -- self.fragment:RegisterCallback("StateChange", OnStateChange)
- ingame/voicechat/console/zo_voicechatparticipants_gamepad.lua:49 -- VOICE_CHAT_MANAGER:RegisterCallback("MuteUpdate", function() self:Update() end)
- ingame/zonestories/gamepad/zonestories_gamepad.lua:98 -- 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:117 -- ZO_COLLECTIBLE_DATA_MANAGER:RegisterCallback("OnCollectibleNotificationNew", function(...) OnNewCollectibleReceived(...) 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/lootinventory_gamepad.lua:28 -- LOOT_INVENTORY_SCENE_GAMEPAD:RegisterCallback("StateChange", OnStateChanged)
- 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:34 -- FOCUSED_QUEST_TRACKER:RegisterCallback("QuestTrackerAssistStateChanged", OnAssistChanged)
- ingame/zo_quest/questtracker.lua:332 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState) self:FireCallbacks("QuestTrackerFragmentStateChange", oldState, newState) end)
- ingame/zo_quest/questtracker.lua:342 -- CALLBACK_MANAGER:RegisterCallback("GamepadChatSystemActiveOnScreen", function() self:TryFadeOut() end)
- ingame/zo_quest/keyboard/questjournal_keyboard.lua:229 -- 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:86 -- ANTIQUITY_DIGGING_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.isReadyToPlay = false
control:RegisterForEvent(EVENT_ANTIQUITY_DIGGING_READY_TO_PLAY, function() self:OnAntiquityDiggingReadyToPlay() end)
self:RefreshActiveToolKeybinds()
elseif newState == SCENE_FRAGMENT_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.triggeredTutorial = false
self:RefreshInputState()
ZO_Dialogs_ReleaseAllDialogsOfName("CONFIRM_STOP_ANTIQUITY_DIGGING")
elseif newState == SCENE_FRAGMENT_HIDDEN then
self.keybindContainerTimeline:PlayInstantlyToStart()
if self.beginEndOfGameFanfareEventId then
EVENT_MANAGER:UnregisterForUpdate(self.beginEndOfGameFanfareEventId)
self.beginEndOfGameFanfareEventId = nil
end
end
end)
- internalingame/antiquitydigging/antiquitydigging.lua:107 -- 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_FRAGMENT: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:373 -- 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:407 -- 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(ZO_END_OF_GAME_FANFARE_TRIGGER_COMMANDS.NEXT)
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:419 -- 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:428 -- state:RegisterCallback("OnDeactivated", function()
if self.antiquityRewardTimeline:IsPlaying() then
self.antiquityRewardTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:437 -- state:RegisterCallback("OnActivated", function()
self.newLeadControl:SetHidden(false)
self.newLeadTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.newLeadTimeline:PlayFromStart()
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:446 -- state:RegisterCallback("OnActivated", function()
self.bonusRewardsControl:SetHidden(false)
self.bonusRewardsTimeline:PlayInstantlyToStart(IGNORE_ANIMATION_CALLBACKS)
self.bonusRewardsTimeline:PlayFromStart()
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:455 -- 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:470 -- state:RegisterCallback("OnActivated", function()
self.rewardsOutTimeline:PlayFromStart()
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:474 -- 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:485 -- state:RegisterCallback("OnActivated", function()
self.setProgressionControl:SetHidden(false)
self.setProgressionTimeline:PlayFromStart()
PlaySound(SOUNDS.ANTIQUITIES_FANFARE_FRAGMENT_PROGRESSION)
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:491 -- 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:516 -- state:RegisterCallback("OnActivated", function()
self.setProgressionTimeline:PlayBackward()
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:520 -- 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:531 -- 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:540 -- state:RegisterCallback("OnDeactivated", function()
if self.setCompleteTimeline:IsPlaying() then
self.setCompleteTimeline:PlayInstantlyToEnd(IGNORE_ANIMATION_CALLBACKS)
end
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:551 -- state:RegisterCallback("OnActivated", function()
self.setCompleteTimeline:PlayBackward()
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:555 -- 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:568 -- state:RegisterCallback("OnActivated", function()
StartDiggingTransitionToNextDay()
self.transferControl:SetHidden(false)
self.transferTimeline:PlayFromStart()
self:ConfigureKeybindButton(self.primaryKeybindButton, false)
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:575 -- state:RegisterCallback("OnDeactivated", function()
self.transferControl:SetHidden(true)
self.transferTimeline:Stop()
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:583 -- 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:593 -- 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:604 -- 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:614 -- state:RegisterCallback("OnActivated", function()
SCENE_MANAGER:RequestShowLeaderBaseScene()
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:669 -- setCompleteQuitEdge:RegisterCallback("OnActivated", function()
self:ConfigureKeybindButton(self.primaryKeybindButton, true, GetString(SI_EXIT_BUTTON))
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:686 -- rewardsQuitEdge:RegisterCallback("OnActivated", function()
self:ConfigureKeybindButton(self.primaryKeybindButton, true, GetString(SI_EXIT_BUTTON))
end)
- internalingame/antiquitydigging/antiquitydiggingsummary.lua:690 -- 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:698 -- setProgressionQuitEdge:RegisterCallback("OnActivated", function()
self:ConfigureKeybindButton(self.primaryKeybindButton, true, GetString(SI_EXIT_BUTTON))
end)
- internalingame/coderedemption/gamepad/coderedemption_gamepad.lua:156 -- CALLBACK_MANAGER:RegisterCallback("OnGamepadDialogHidden", self.OnGamepadDialogHidden)
- internalingame/market/market_shared.lua:58 -- ZO_MARKET_MANAGER:RegisterCallback("OnMarketStateUpdated", function(...) self:OnMarketStateUpdated(...) end)
- internalingame/market/market_shared.lua:59 -- ZO_MARKET_MANAGER:RegisterCallback("OnMarketProductAvailabilityUpdated", function(...) self:OnMarketProductAvailabilityUpdated(...) end)
- internalingame/market/market_shared.lua:60 -- ZO_MARKET_MANAGER:RegisterCallback("OnMarketSearchResultsReady", function(...) self:OnMarketSearchResultsReady(...) end)
- internalingame/market/market_shared.lua:61 -- ZO_MARKET_MANAGER:RegisterCallback("OnMarketSearchResultsCanceled", function(...) self:OnMarketSearchResultsCanceled(...) end)
- internalingame/market/market_shared.lua:64 -- ZO_MARKET_MANAGER:RegisterCallback("OnMarketPurchaseResult", function(...) if self:IsShowing() then self:OnMarketPurchaseResult(...) end end)
- internalingame/market/market_shared.lua:65 -- ZO_MARKET_MANAGER:RegisterCallback("OnCollectiblesUnlockStateChanged", function(...) if self:IsShowing() then self:OnCollectiblesUnlockStateChanged(...) end end)
- internalingame/market/market_shared.lua:66 -- ZO_MARKET_MANAGER:RegisterCallback("OnEsoPlusSubscriptionStatusChanged", function(...) if self:IsShowing() then self:OnEsoPlusSubscriptionStatusChanged(...) end end)
- internalingame/market/market_shared.lua:104 -- self.marketScene:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/gamepad/marketdialogs_gamepad.lua:92 -- 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:922 -- 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:937 -- dropdown:RegisterCallback("OnItemDeselected", function(itemControl, itemData)
ZO_GenericGamepadDialog_HideTooltip(parametricDialog)
end)
- internalingame/market/gamepad/marketpreview_gamepad.lua:29 -- ITEM_PREVIEW_LIST_HELPER_GAMEPAD:RegisterCallback("OnPreviewChanged", OnPreviewChangedFunction)
- internalingame/market/gamepad/marketpreview_gamepad.lua:40 -- GAMEPAD_MARKET_PREVIEW_SCENE:RegisterCallback("StateChange", OnPreviewSceneStateChange)
- internalingame/market/gamepad/market_gamepad.lua:60 -- 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:82 -- MARKET_CURRENCY_GAMEPAD:RegisterCallback("OnCurrencyUpdated", function() self:OnCurrencyUpdated() end)
- internalingame/market/gamepad/market_gamepad.lua:212 -- CALLBACK_MANAGER:RegisterCallback("OnGamepadDialogHidden", self.OnGamepadDialogHidden)
- internalingame/market/gamepad/market_gamepad.lua:683 -- categoryData.fragment:RegisterCallback("StateChange", OnCategoryFragmentStateChanged)
- internalingame/market/gamepad/market_gamepad.lua:1428 -- GAMEPAD_MARKET_BUNDLE_CONTENTS_SCENE:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/gamepad/market_gamepad.lua:1723 -- ZO_GAMEPAD_MARKET_LOCKED_SCENE:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/gamepad/market_gamepad.lua:1768 -- ZO_GAMEPAD_MARKET_PRE_SCENE:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/keyboard/crownstore_keyboard.lua:15 -- 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:1120 -- ITEM_PREVIEW_KEYBOARD:RegisterCallback("RefreshActions", self.refreshActionsCallback)
- internalingame/marketannouncement/marketannouncement_manager.lua:17 -- self.scene:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/marketannouncement/marketannouncement_shared.lua:61 -- fragment:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/marketannouncement/marketannouncement_shared.lua:73 -- ZO_MARKET_ANNOUNCEMENT_MANAGER:RegisterCallback("OnMarketAnnouncementDataUpdated", function() self:UpdateMarketCarousel() end)
- internalingame/marketannouncement/marketannouncement_shared.lua:74 -- ZO_MARKET_ANNOUNCEMENT_MANAGER:RegisterCallback("EventAnnouncementExpired", function() self:LayoutActionTiles() end)
- internalingame/scrying/scrying.lua:1329 -- 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()
SetOverrideMusicMode(OVERRIDE_MUSIC_MODE_SCRYING)
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.triggeredTutorial = false
self:RefreshInputState()
ZO_Dialogs_ReleaseAllDialogsOfName("CONFIRM_EXIT_SCRYING")
if self.completedEndOfGameCallLaterId then
zo_removeCallLater(self.completedEndOfGameCallLaterId)
end
elseif newState == SCENE_HIDDEN then
self.board:OnHidden()
-- We may have already left music mode as a result of the outro,
-- in which case this is harmless, but otherwise we still need to
-- leave music mode
SetOverrideMusicMode(OVERRIDE_MUSIC_MODE_NONE)
end
end)
- internalingame/scrying/scrying.lua:1416 -- SCRYING_HEX_ANIMATION_PROVIDER:RegisterCallback("BlockingAnimationsCompleted", function()
self:TryCompleteScrying()
end)
- libraries/zo_dialog/zo_dialog.lua:342 -- SCENE_MANAGER:RegisterCallback("SceneStateChanged", dialog.gamepadInfo.nextSceneCallback)
- libraries/zo_dialog/gamepad/zo_genericdialog_gamepad.lua:502 -- 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:248 -- savingEditBox:RegisterCallback("SetEditing", self.setEditingCallback)
- 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:125 -- self:RegisterCallback("SelectedDataChanged", onSelectedDataChangedCallback)
- libraries/zo_parametricscrolllist/zo_parametricscrolllist.lua:256 -- self:RegisterCallback("MovementChanged", onMovementChangedCallback)
- libraries/zo_parametricscrolllist/zo_parametricscrolllist.lua:264 -- self:RegisterCallback("TargetDataChanged", onTargetDataChangedCallback)
- libraries/zo_parametricscrolllist/zo_parametricscrolllist.lua:272 -- self:RegisterCallback("SelectedDataChanged", onSelectedDataChangedCallback)
- libraries/zo_pointerbox/keyboard/zo_pointerbox_keyboard.lua:91 -- 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:43 -- 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_statemachine/zo_statemachine.lua:95 -- edge:GetParentMachine():RegisterCallback(self.eventName, self.triggerFunction)
- pregame/accountlogin/pegi.lua:26 -- CALLBACK_MANAGER:RegisterCallback("PregameFullyLoaded", function() self:PopulateCountries() end)
- pregame/accountlogin/pegi.lua:27 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, OnLinkClicked)
- pregame/accountlogin/gamepad/createlinkloadingscreen_gamepad.lua:41 -- CREATE_LINK_LOADING_SCREEN_GAMEPAD_SCENE:RegisterCallback("StateChange", StateChanged)
- pregame/accountlogin/gamepad/gamestartup_gamepad.lua:206 -- 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:243 -- 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:268 -- 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/pregameinitialscreen_gamepad.lua:44 -- 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.esoLogoAnimation:PlayInstantlyToStart()
self.pressTextAnimation:PlayInstantlyToStart()
KEYBIND_STRIP:RemoveDefaultExit()
self.currentKeybindStripDescriptor = self.pressAnyKeybindsDescriptor
if IsConsoleUI() and self:IsShowingVerificationError() then
self.currentKeybindStripDescriptor = self.verifyEmailKeybindsDescriptor
end
KEYBIND_STRIP:AddKeybindButtonGroup(self.currentKeybindStripDescriptor)
elseif newState == SCENE_SHOWN then
self.fadeMode = LOGO_FADE_IN
self.esoLogoAnimation: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()
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_login.lua:195 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", function() self:InitializeLoginButtonState() end)
- pregame/accountlogin/keyboard/zo_login.lua:196 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, OnLinkClicked)
- pregame/accountlogin/keyboard/zo_login.lua:199 -- 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:251 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, OnLinkClicked)
- pregame/accountlogin/keyboard/zo_login.lua:252 -- 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/charactercreate/zo_charactercreate_shared.lua:134 -- CALLBACK_MANAGER:RegisterCallback("OnCharacterConstructionReady", OnCharacterConstructionReady)
- pregame/charactercreate/zo_charactercreate_shared.lua:135 -- CALLBACK_MANAGER:RegisterCallback("CharacterCreateRequested", OnCharacterCreateRequested)
- pregame/charactercreate/gamepad/zo_charactercreate_gamepad.lua:126 -- GAMEPAD_CHARACTER_CREATE_SCENE:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- pregame/charactercreate/keyboard/zo_charactercreate_keyboard.lua:116 -- 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:1156 -- CHARACTER_SELECT_MANAGER:RegisterCallback("OnSavedDataReady", function() ZO_CharacterSelect_Gamepad_ShowEventAnnouncementsBanner(CHARACTER_SELECT_MANAGER:GetEventAnnouncementAutoShowIndex()) end)
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:1291 -- GAMEPAD_CHARACTER_SELECT_SCENE:RegisterCallback("StateChange", ZO_CharacterSelect_Gamepad_StateChanged)
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:1293 -- CALLBACK_MANAGER:RegisterCallback("OnCharacterConstructionReady", ContextFilter(OnCharacterConstructionReady))
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:1294 -- CALLBACK_MANAGER:RegisterCallback("PregameFullyLoaded", ContextFilter(OnPregameFullyLoaded))
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:1298 -- 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:1304 -- 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:1318 -- 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:366 -- CHARACTER_SELECT_MANAGER:RegisterCallback("CharacterListUpdated", function()
SetupCharacterList()
end)
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:370 -- CHARACTER_SELECT_MANAGER:RegisterCallback("CharacterOrderChanged", function()
ZO_ScrollList_Clear(ZO_CharacterSelectScrollList)
SetupScrollList()
end)
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:375 -- CHARACTER_SELECT_MANAGER:RegisterCallback("SelectedCharacterUpdated", function(characterData)
ZO_ScrollList_SelectData(ZO_CharacterSelectScrollList, characterData)
end)
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:379 -- CHARACTER_SELECT_MANAGER:RegisterCallback("EventAnnouncementExpired", function() PopulateCarousel() end)
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:385 -- CALLBACK_MANAGER:RegisterCallback("OnCharacterConstructionReady", OnCharacterConstructionReady)
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:386 -- CALLBACK_MANAGER:RegisterCallback("PregameFullyLoaded", OnPregameFullyLoaded)
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:390 -- 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/console/createaccount/createaccount_gamepad.lua:23 -- 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/console/createaccount/createaccount_gamepad_final.lua:32 -- CREATE_ACCOUNT_FINAL_GAMEPAD_SCENE:RegisterCallback("StateChange", StateChanged)
- pregame/console/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/console/linkaccountscreen/confirmlinkaccountscreen_gamepad.lua:52 -- CONFIRM_LINK_ACCOUNT_SCREEN_GAMEPAD_SCENE:RegisterCallback("StateChange", StateChanged)
- pregame/console/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/console/linkaccountscreen/linkaccountscreen_gamepad_final.lua:36 -- LINK_ACCOUNT_FINAL_GAMEPAD_SCENE:RegisterCallback("StateChange", StateChanged)
- pregame/gamecredits/gamepad/gamecredits_gamepad.lua:48 -- GAME_CREDITS_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.keybindState = KEYBIND_STRIP:PushKeybindGroupState()
KEYBIND_STRIP:RemoveDefaultExit(self.keybindState)
KEYBIND_STRIP:AddKeybindButtonGroup(self.creditDescriptor, self.keybindState)
ShowCredits()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:StopCredits()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.creditDescriptor, self.keybindState)
KEYBIND_STRIP:RestoreDefaultExit(self.keybindState)
KEYBIND_STRIP:PopKeybindGroupState()
end
end)
- pregame/gamecredits/keyboard/gamecredits_keyboard.lua:11 -- GAME_CREDITS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
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/worldselect/worldselectscreen_gamepad.lua:44 -- 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/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/morrowindbackground.lua:324 -- 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:22 -- 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:67 -- CALLBACK_MANAGER:RegisterCallback("AddOnEULAHidden", OnAddOnEulaHidden)
- pregameandingame/zo_addonmanager/zo_addonmanager.lua:70 -- 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:37 -- 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)
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:53 -- GAMEPAD_OPTIONS_PANEL_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
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)
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/gamepad/zo_options_gamepad.lua:96 -- GAMEPAD_OPTIONS_SCENE_GROUP:RegisterCallback("StateChange", function(oldState, newState)
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
if newState == SCENE_GROUP_SHOWING then
RefreshSettings()
RegisterForScreenResizeComplete()
elseif newState == SCENE_GROUP_HIDDEN then
UnregisterForScreenResizeComplete()
end
end)
- pregameandingame/zo_options/gamepad/zo_options_gamepad.lua:506 -- OPTIONS_MENU_INFO_PANEL_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
if GetMostRecentGamepadType() ~= GAMEPAD_TYPE_HERON then
TriggerTutorial(TUTORIAL_TRIGGER_HERON_THIRD_PARTY_CONTROLLER_SHOWING)
end
end
end)
- pregameandingame/zo_options/keyboard/zo_options_keyboard.lua:22 -- 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
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:41 -- CALLBACK_MANAGER:RegisterCallback("OnEditAccountEmailKeyboardDialogClosed", function() self:UpdatePanelVisibility(self.currentPanel) end)
- pregameandingame/zo_options/keyboard/zo_options_keyboard.lua:106 -- CALLBACK_MANAGER:RegisterCallback(event, callback, control)
- publicallingames/currency/gamepad/currencyselector_gamepad.lua:101 -- 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:195 -- self:GetPreviewObject():RegisterCallback("RefreshActions", self.RefreshActionsCallback)
- publicallingames/itempreview/itempreviewlisthelper_shared.lua:196 -- self:GetPreviewObject():RegisterCallback("EndCurrentPreview", self.EndCurrentPreviewCallback)
- publicallingames/itempreview/itempreview_shared.lua:465 -- self.fragment:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)