ESO Function Data v100013
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:224 -- scene:RegisterCallback("StateChange", self.onStateChangedCallback)
- common/gamepad/screenadjust/screenadjust.lua:26 -- scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWN then
local SAVE_INITIAL_SCREEN_SIZE = true
self:InitializeSize(SAVE_INITIAL_SCREEN_SIZE)
if IsInGamepadPreferredMode() then
DIRECTIONAL_INPUT:Activate(self, self.control)
end
self.readyToSave = true
elseif newState == SCENE_HIDING then
if SCENE_MANAGER:IsCurrentSceneGamepad() then
DIRECTIONAL_INPUT:Deactivate(self)
end
end
end)
- common/zo_addonmanager/zo_addoneula.lua:119 -- CALLBACK_MANAGER:RegisterCallback("ShowAddOnEULAIfNecessary", DisplayAddOnEULAIfNecessary)
- common/zo_addonmanager/zo_addonmanager.lua:50 -- CALLBACK_MANAGER:RegisterCallback("AddOnEULAHidden", OnAddOnEulaHidden)
- common/zo_addonmanager/zo_addonmanager.lua:53 -- 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)
- common/zo_options/gamepad/zo_options_gamepad.lua:23 -- 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)
if(self.inputBlocked) then
self:SetGamepadOptionsInputBlocked(false)
end
KEYBIND_STRIP:AddKeybindButtonGroup(self.rootKeybindDescriptor)
elseif newState == SCENE_HIDDEN then
self:DisableCurrentList()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.rootKeybindDescriptor)
end
end)
- common/zo_options/gamepad/zo_options_gamepad.lua:42 -- GAMEPAD_OPTIONS_PANEL_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RefreshOptionsList()
self:RefreshHeader()
self:SetCurrentList(self.optionsList)
KEYBIND_STRIP:AddKeybindButtonGroup(self.panelKeybindDescriptor)
elseif newState == SCENE_HIDDEN then
self:DisableCurrentList()
self:DeactivateSelectedControl()
self:SaveCachedSettings()
ZO_SavePlayerConsoleProfile()
SetCameraOptionsPreviewModeEnabled(false, CAMERA_OPTIONS_PREVIEW_NONE)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.panelKeybindDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.checkboxDescriptor)
end
end)
- common/zo_options/gamepad/zo_options_gamepad.lua:78 -- 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)
- common/zo_options/keyboard/zo_options_keyboard.lua:15 -- OPTIONS_WINDOW_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
RefreshSettings()
self:UpdateAllPanelOptions(SAVE_CURRENT_VALUES)
GetControl(ZO_OptionsWindow, "ApplyButton"):SetHidden(true)
PushActionLayerByName("OptionsWindow")
elseif(newState == SCENE_FRAGMENT_HIDING) then
RemoveActionLayerByName("OptionsWindow")
self:SaveCachedSettings()
end
end)
- common/zo_options/keyboard/zo_options_keyboard.lua:68 -- CALLBACK_MANAGER:RegisterCallback(event, callback, control)
- ingame/achievements/keyboard/achievements.lua:884 -- achievementsScene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.refreshGroups:UpdateRefreshGroups()
self.queuedScrollToAchievement = nil
if self.queuedShowAchievement then
local queuedShowAchievement = self.queuedShowAchievement
if not self:ShowAchievement(self.queuedShowAchievement) then
self.queuedScrollToAchievement = nil
end
end
elseif newState == SCENE_SHOWN then
if self.achievements and self.achievements[self.queuedScrollToAchievement] then
ZO_Scroll_ScrollControlIntoCentralView(self.contentList, self.achievements[self.queuedScrollToAchievement]:GetControl())
end
end
end)
- ingame/achievements/keyboard/achievements.lua:902 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, self.OnLinkClicked, self)
- ingame/achievements/keyboard/achievements.lua:903 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_MOUSE_UP_EVENT, self.OnLinkClicked, self)
- ingame/banking/gamepad/bankingcommon_gamepad.lua:183 -- self.selector:RegisterCallback("OnValueChanged", function() self:UpdateInput(self.selector:GetValue()) end)
- ingame/banking/gamepad/banking_gamepad.lua:533 -- GAMEPAD_BUY_BANK_SPACE_SCENE:RegisterCallback("StateChange", StateChanged)
- 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:46 -- CAMPAIGN_BROWSER_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
QueryCampaignSelectionData()
KEYBIND_STRIP:AddKeybindButtonGroup(manager.keybindStripDescriptor)
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(manager.keybindStripDescriptor)
end
end)
- ingame/campaign/campaignemperor.lua:20 -- 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:26 -- 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:51 -- GAMEPAD_AVA_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
if(self.currentMode == CAMPAIGN_BROWSER_MODES.BONUSES) then
self.currentMode = CAMPAIGN_BROWSER_MODES.CAMPAIGNS
end
self:PerformDeferredInitialization()
self:Update()
ZO_GamepadGenericHeader_Activate(self.header)
self:RegisterEvents()
self.dataRegistration:Refresh()
QueryCampaignSelectionData()
elseif newState == SCENE_HIDDEN then
self.dataRegistration:Refresh()
ZO_GamepadGenericHeader_Deactivate(self.header)
self:UnregisterEvents()
end
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
end)
- ingame/campaign/gamepad/campaignemperor_gamepad.lua:58 -- CAMPAIGN_EMPEROR_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWN) then
QueryCampaignLeaderboardData()
self:RefreshData()
self:RefreshEmperor()
self:SetDirectionalInputEnabled(true)
elseif(newState == SCENE_FRAGMENT_HIDDEN) then
self:SetDirectionalInputEnabled(false)
end
end)
- ingame/campaign/gamepad/campaignscoring_gamepad.lua:13 -- 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:196 -- 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.m_displayMode ~= CSA_EVENT_NO_TEXT and self.m_largeTextContainer.m_timeline.beforeExpiring) then
PLAYER_PROGRESS_BAR:SetHoldBeforeFadeOut(true)
end
end)
- ingame/centerscreenannounce/centerscreenannounce.lua:203 -- PLAYER_PROGRESS_BAR:RegisterCallback("Complete", function()
self.m_hasActiveBar = false
self:CheckNowInactive()
end)
- ingame/championperks/championperks.lua:148 -- 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:160 -- 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:498 -- self.pointsSpinner:RegisterCallback("OnValueChanged", self.onValueChangedCallback)
- ingame/characterwindow/keyboard/characterwindow_keyboard.lua:302 -- CALLBACK_MANAGER:RegisterCallback("BackpackFullUpdate", OnBackpackFullUpdate)
- ingame/characterwindow/keyboard/characterwindow_keyboard.lua:303 -- CALLBACK_MANAGER:RegisterCallback("BackpackSlotUpdate", OnBackpackSlotUpdate)
- ingame/chatsystem/sharedchatsystem.lua:143 -- self.autoComplete:RegisterCallback(ZO_AutoComplete.ON_ENTRY_SELECTED, OnAutoCompleteEntrySelected)
- ingame/chatsystem/sharedchatsystem.lua:1334 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.INSERT_LINK_EVENT, self.HandleTryInsertLink, self)
- ingame/chatsystem/sharedchatsystem.lua:1335 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, self.OnLinkClicked, self)
- ingame/chatsystem/sharedchatsystem.lua:1336 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_MOUSE_UP_EVENT, self.OnLinkClicked, self)
- ingame/chatsystem/console/gamepadchatsystem.lua:187 -- GAMEPAD_TEXT_CHAT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:Maximize()
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
self:StartVisibilityTimer()
end
end)
- ingame/chatsystem/console/gamepadchatsystem.lua:352 -- CALLBACK_MANAGER:RegisterCallback("QuestTrackerUpdatedOnScreen", function() self:TryFadeOut() end)
- ingame/chatsystem/console/gamepadchatsystem.lua:353 -- CALLBACK_MANAGER:RegisterCallback("QuestTrackerUpdatedOnScreen", function() self:TryFadeIn() end)
- ingame/chatsystem/console/gamepadchatsystem.lua:354 -- CALLBACK_MANAGER:RegisterCallback("QuestTrackerFadedOutOnScreen", function() self:TryFadeIn(FADE_IN_OVER_TRACKER) end)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:43 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectibleUpdated", function(...) self:OnCollectibleUpdated(...) end)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:44 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectionUpdated", function(...) self:OnCollectionUpdated(...) end)
- ingame/collections/keyboard/collectionsbook.lua:294 -- collectionsBookScene:RegisterCallback("StateChange",
function(oldState, newState)
if newState == SCENE_SHOWN then
ZO_Scroll_ResetToTop(self.contentList)
end
end)
- ingame/collections/keyboard/collectionsbook.lua:347 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectibleUpdated", function(...) self:OnCollectibleUpdated(...) end)
- ingame/collections/keyboard/collectionsbook.lua:348 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectionUpdated", function(...) self:OnCollectionUpdated(...) end)
- ingame/compass/compass.lua:250 -- QUEST_TRACKER:RegisterCallback("QuestTrackerAssistStateChanged", function(assisted, unassisted) self:PerformFullAreaQuestUpdate() end)
- ingame/compass/compass.lua:251 -- QUEST_TRACKER:RegisterCallback("QuestTrackerRefreshedMapPins", function() self.refreshingJournalIndex = true self:PerformFullAreaQuestUpdate() self.refreshingJournalIndex = false end)
- ingame/contacts/notifications_common.lua:223 -- CALLBACK_MANAGER:RegisterCallback("NotificationsGuildMotDRead", self.pushUpdateCallback)
- ingame/contacts/notifications_common.lua:535 -- pointResetCallbackObject:RegisterCallback(CALLBACK_POINT_RESET_ATTRIBUTE_DECLINED, updatePointsResetList)
- ingame/contacts/notifications_common.lua:536 -- pointResetCallbackObject:RegisterCallback(CALLBACK_POINT_RESET_ATTRIBUTE_FORCE_RESPEC, updatePointsResetList)
- ingame/contacts/notifications_common.lua:538 -- pointResetCallbackObject:RegisterCallback(CALLBACK_POINT_RESET_SKILL_FORCE_RESPEC, updatePointsResetList)
- ingame/contacts/notifications_common.lua:539 -- pointResetCallbackObject:RegisterCallback(CALLBACK_POINT_RESET_SKILL_DECLINED, updatePointsResetList)
- ingame/contacts/notifications_common.lua:689 -- CALLBACK_MANAGER:RegisterCallback("LeaderboardNotifications_On", ShowLeaderBoardNotifications_SettingsChanged)
- ingame/contacts/notifications_common.lua:690 -- CALLBACK_MANAGER:RegisterCallback("LeaderboardNotifications_Off", ShowLeaderBoardNotifications_SettingsChanged)
- 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:418 -- 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:32 -- 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)
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:454 -- 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:176 -- CALLBACK_MANAGER:RegisterCallback("UnitFramesCreated", Initialize)
- ingame/crafting/craftinginventory.lua:17 -- sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/crafting/craftingutils.lua:218 -- 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:223 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function() self:Stop() end)
- ingame/crafting/craftingutils.lua:267 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftStarted)
- ingame/crafting/craftingutils.lua:268 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftCompleted)
- ingame/crafting/craftingutils.lua:276 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", UpdateKeyBindDescriptorGroup)
- ingame/crafting/craftingutils.lua:277 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", UpdateKeyBindDescriptorGroup)
- ingame/crafting/craftingutils.lua:291 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftStarted)
- ingame/crafting/craftingutils.lua:292 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftCompleted)
- ingame/crafting/craftingutils.lua:310 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftStarted)
- ingame/crafting/craftingutils.lua:311 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftCompleted)
- ingame/crafting/craftingutils.lua:353 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
g_isCrafting = true
end)
- ingame/crafting/craftingutils.lua:356 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
g_isCrafting = false
end)
- 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:115 -- mainInteractScene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
if not self.deferredInitializationComplete then
self.deferredInitializationComplete = true
self:PerformDeferredInitialization()
end
TriggerTutorial(TUTORIAL_TRIGGER_PROVISIONING_OPENED)
SYSTEMS:GetObject("craftingResults"):SetCraftingTooltip(self.resultTooltip)
self:OnSceneShowing()
elseif newState == SCENE_HIDDEN then
SYSTEMS:GetObject("craftingResults"):SetCraftingTooltip(nil)
self:OnSceneHidden()
end
end)
- ingame/crafting/smithingcreation_shared.lua:353 -- self.materialQuantitySpinner:RegisterCallback("OnValueChanged", function(value)
if not self.performingFullRefresh then
self:AdjustCurrentMaterialQuantityForAllPatterns(value)
end
local data = self.materialList:GetSelectedData()
local stackCount, currentSelectedQuality, currentRank, meetsRankRequirement, hasAboveMin, hasEnoughInInventory, usable = self:GetMaterialInformation(data)
self.isMaterialUsable = usable and USABILITY_TYPE_USABLE or USABILITY_TYPE_VALID_BUT_MISSING_REQUIREMENT
ZO_ItemSlot_SetupSlot(self.selectedMaterialControl, stackCount, data.icon, usable)
self:UpdateTooltip()
self.owner:OnSelectedPatternChanged()
KEYBIND_STRIP:UpdateKeybindButtonGroup(self.keybindStripDescriptor)
end)
- ingame/crafting/gamepad/alchemy_gamepad.lua:209 -- GAMEPAD_ALCHEMY_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
end)
- ingame/crafting/gamepad/craftingresults_gamepad.lua:170 -- GAMEPAD_CRAFTING_RESULTS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_HIDDEN then
GAMEPAD_CRAFTING_RESULTS:ClearAll()
end
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:125 -- GAMEPAD_ENCHANTING_MODE_SCENE_ROOT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindModeStripDescriptor)
self:InitializeModes()
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:180 -- 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:200 -- 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/gamepadprovisioner.lua:38 -- 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)
self.inOptionsMenu = false
self.isCrafting = false
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:113 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
if SCENE_MANAGER:IsShowing(self.mainSceneName) then
self.recipeList:SetActive(false)
end
end)
- ingame/crafting/gamepad/gamepadprovisioner.lua:119 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
if SCENE_MANAGER:IsShowing(self.mainSceneName) then
self.recipeList:SetActive(true)
self.isCrafting = false
end
end)
- ingame/crafting/gamepad/smithingcreation_gamepad.lua:41 -- 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:RefreshAllLists()
self.inOptionsMenu = false
self.isCrafting = false
GAMEPAD_CRAFTING_RESULTS:SetCraftingTooltip(self.resultTooltip)
GAMEPAD_CRAFTING_RESULTS:SetTooltipAnimationSounds(self:GetCreateTooltipSound())
self:RefreshScrollPanel()
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:88 -- 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:107 -- 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:114 -- 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.isCrafting = false
end
end)
- ingame/crafting/gamepad/smithingextraction_gamepad.lua:36 -- 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
self:AddEntry(GetString(SI_CHARACTER_EQUIP_SECTION_WEAPONS), ZO_SMITHING_EXTRACTION_SHARED_FILTER_TYPE_WEAPONS, CanSmithingWeaponPatternsBeCraftedHere(), tabBarEntries)
self:AddEntry(GetString(SI_CHARACTER_EQUIP_SECTION_APPAREL), ZO_SMITHING_EXTRACTION_SHARED_FILTER_TYPE_ARMOR, CanSmithingApparelPatternsBeCraftedHere(), tabBarEntries)
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_REFINMENT)
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 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:RemoveItemFromWorkbench()
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
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:94 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
if SCENE_MANAGER:IsShowing("gamepad_smithing_refine") or SCENE_MANAGER:IsShowing("gamepad_smithing_deconstruct") then
if not self.extractionSlot:HasItem() then
self.tooltip:SetHidden(true)
end
self:UpdateSelection()
end
end)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:103 -- 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 = {}
self:AddEntry(GetString(SI_CHARACTER_EQUIP_SECTION_WEAPONS), ZO_SMITHING_IMPROVEMENT_SHARED_FILTER_TYPE_WEAPONS, CanSmithingWeaponPatternsBeCraftedHere(), tabBarEntries)
self:AddEntry(GetString(SI_CHARACTER_EQUIP_SECTION_APPAREL), ZO_SMITHING_IMPROVEMENT_SHARED_FILTER_TYPE_ARMOR, CanSmithingApparelPatternsBeCraftedHere(), tabBarEntries)
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:RemoveItemFromWorkbench()
if self.selectedItem then
self:ColorizeText(self:GetBoosterRowForQuality(self.selectedItem.quality))
end
self.owner:SetEnableSkillBar(true)
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
self:SetInventoryActive(false)
self.tooltip.tip:ClearLines()
self.tooltip:SetHidden(true)
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()
self.spinner:SetValue(1)
end
end)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:166 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
if SCENE_MANAGER:IsShowing("gamepad_smithing_improvement") then
self.spinner:Deactivate()
end
end)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:172 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
if SCENE_MANAGER:IsShowing("gamepad_smithing_improvement") then
self:RemoveItemFromWorkbench()
KEYBIND_STRIP:UpdateKeybindButtonGroup(self.keybindStripDescriptor)
self:SetInventoryActive(true)
if self.shouldActivateTabBar then
ZO_GamepadGenericHeader_Activate(self.owner.header)
end
end
end)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:241 -- self.spinner:RegisterCallback("OnValueChanged", function(value)
self:RefreshImprovementChance()
local row = self:GetRowForSelection()
if row then
local color = value > row.currentStack and ZO_ERROR_COLOR or ZO_SELECTED_TEXT
self.improvementChanceLabel:SetColor(color:UnpackRGBA())
end
KEYBIND_STRIP:UpdateKeybindButtonGroup(self.keybindStripDescriptor)
end)
- ingame/crafting/gamepad/smithingresearch_gamepad.lua:16 -- 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)
DIRECTIONAL_INPUT:Activate(self, self.panelContent)
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_HIDDEN then
DIRECTIONAL_INPUT:Deactivate(self)
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:48 -- 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)
self.confirmList:AddEntry(CONFIRM_TEMPLATE_NAME, entry)
end
local function IsResearchableItem(bagId, slotIndex)
return CanItemBeSmithingTraitResearched(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_BANK, IsResearchableItem, PLAYER_INVENTORY:GenerateListOfVirtualStackedItems(INVENTORY_BACKPACK, IsResearchableItem))
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_HIDDEN then
self.confirmList:Deactivate()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.confirmKeybindStripDescriptor)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
end
end)
- ingame/crafting/gamepad/smithing_gamepad.lua:33 -- 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:62 -- GAMEPAD_SMITHING_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.creationPanel:PerformDeferredInitialization()
self.researchPanel:PerformDeferredInitialization()
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:SetMode(SMITHING_MODE_ROOT)
if self.resetUIs then
self.modeList:SetSelectedIndexWithoutAnimation(SMITHING_MODE_REFINMENT)
end
self:SetEnableSkillBar(true)
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self.modeList:Activate()
local titleString = ZO_GamepadCraftingUtils_GetLineNameForCraftingType(GetCraftingInteractionType())
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:50 -- 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)
CRAFTING_RESULTS:SetCraftingTooltip(self.tooltip)
CRAFTING_RESULTS:SetTooltipAnimationSounds(SOUNDS.ALCHEMY_CREATE_TOOLTIP_GLOW_SUCCESS, SOUNDS.ALCHEMY_CREATE_TOOLTIP_GLOW_FAIL)
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/craftingresults_keyboard.lua:285 -- CRAFTING_RESULTS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_HIDDEN then
CRAFTING_RESULTS:ClearAll()
end
end)
- ingame/crafting/keyboard/enchanting_keyboard.lua:28 -- ENCHANTING_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
if self.enchantingMode then
local oldEnchantMode = self.enchantingMode
self.enchantingMode = nil
self:SetEnchantingMode(oldEnchantMode)
else
ZO_MenuBar_SelectDescriptor(self.modeBar, ENCHANTING_MODE_CREATION)
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/smithingimprovement_keyboard.lua:64 -- self.spinner:RegisterCallback("OnValueChanged", function(value)
self:RefreshImprovementChance()
end)
- ingame/crafting/keyboard/smithing_keyboard.lua:25 -- 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)
local oldMode = self.mode
self.mode = nil
ZO_MenuBar_ClearSelection(self.modeBar)
if isCraftingTypeDifferent or not oldMode then
ZO_MenuBar_SelectDescriptor(self.modeBar, SMITHING_MODE_REFINMENT)
else
ZO_MenuBar_SelectDescriptor(self.modeBar, oldMode)
end
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/currency/gamepad/currencyselector_gamepad.lua:101 -- self.spinner:RegisterCallback("OnValueChanged", valueChangedCallback)
- ingame/death/death.lua:519 -- 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/gamepad/dyeing_gamepad.lua:74 -- GAMEPAD_DYEING_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
MAIN_MENU_MANAGER:SetBlockingScene("dyeing_gamepad", OnBlockingSceneActivated)
self:PerformDeferredInitialization()
ZO_Dyeing_CopyExistingDyesToPending()
self.equipmentMenu:Show()
self.visibleRadialMenu = self.equipmentMenu
self:SwitchToTab(DYE_TAB_INDEX)
self:SwitchToTool(self.dyeTool)
ZO_GamepadGenericHeader_Activate(self.header)
self:RefreshSavedSets()
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
DIRECTIONAL_INPUT:Activate(self, self.control)
TriggerTutorial(TUTORIAL_TRIGGER_DYEING_OPENED)
elseif newState == SCENE_HIDDEN then
local RETAIN_BACKGROUND_FOCUS = true
self:ResetScreen(nil, RETAIN_BACKGROUND_FOCUS)
self.equipmentMenu:ResetToDefaultPositon()
ZO_GamepadGenericHeader_Deactivate(self.header)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
DIRECTIONAL_INPUT:Deactivate(self)
if self.isSpinning then
-- TODO: Make this work with gamepad right-stick.
EndInteractCameraSpin()
self.isSpinning = false
end
MAIN_MENU_MANAGER:ClearBlockingScene(OnBlockingSceneActivated)
ZO_SavePlayerConsoleProfile()
end
end)
- ingame/dyeing/keyboard/dyeing_keyboard.lua:45 -- DYEING_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
MAIN_MENU_MANAGER:SetBlockingScene("dyeing", OnBlockingSceneActivated)
TriggerTutorial(TUTORIAL_TRIGGER_DYEING_OPENED)
ZO_Dyeing_CopyExistingDyesToPending()
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
if self.dyeLayoutDirty then
self:LayoutDyes()
end
self:RefreshSavedSets()
self.equipmentSheet:MarkViewDirty()
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_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
MAIN_MENU_MANAGER:ClearBlockingScene(OnBlockingSceneActivated)
end
end)
- ingame/feedback/keyboard/feedback_keyboard.lua:30 -- HELP_CUSTOMER_SUPPORT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
if(not self.pageOpened) then
self:OpenBrowserByType(BROWSER_TYPE_USER_HELP)
end
elseif(newState == SCENE_HIDDEN) then
self.openingFramesToWait = nil
end
end)
- ingame/feedback/keyboard/feedback_keyboard.lua:40 -- INTERACT_WINDOW:RegisterCallback("Hidden", function() self:OnInteractWindowHidden() end)
- ingame/feedback/keyboard/feedback_keyboard.lua:41 -- INTERACT_WINDOW:RegisterCallback("Shown", function() self:OnInteractWindowShown() end)
- ingame/fence/fence_base.lua:18 -- FENCE_MANAGER:RegisterCallback("FenceOpened", function(sellsUsed, laundersUsed) self:OnOpened(sellsUsed, laundersUsed) 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()
elseif newState == SCENE_HIDING then
self:UnregisterEvents()
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:18 -- 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:112 -- 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:129 -- CALLBACK_MANAGER:RegisterCallback("AddOnEULAHidden", UpdateNewStates)
- ingame/gamepad/gamepadtemplates/gamepadtemplates.lua:38 -- self.spinner:RegisterCallback("OnValueChanged", function(newValue) self:OnValueChanged(newValue) end)
- ingame/group/gamepad/zo_groupdata_gamepad.lua:13 -- GAMEPAD_GROUP_DATA_FRAGMENT:RegisterCallback("StateChange",
function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:RefreshQueuedStatus(IsCurrentlySearchingForGroup())
end
end
)
- ingame/group/gamepad/zo_groupingtools_gamepad.lua:60 -- GAMEPAD_GROUPING_TOOLS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
self:ClearUpdate()
ZO_GamepadGenericHeader_Activate(self.header)
self:SetActivitySelectorInQueueMode(IsCurrentlySearchingForGroup())
SCENE_MANAGER:AddFragment(GAMEPAD_GROUP_ROLES_FRAGMENT)
elseif(newState == SCENE_HIDDEN) then
self.mainList:Deactivate()
ZO_GamepadGenericHeader_Deactivate(self.header)
SCENE_MANAGER:RemoveFragment(GAMEPAD_GROUP_ROLES_FRAGMENT)
end
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
end)
- ingame/group/gamepad/zo_groupingtools_gamepad.lua:79 -- CALLBACK_MANAGER:RegisterCallback("OnGroupStatusChange", function() self:RefreshHeader(self.activeHeaderData) end)
- ingame/group/gamepad/zo_groupmenu_gamepad.lua:105 -- GAMEPAD_GROUP_SCENE:RegisterCallback("StateChange", OnStateChanged)
- ingame/group/gamepad/zo_groupmenu_gamepad.lua:307 -- CALLBACK_MANAGER:RegisterCallback("OnGroupStatusChange", function() self:RefreshFooter() end)
- ingame/group/gamepad/zo_grouprolesbar_gamepad.lua:82 -- 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/group/keyboard/zo_groupingtools_keyboard.lua:226 -- GROUPING_TOOLS_SCENE:RegisterCallback("StateChange", OnStateChange)
- ingame/group/keyboard/zo_grouplist_keyboard.lua:40 -- GROUP_LIST_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif(newState == SCENE_SHOWN) then
self:RefreshData()
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/guild/gamepad/guildheraldry_gamepad.lua:49 -- 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:SetFirstIndexSelected()
self:SelectMode(ZO_HERALDRY_CATEGORY_MODE)
self:RegisterEvents()
StartHeraldryCustomization(self.guildId)
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.globalKeybindStripDescriptor)
elseif newState == SCENE_HIDING then
EndHeraldryCustomization()
self:UnregisterEvents()
self:SetDirectionalInputEnabled(false)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.globalKeybindStripDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.activeKeybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
self.activeKeybindStripDescriptor = nil
GAMEPAD_NAV_QUADRANT_1_BACKGROUND_FRAGMENT:TakeFocus()
if self.categoryList:IsActive() then
self.categoryList:Deactivate()
else
self:HideColorHighlight(nil, RESET_TO_SELECTED)
self:HideStyleHighlight(nil, RESET_TO_SELECTED)
end
end
end)
- ingame/guild/gamepad/guildhistory_gamepad.lua:49 -- GUILD_HISTORY_GAMEPAD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
if not self.initialized then
self.initialized = true
self:InitializeActivityList()
self:InitializeKeybindStripDescriptors()
end
self:InitializeEvents()
self:PopulateCategories()
self.categoryList:SetSelectedIndex(1)
self:RequestNewest()
self:SelectCategoryList()
elseif newState == SCENE_HIDING then
self:UninitializeEvents()
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/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:48 -- GAMEPAD_GUILD_HUB_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.displayMode = self.enterInSingleGuildList and GUILD_HUB_DISPLAY_MODE.SINGLE_GUILD_LIST or GUILD_HUB_DISPLAY_MODE.GUILDS_LIST
self.enterInSingleGuildList = false
self.displayedGuildId = nil
self.displayedCreateGuild = nil
self.filteredGuildId = nil
self:PerformDeferredInitializationHub()
self:Update()
local OnRefreshMatchGuildId = function(_, guildId)
local selectedData = self.guildList:GetTargetData()
if(self.optionsGuildId == guildId) then
self:Update()
end
end
self.control:RegisterForEvent(EVENT_GUILD_DATA_LOADED, function() self:Update() end)
self.control:RegisterForEvent(EVENT_PLAYER_STATUS_CHANGED, function() self:Update() end)
self.control:RegisterForEvent(EVENT_LEVEL_UPDATE, function() self:Update() end)
self.control:AddFilterForEvent(EVENT_LEVEL_UPDATE, REGISTER_FILTER_UNIT_TAG, "player")
self.control:RegisterForEvent(EVENT_GUILD_MOTD_CHANGED, OnRefreshMatchGuildId)
self.control:RegisterForEvent(EVENT_GUILD_DESCRIPTION_CHANGED, OnRefreshMatchGuildId)
self.control:RegisterForEvent(EVENT_GUILD_RANK_CHANGED, OnRefreshMatchGuildId)
self.control:RegisterForEvent(EVENT_GUILD_RANKS_CHANGED, OnRefreshMatchGuildId)
self.control:RegisterForEvent(EVENT_GUILD_MEMBER_RANK_CHANGED, OnRefreshMatchGuildId)
self.control:RegisterForEvent(EVENT_GUILD_KEEP_CLAIM_UPDATED, OnRefreshMatchGuildId)
self.control:RegisterForEvent(EVENT_GUILD_TRADER_HIRED_UPDATED, OnRefreshMatchGuildId)
TriggerTutorial(TUTORIAL_TRIGGER_GUILDS_HOME_OPENED)
elseif newState == SCENE_HIDDEN then
self.control:UnregisterForEvent(EVENT_GUILD_DATA_LOADED)
self.control:UnregisterForEvent(EVENT_PLAYER_STATUS_CHANGED)
self.control:UnregisterForEvent(EVENT_LEVEL_UPDATE)
self.control:UnregisterForEvent(EVENT_GUILD_MOTD_CHANGED)
self.control:UnregisterForEvent(EVENT_GUILD_DESCRIPTION_CHANGED)
self.control:UnregisterForEvent(EVENT_GUILD_RANK_CHANGED)
self.control:UnregisterForEvent(EVENT_GUILD_RANKS_CHANGED)
self.control:UnregisterForEvent(EVENT_GUILD_MEMBER_RANK_CHANGED)
self.control:UnregisterForEvent(EVENT_GUILD_KEEP_CLAIM_UPDATED)
self.control:UnregisterForEvent(EVENT_GUILD_TRADER_HIRED_UPDATED)
end
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
end)
- ingame/guild/gamepad/zo_guildinfo_gamepad.lua:31 -- 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:41 -- CALLBACK_MANAGER:RegisterCallback("ProfanityFilter_Off", OnProfanityFilterChange)
- ingame/guild/gamepad/zo_guildinfo_gamepad.lua:42 -- CALLBACK_MANAGER:RegisterCallback("ProfanityFilter_On", OnProfanityFilterChange)
- ingame/guild/gamepad/zo_guildranks_gamepad.lua:126 -- 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
OnRefresh()
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.iconSelector: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:38 -- GUILD_HERALDRY_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
MAIN_MENU_MANAGER:SetBlockingScene("guildHeraldry", OnBlockingSceneActivated)
KEYBIND_STRIP:RemoveDefaultExit()
StartHeraldryCustomization(self.guildId)
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
EndHeraldryCustomization()
end
end)
- ingame/guild/keyboard/guildheraldry_keyboard.lua:82 -- CALLBACK_MANAGER:RegisterCallback("OnGuildSelected", OnGuildSelected)
- ingame/guild/keyboard/guildhistory_keyboard.lua:44 -- GUILD_HISTORY_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/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:53 -- CALLBACK_MANAGER:RegisterCallback("ProfanityFilter_Off", function() manager:OnProfanityFilterChanged() end)
- ingame/guild/keyboard/guildhome_keyboard.lua:54 -- CALLBACK_MANAGER:RegisterCallback("ProfanityFilter_On", function() manager:OnProfanityFilterChanged() end)
- ingame/guild/keyboard/guildhome_keyboard.lua:57 -- 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:26 -- GUILD_ROSTER_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
self:PerformDeferredInitialization()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/guild/keyboard/zo_guildranks_keyboard.lua:133 -- GUILD_RANKS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
MAIN_MENU_MANAGER:SetBlockingScene("guildRanks", OnBlockingSceneActivated)
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif(newState == SCENE_HIDING) then
self:StopDragging()
elseif(newState == SCENE_HIDDEN) then
self:Cancel()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
-- Blocking scene is cleared in ConfirmExit() to prevent the scene manager from exiting then re-entering the main menu
end
end)
- ingame/guildkiosk/gamepad/guildkiosk_gamepad.lua:30 -- GUILD_KIOSK_PURCHASE_GAMEPAD_SCENE:RegisterCallback("StateChange", OnStateChanged)
- ingame/guildkiosk/gamepad/guildkiosk_gamepad.lua:398 -- 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_customer_service_gamepad.lua:146 -- HELP_CUSTOMER_SERVICE_GAMEPAD_SCENE:RegisterCallback("StateChange",
function(oldState, newState)
if newState == SCENE_SHOWING then
self:PrefillContactEmail()
self:UpdateFields()
elseif newState == SCENE_SHOWN then
HELP_CUSTOMER_SERVICE_GAMEPAD:AddKeybindsBasedOnState()
elseif newState == SCENE_HIDING then
KEYBIND_STRIP:RemoveKeybindButtonGroup(HELP_CUSTOMER_SERVICE_GAMEPAD.keybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
self.itemList:Clear()
self.itemList:Commit()
self:ResetTicket()
end
end)
- ingame/help/gamepad/help_entries_gamepad.lua:17 -- HELP_TUTORIALS_ENTRIES_GAMEPAD:RegisterCallback("StateChange", OnStateChanged)
- 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/interactwindow/gamepad/interactwindow_gamepad.lua:38 -- interactScene:RegisterCallback("StateChange", OnStateChange)
- ingame/interactwindow/keyboard/interactwindow_keyboard.lua:46 -- interactScene:RegisterCallback("StateChange", OnStateChange)
- ingame/inventory/inventory.lua:161 -- sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/inventory/inventory.lua:549 -- INVENTORY_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
if manager.isListDirty[INVENTORY_BACKPACK] or manager.isListDirty[INVENTORY_QUEST_ITEM] then
local UPDATE_EVEN_IF_HIDDEN = true
manager:UpdateList(INVENTORY_BACKPACK, UPDATE_EVEN_IF_HIDDEN)
manager:UpdateList(INVENTORY_QUEST_ITEM, UPDATE_EVEN_IF_HIDDEN)
end
manager:RefreshMoney()
elseif(newState == SCENE_FRAGMENT_HIDDEN) then
ZO_InventorySlot_RemoveMouseOverKeybinds()
ZO_PlayerInventory_EndSearch(ZO_PlayerInventorySearchBox)
manager:ClearNewStatusOnItemsThePlayerHasSeen(INVENTORY_BACKPACK)
end
end)
- ingame/inventory/inventory.lua:564 -- SHARED_INVENTORY:RegisterCallback("SlotAdded", function(bagId, slotIndex, newSlotData)
local inventory = manager.bagToInventoryType[bagId]
if inventory then
manager:OnInventoryItemAdded(inventory, bagId, slotIndex, newSlotData)
end
end)
- ingame/inventory/inventory.lua:571 -- SHARED_INVENTORY:RegisterCallback("SlotRemoved", function(bagId, slotIndex, oldSlotData)
local inventory = manager.bagToInventoryType[bagId]
if inventory then
manager:OnInventoryItemRemoved(inventory, bagId, slotIndex, oldSlotData)
end
end)
- ingame/inventory/inventory.lua:1487 -- BANK_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
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:1573 -- bankScene:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
self:RefreshAllInventorySlots(INVENTORY_BANK)
self:UpdateFreeSlots(INVENTORY_BACKPACK)
self:RefreshMoney()
self:RefreshBankedGold()
self:RefreshTelvarStones()
self:RefreshBankedTelvarStones()
bankFragmentBar:SelectFragment(SI_BANK_WITHDRAW)
elseif(newState == SCENE_HIDDEN) then
ZO_InventorySlot_RemoveMouseOverKeybinds()
ZO_PlayerInventory_EndSearch(ZO_PlayerBankSearchBox)
bankFragmentBar:Clear()
end
end)
- ingame/inventory/inventory.lua:1622 -- GUILD_BANK_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
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:1715 -- guildBankScene:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
self:RefreshMoney()
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:2167 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", OnFullInventoryUpdated)
- ingame/inventory/inventory.lua:2168 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", OnInventorySlotUpdated)
- ingame/inventory/inventory.lua:2182 -- SHARED_INVENTORY:RegisterCallback("FullQuestUpdate", OnQuestsUpdated)
- ingame/inventory/inventory.lua:2183 -- SHARED_INVENTORY:RegisterCallback("SingleQuestUpdate", OnSingleQuestUpdated)
- ingame/inventory/inventoryscene.lua:119 -- inventoryScene:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
self.modeBar:ShowLastFragment()
elseif(newState == SCENE_SHOWN) then
OnInventoryShown()
elseif(newState == SCENE_HIDDEN) then
self.modeBar:Clear()
ZO_InventorySlot_RemoveMouseOverKeybinds()
end
end)
- ingame/inventory/inventoryslot.lua:2107 -- CALLBACK_MANAGER:RegisterCallback("WornSlotUpdate", ZO_InventorySlot_HandleInventoryUpdate)
- ingame/inventory/inventoryslot.lua:2108 -- CALLBACK_MANAGER:RegisterCallback("InventorySlotUpdate", ZO_InventorySlot_HandleInventoryUpdate)
- ingame/inventory/inventorywallet.lua:34 -- self.sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/inventory/inventorywallet.lua:42 -- WALLET_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWN) then
self:UpdateList()
self:UpdateFreeSlots()
self:RefreshCurrency()
end
end)
- ingame/inventory/stack.lua:109 -- 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:43 -- GAMEPAD_INVENTORY_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
self:RefreshCategoryList()
self:SetSelectedInventoryData(nil)
self:SetSelectedItemUniqueId(self:GenerateItemSlotData(self.categoryList:GetTargetData()))
self.actionMode = CATEGORY_ITEM_ACTION_MODE
self:SetCurrentList(self.categoryList)
KEYBIND_STRIP:AddKeybindButtonGroup(self.rootKeybindDescriptor)
ZO_InventorySlot_SetUpdateCallback(function() self:RefreshItemActionList() end)
self:RefreshHeader()
elseif(newState == SCENE_SHOWN) then
OnInventoryShown()
elseif newState == SCENE_HIDING then
ZO_InventorySlot_SetUpdateCallback(nil)
self:DisableCurrentList()
elseif newState == SCENE_HIDDEN then
self:SetSelectedInventoryData(nil)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.rootKeybindDescriptor)
end
end)
- ingame/inventory/gamepad/gamepadinventory.lua:73 -- GAMEPAD_INVENTORY_ITEM_FILTER_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.actionMode = ITEM_LIST_ACTION_MODE
self:RefreshItemList()
self:SetSelectedItemUniqueId(self.itemList:GetTargetData())
if self.itemList:IsEmpty() then
return -- bail in case refreshing the list caused the scene to hide.
end
self:SetCurrentList(self.itemList)
if self.selectedItemFilterType == ITEMFILTERTYPE_QUICKSLOT then
KEYBIND_STRIP:AddKeybindButton(self.quickslotKeybindDescriptor)
TriggerTutorial(TUTORIAL_TRIGGER_INVENTORY_OPENED_AND_QUICKSLOTS_AVAILABLE)
elseif self.selectedItemFilterType == ITEMFILTERTYPE_ARMOR or self.selectedItemFilterType == ITEMFILTERTYPE_WEAPONS then
KEYBIND_STRIP:AddKeybindButton(self.toggleCompareModeKeybindStripDescriptor)
end
self:UpdateRightTooltip()
KEYBIND_STRIP:AddKeybindButtonGroup(self.itemFilterKeybindStripDescriptor)
ZO_InventorySlot_SetUpdateCallback(function() self:RefreshItemActionList() end)
self:RefreshHeader()
self:RefreshItemActionList()
elseif newState == SCENE_HIDING then
ZO_InventorySlot_SetUpdateCallback(nil)
self:DisableCurrentList()
self.listWaitingOnDestroyRequest = nil
elseif newState == SCENE_HIDDEN then
self:SetSelectedInventoryData(nil)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.itemFilterKeybindStripDescriptor)
KEYBIND_STRIP:RemoveKeybindButton(self.quickslotKeybindDescriptor)
KEYBIND_STRIP:RemoveKeybindButton(self.toggleCompareModeKeybindStripDescriptor)
if SCENE_MANAGER:IsShowingNext("gamepad_inventory_item_actions") then
--if taking action on an item, it is no longer new
self.clearNewStatusOnSelectionChanged = true
else
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_RIGHT_TOOLTIP)
end
self:TryClearNewStatusOnHidden()
ZO_SavePlayerConsoleProfile()
end
end)
- ingame/inventory/gamepad/gamepadinventory.lua:122 -- GAMEPAD_INVENTORY_ITEM_ACTIONS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RefreshItemActionList()
if self.actionMode == ITEM_LIST_ACTION_MODE then
self:UpdateItemLeftTooltip(self.currentlySelectedData)
else
self:UpdateCategoryLeftTooltip(self.currentlySelectedData)
end
self:SetCurrentList(self.itemActionList)
KEYBIND_STRIP:AddKeybindButtonGroup(self.itemActionsKeybindStripDescriptor)
ZO_InventorySlot_SetUpdateCallback(function() self:RefreshItemActionList() end)
elseif newState == SCENE_HIDING then
ZO_InventorySlot_SetUpdateCallback(nil)
self:DisableCurrentList()
elseif newState == SCENE_HIDDEN then
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_RIGHT_TOOLTIP)
self:SetSelectedInventoryData(nil)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.itemActionsKeybindStripDescriptor)
end
end)
- ingame/inventory/gamepad/gamepadinventory.lua:644 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/gamepadinventory.lua:645 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/gamepadinventory.lua:647 -- SHARED_INVENTORY:RegisterCallback("FullQuestUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/gamepadinventory.lua:648 -- SHARED_INVENTORY:RegisterCallback("SingleQuestUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/guildbankerror_gamepad.lua:20 -- GAMEPAD_GUILD_BANK_ERROR_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
self:SetupMessage()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/inventory/gamepad/guildbank_gamepad.lua:335 -- self:GetListFragment(self.withdrawList):RegisterCallback("StateChange", self.OnWithdrawDepositStateChanged)
- ingame/inventory/gamepad/guildbank_gamepad.lua:336 -- self:GetListFragment(self.depositList):RegisterCallback("StateChange", self.OnWithdrawDepositStateChanged)
- ingame/inventory/gamepad/inventorylist_gamepad.lua:106 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/inventorylist_gamepad.lua:107 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", OnSingleSlotInventoryUpdate)
- ingame/keybindings/keyboard/keybindings.lua:28 -- KEYBINDINGS_FRAGMENT:RegisterCallback("StateChange", OnStateChanged)
- ingame/leaderboards/leaderboards_shared.lua:156 -- CALLBACK_MANAGER:RegisterCallback("OnLeaderboardMasterListUpdated", function()
if scene:IsShowing() then
self:OnLeaderboardDataChanged(self.leaderboardObject)
end
end)
- ingame/leaderboards/gamepad/campaignleaderboards_gamepad.lua:86 -- GAMEPAD_CAMPAIGN_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:PerformDeferredInitialization(control)
self.selector.dataRegistration:Refresh()
self:SetActiveCampaign()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self.selector.dataRegistration:Refresh()
end
end)
- ingame/leaderboards/gamepad/raidleaderboards_gamepad.lua:13 -- GAMEPAD_RAID_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:PerformDeferredInitialization(control)
self:UpdateAllInfo()
local NO_NAME, NO_ICON
GAMEPAD_LEADERBOARDS:SetActiveCampaign(NO_NAME, NO_ICON)
end
end)
- ingame/leaderboards/keyboard/campaignleaderboards_keyboard.lua:134 -- CAMPAIGN_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
QueryCampaignLeaderboardData()
self.selector.dataRegistration:Refresh()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self.selector.dataRegistration:Refresh()
end
end)
- ingame/leaderboards/keyboard/leaderboards_keyboard.lua:76 -- 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:26 -- RAID_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateAllInfo()
QueryRaidLeaderboardData()
end
end)
- ingame/lockpick/lockpick.lua:144 -- LOCK_PICK_SCENE:RegisterCallback("StateChange", OnSceneStateChange)
- ingame/lockpick/lockpick.lua:147 -- LOCK_PICK_GAMEPAD_SCENE:RegisterCallback("StateChange", OnSceneStateChange)
- 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:78 -- LORE_READER_INVENTORY_SCENE:RegisterCallback("StateChange", OnPCSceneStateChange)
- ingame/lorereader/lorereader.lua:79 -- LORE_READER_LORE_LIBRARY_SCENE:RegisterCallback("StateChange", OnPCSceneStateChange)
- ingame/lorereader/lorereader.lua:80 -- LORE_READER_INTERACTION_SCENE:RegisterCallback("StateChange", OnPCSceneStateChange)
- ingame/lorereader/lorereader.lua:81 -- GAMEPAD_LORE_READER_INVENTORY_SCENE:RegisterCallback("StateChange", OnGamepadSceneStateChange)
- ingame/lorereader/lorereader.lua:82 -- GAMEPAD_LORE_READER_LORE_LIBRARY_SCENE:RegisterCallback("StateChange", OnGamepadSceneStateChange)
- ingame/lorereader/lorereader.lua:83 -- GAMEPAD_LORE_READER_INTERACTION_SCENE:RegisterCallback("StateChange", OnGamepadSceneStateChange)
- ingame/mail/gamepad/mailinbox_gamepad.lua:99 -- 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:31 -- MAIL_INBOX_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
KEYBIND_STRIP:AddKeybindButtonGroup(manager.selectionKeybindStripDescriptor)
if(manager.inboxDirty) then
manager:RefreshData()
end
elseif(newState == SCENE_HIDING) then
CURRENCY_INPUT:Hide()
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(manager.selectionKeybindStripDescriptor)
elseif(newState == SCENE_SHOWN) then
if self.dirtyMail then
OnMailReadable(self.dirtyMail)
end
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:120 -- self:RegisterCallback("OnBlockingSceneActivated", callback, arg)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:292 -- 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:442 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", MarkNewnessDirty)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:443 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", MarkNewnessDirty)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:446 -- MAIN_MENU_MANAGER:RegisterCallback("OnPlayerStateUpdate", function() self:UpdateCategories() end)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:447 -- MAIN_MENU_MANAGER:RegisterCallback("OnBlockingSceneCleared", OnBlockingSceneCleared)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:301 -- MAIN_MENU_MANAGER:RegisterCallback("OnPlayerStateUpdate", function() self:UpdateCategories() end)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:302 -- MAIN_MENU_MANAGER:RegisterCallback("OnBlockingSceneActivated", OnBlockingSceneActivated)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:303 -- MAIN_MENU_MANAGER:RegisterCallback("OnBlockingSceneCleared", OnBlockingSceneCleared)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:462 -- CALLBACK_MANAGER:RegisterCallback(callbackName, function()
if self.sceneShowGroupName == sceneGroupName then
ZO_MenuBar_UpdateButtons(self.sceneGroupBar, FORCE_SELECTION)
end
end)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:616 -- scene:RegisterCallback("StateChange", self.sceneShowCallback)
- ingame/map/worldmap.lua:6193 -- WORLD_MAP_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
g_keybindStrips.zoomKeybind:SetHidden(false)
KEYBIND_STRIP:AddKeybindButtonGroup(g_keybindStrips.PC:GetDescriptor())
KEYBIND_STRIP:AddKeybindButtonGroup(g_keybindStrips.mouseover: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:6212 -- GAMEPAD_WORLD_MAP_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
ZO_WorldMap_SetGamepadKeybindsShown(true)
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)
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(g_keybindStrips.gamepad:GetDescriptor())
KEYBIND_STRIP:RemoveKeybindButtonGroup(g_keybindStrips.gamepadCloseOptions:GetDescriptor())
g_gamepadMap:StopMotion()
if ZO_WorldMapButtonsToggleSize then
ZO_WorldMapButtonsToggleSize:SetHidden(false)
end
ZO_SavePlayerConsoleProfile()
ZO_WorldMap_SetGamepadKeybindsShown(false)
end
end)
- ingame/map/worldmap.lua:6422 -- QUEST_TRACKER:RegisterCallback("QuestTrackerAssistStateChanged", OnAssistStateChanged)
- ingame/map/worldmap.lua:6424 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function(wasNavigateIn)
ZO_WorldMapMouseoverName:SetText("")
ZO_WorldMapMouseOverDescription:SetText("")
ZO_WorldMapMouseoverName.owner = ""
UpdateMovingPins()
ZO_WorldMap_UpdateMap()
g_mapPanAndZoom:OnWorldMapChanged(wasNavigateIn)
g_keybindStrips.mouseover:MarkDirty()
g_keybindStrips.PC:MarkDirty()
g_keybindStrips.gamepad:MarkDirty()
g_dataRegistration:Refresh()
TryTriggeringTutorials()
end)
- ingame/map/worldmap.lua:6438 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapModeChanged", function()
KEYBIND_STRIP:UpdateKeybindButtonGroup(g_keybindStripDescriptor)
end)
- ingame/map/worldmap.lua:6474 -- WORLD_MAP_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
UpdateMovingPins()
g_dataRegistration:Refresh()
g_mapPanAndZoom:OnWorldMapShowing()
TryTriggeringTutorials()
elseif(newState == SCENE_FRAGMENT_HIDING) then
HideAllTooltips()
ResetMouseOverPins()
elseif(newState == SCENE_FRAGMENT_HIDDEN) then
g_dataRegistration:Refresh()
end
end)
- ingame/map/worldmap.lua:6719 -- GAMEPAD_WORLD_MAP_CHOICE_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
ZO_WorldMap_SetGamepadKeybindsShown(false)
ZO_WorldMapGamepadInteractKeybind:SetHidden(true)
control.m_keybindState = KEYBIND_STRIP:PushKeybindGroupState()
KEYBIND_STRIP:AddKeybindButtonGroup(control.activeKeybind, control.m_keybindState)
control.list:Activate()
elseif(newState == SCENE_FRAGMENT_HIDDEN) then
control.list:Deactivate()
if control.activeKeybind then
KEYBIND_STRIP:RemoveKeybindButtonGroup(control.activeKeybind, control.m_keybindState)
control.activeKeybind = nil
end
KEYBIND_STRIP:PopKeybindGroupState()
ZO_WorldMap_SetGamepadKeybindsShown(true)
end
end)
- ingame/map/worldmapfilters_shared.lua:130 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", OnMapChanged)
- ingame/map/worldmapfilters_shared.lua:131 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapModeChanged", OnMapChanged)
- ingame/map/worldmapkeepinfo_shared.lua:207 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapCampaignChanged", function()
if(self.keepUpgradeObject) then
self.keepUpgradeObject:SetBGQueryType(ZO_WorldMap_GetBattlegroundQueryType())
CALLBACK_MANAGER:FireCallbacks("OnWorldMapKeepChanged")
end
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 -- 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/worldmapquests_shared.lua:27 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapQuestsDataRefresh", LayoutList)
- ingame/map/worldmapquests_shared.lua:68 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", RefreshList)
- ingame/map/gamepad/worldmapfilters_gamepad.lua:212 -- 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:224 -- 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)
end)
- ingame/map/gamepad/worldmapinfo_gamepad.lua:12 -- GAMEPAD_WORLD_MAP_INFO_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
ZO_GamepadGenericHeader_Activate(self.header)
ZO_WorldMap_SetGamepadKeybindsShown(false)
self:ShowCurrentFragments()
elseif(newState == SCENE_FRAGMENT_HIDDEN) then
ZO_GamepadGenericHeader_Deactivate(self.header)
self:RemoveCurrentFragments()
end
end)
- ingame/map/gamepad/worldmapkeepinfo_gamepad.lua:30 -- self.worldMapKeepInfoFragment:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
ZO_WorldMap_SetKeepMode(true)
ZO_GamepadGenericHeader_Activate(self.header)
if self.fragments then
SCENE_MANAGER:AddFragmentGroup(self.fragments)
end
elseif(newState == SCENE_FRAGMENT_HIDDEN) then
self.keepUpgradeObject = nil
ZO_GamepadGenericHeader_Deactivate(self.header)
if self.fragments then
SCENE_MANAGER:RemoveFragmentGroup(self.fragments)
end
ZO_WorldMap_SetKeepMode(false)
end
end)
- ingame/map/gamepad/worldmapkeepupgrade_gamepad.lua:40 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWN) then
self:RefreshAll()
DIRECTIONAL_INPUT:Activate(self, control)
SCENE_MANAGER:AddFragment(GAMEPAD_NAV_QUADRANT_4_BACKGROUND_FRAGMENT)
elseif(newState == SCENE_FRAGMENT_HIDDEN) then
self.keepUpgradeObject = nil
DIRECTIONAL_INPUT:Deactivate(self)
self.scrollTooltip:ClearLines()
SCENE_MANAGER:RemoveFragment(GAMEPAD_NAV_QUADRANT_4_BACKGROUND_FRAGMENT)
end
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:31 -- GAMEPAD_WORLD_MAP_QUESTS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
self.data:RefreshList()
self.questList:Activate()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.questList:Deactivate()
end
end)
- ingame/map/keyboard/worldmapcorner_keyboard.lua:9 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function()
UpdateTitle(titleLabel)
end)
- ingame/map/keyboard/worldmapfilters_keyboard.lua:138 -- WORLD_MAP_KEY_FILTERS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
self.currentPanel:LoadInitialState()
end
end)
- ingame/map/keyboard/worldmapfilters_keyboard.lua:144 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapSavedVarsReady", function(savedVars)
self.pvePanel = PvEWorldMapFilterPanel:New(self.control:GetNamedChild("PvE"), MAP_FILTER_TYPE_STANDARD, savedVars)
self.pvpPanel = PvPWorldMapFilterPanel:New(self.control:GetNamedChild("PvP"), MAP_FILTER_TYPE_AVA_CYRODIIL, savedVars)
self.imperialPvPPanel = ImperialPvPWorldMapFilterPanel:New(self.control:GetNamedChild("ImperialPvP"), MAP_FILTER_TYPE_AVA_IMPERIAL, savedVars)
end)
- ingame/map/keyboard/worldmapinfo_keyboard.lua:12 -- WORLD_MAP_INFO_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
self.modeBar:ShowLastFragment()
elseif(newState == SCENE_FRAGMENT_HIDDEN) then
self.modeBar:Clear()
end
end)
- ingame/map/keyboard/worldmapkeepinfo_keyboard.lua:28 -- self.worldMapKeepInfoFragment:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_HIDDEN) then
self.keepUpgradeObject = nil
self.modeBar:Clear()
end
end)
- ingame/map/keyboard/worldmapkeepupgrade_keyboard.lua:27 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWN) then
self:RefreshAll()
elseif(newState == SCENE_FRAGMENT_HIDDEN) then
self.keepUpgradeObject = nil
end
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 -- WORLD_MAP_QUESTS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
self.data:RefreshList()
end
end)
- ingame/map/keyboard/worldmapquests_keyboard.lua:23 -- QUEST_TRACKER:RegisterCallback("QuestTrackerAssistStateChanged", function(...) self:RefreshHeaders() end)
- ingame/quickslot/quickslot.lua:100 -- manager.sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/quickslot/quickslot.lua:224 -- QUICKSLOT_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWN) then
manager:UpdateList()
manager:UpdateFreeSlots()
end
end)
- ingame/quickslot/quickslot.lua:232 -- 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
end
end)
- ingame/quickslot/quickslot.lua:239 -- COLLECTIONS_INVENTORY_SINGLETON:RegisterCallback("CollectionsInventoryUpdate", RefreshQuickslotWindow)
- ingame/quickslot/gamepad/gamepadquickslot.lua:42 -- GAMEPAD_QUICKSLOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
--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
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.activeCount = nil
self.slotIndexForAnim = nil
self.enteringMenuUnslottedItem = false
self.radialMenu.activeIcon:SetHidden(false)
self.radialMenu.activeCount: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/scenes/ingamefragments.lua:184 -- fragment:RegisterCallback("StateChange", function(...) fragment:OnStateChange(...) end)
- ingame/scenes/ingamefragments.lua:333 -- fragment:RegisterCallback("StateChange", function(...) fragment:OnStateChange(...) end)
- ingame/scenes/ingamefragments.lua:897 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
fragment:Refresh()
end)
- ingame/scenes/ingamefragments.lua:900 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
fragment:Refresh()
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/sharedskills.lua:170 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", function()
if hadUpdateWhileCrafting then
UpdateSkillInfoHeader()
hadUpdateWhileCrafting = false
end
end)
- ingame/skills/gamepad/gamepadskills.lua:31 -- GAMEPAD_SKILLS_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
GAMEPAD_SKILLS_ROOT_SCENE:AddFragment(skillLineXPBarFragment)
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
if newState == SCENE_SHOWING then
GAMEPAD_TOOLTIPS:SetBottomRailHidden(GAMEPAD_LEFT_TOOLTIP, true)
GAMEPAD_TOOLTIPS:SetBottomRailHidden(GAMEPAD_RIGHT_TOOLTIP, true)
self:SetMode(SKILL_LIST_BROWSE_MODE)
self:RefreshHeader(GetString(SI_MAIN_MENU_SKILLS))
self.assignableActionBar:Refresh()
self:RefreshCategoryList()
self:RefreshPointsDisplay()
KEYBIND_STRIP:AddKeybindButtonGroup(self.categoryKeybindStripDescriptor)
TriggerTutorial(TUTORIAL_TRIGGER_COMBAT_SKILLS_OPENED)
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_HIDDEN then
self:DisableCurrentList()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.categoryKeybindStripDescriptor)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_RIGHT_TOOLTIP)
end
end)
- ingame/skills/gamepad/gamepadskills.lua:66 -- GAMEPAD_SKILLS_LINE_FILTER_SCENE:RegisterCallback("StateChange", function(oldState, newState)
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
if newState == SCENE_SHOWING then
self:SetMode(ABILITY_LIST_BROWSE_MODE)
self:RefreshHeader(self.categoryList:GetTargetData().text)
self.assignableActionBar:Refresh()
self:RefreshLineFilterList()
KEYBIND_STRIP:AddKeybindButtonGroup(self.lineFilterKeybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
self:DisableCurrentList()
self:TryClearNewStatus()
self.clearNewStatusCallId = nil
self.clearNewStatusSkillType = nil
self.clearNewStatusSkillLineIndex = nil
self.clearNewStatusAbilityIndex = nil
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.lineFilterKeybindStripDescriptor)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_RIGHT_TOOLTIP)
if self.mode == SINGLE_ABILITY_ASSIGN_MODE then
self.actionBarAnimation:PlayInstantlyToStart()
end
end
end)
- ingame/skills/gamepad/gamepadskills.lua:92 -- GAMEPAD_SKILLS_BUILD_PLANNER_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.modeBeforeBuildPlannerShow = self.mode
if self.modeBeforeBuildPlannerShow == SKILL_LIST_BROWSE_MODE then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.categoryKeybindStripDescriptor)
elseif self.modeBeforeBuildPlannerShow == ABILITY_LIST_BROWSE_MODE then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.lineFilterKeybindStripDescriptor)
end
self:SetMode(BUILD_PLANNER_ASSIGN_MODE)
KEYBIND_STRIP:AddKeybindButtonGroup(self.buildPlannerKeybindStripDescriptor)
self:RefreshSelectedTooltip()
elseif newState == SCENE_HIDING then
self.assignableActionBar:SetLockMode(ASSIGNABLE_ACTION_BAR_LOCK_MODE_NONE)
elseif newState == SCENE_HIDDEN then
self.buildPlannerList:Deactivate()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.buildPlannerKeybindStripDescriptor)
if self.modeBeforeBuildPlannerShow == SKILL_LIST_BROWSE_MODE then
KEYBIND_STRIP:AddKeybindButtonGroup(self.categoryKeybindStripDescriptor)
elseif self.modeBeforeBuildPlannerShow == ABILITY_LIST_BROWSE_MODE then
KEYBIND_STRIP:AddKeybindButtonGroup(self.lineFilterKeybindStripDescriptor)
end
self:SetMode(self.modeBeforeBuildPlannerShow)
self.modeBeforeBuildPlannerShow = nil
self:RefreshSelectedTooltip()
end
end)
- ingame/skills/gamepad/gamepadskills.lua:126 -- GAMEPAD_SKILLS_SCENE_GROUP:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_GROUP_SHOWING then
self:PerformDeferredInitialization()
self.showAttributeDialog = GetAttributeUnspentPoints() > 0
end
end)
- 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:96 -- STABLES_SCENE:RegisterCallback("StateChange", OnStateChanged)
- ingame/stats/zo_stats_common.lua:116 -- self.pointsSpinner:RegisterCallback("OnValueChanged", function(points) self:OnValueChanged(points) end)
- ingame/stats/gamepad/zo_stats_gamepad.lua:59 -- GAMEPAD_STATS_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitializationRoot()
self:TryResetScreenState()
self:RefreshBattleLevelHeader()
self:ActivateMainList()
local function OnUpdate(_, unitTag)
if unitTag == "player" then
self:Update()
end
end
local function OnRefresh()
self:Update()
end
self.control:RegisterForEvent(EVENT_STATS_UPDATED, OnUpdate)
self.control:RegisterForEvent(EVENT_LEVEL_UPDATE, OnUpdate)
self.control:RegisterForEvent(EVENT_EFFECT_CHANGED, OnRefresh)
self.control:AddFilterForEvent(EVENT_EFFECT_CHANGED, REGISTER_FILTER_UNIT_TAG, "player")
self.control:RegisterForEvent(EVENT_EFFECTS_FULL_UPDATE, OnRefresh)
self.control:RegisterForEvent(EVENT_ATTRIBUTE_UPGRADE_UPDATED, OnRefresh)
self.control:RegisterForEvent(EVENT_TITLE_UPDATE, OnUpdate)
self.control:RegisterForEvent(EVENT_PLAYER_TITLES_UPDATE, OnRefresh)
self.control:RegisterForEvent(EVENT_CHAMPION_POINT_GAINED, OnRefresh)
self.control:RegisterForEvent(EVENT_CHAMPION_SYSTEM_UNLOCKED, OnRefresh)
STABLE_MANAGER:RegisterCallback("StableMountInfoUpdated", OnRefresh)
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
self.control:UnregisterForEvent(EVENT_STATS_UPDATED)
self.control:UnregisterForEvent(EVENT_LEVEL_UPDATE)
self.control:UnregisterForEvent(EVENT_EFFECT_CHANGED)
self.control:UnregisterForEvent(EVENT_EFFECTS_FULL_UPDATE)
self.control:UnregisterForEvent(EVENT_ATTRIBUTE_UPGRADE_UPDATED)
self.control:UnregisterForEvent(EVENT_TITLE_UPDATE)
self.control:UnregisterForEvent(EVENT_PLAYER_TITLES_UPDATE)
STABLE_MANAGER:UnregisterCallback("StableMountInfoUpdated", OnRefresh)
end
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
end)
- ingame/stats/gamepad/zo_stats_gamepad.lua:87 -- STABLE_MANAGER:RegisterCallback("StableMountInfoUpdated", OnRefresh)
- ingame/stats/keyboard/zo_stats_keyboard.lua:96 -- STATS_SCENE:RegisterCallback("StateChange", OnStateChange)
- ingame/stats/keyboard/zo_stats_keyboard.lua:386 -- 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)
elseif newState == SCENE_HIDING then
self:UnregisterEvents()
GAMEPAD_TOOLTIPS:ClearTooltip(GAMEPAD_RIGHT_TOOLTIP)
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:102 -- 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:26 -- STORE_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
manager:RefreshCurrency()
manager:GetStoreItems()
manager:UpdateList()
manager:UpdateFreeSlots()
end
end)
- ingame/storewindow/keyboard/storewindow_keyboard.lua:86 -- manager.buyMultipleSpinner:RegisterCallback("OnValueChanged", function() manager:RefreshBuyMultiple() end)
- ingame/storewindow/keyboard/storewindow_keyboard.lua:104 -- manager.sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/storewindow/keyboard/storewindow_keyboard.lua:212 -- storeScene:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
manager:InitializeStore()
elseif(newState == SCENE_HIDDEN) then
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(manager.keybindStripDescriptor)
manager.modeBar:Clear()
if(GetCursorContentType() == MOUSE_CONTENT_STORE_ITEM) then
ClearCursor()
end
end
end)
- ingame/tradewindow/keyboard/tradewindow_keyboard.lua:82 -- tradeScene:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
TradeCancel()
CURRENCY_INPUT:Hide()
TradeSetMoney(0)
self.myOfferedMoney = 0
end
end)
- ingame/tradinghouse/gamepad/tradinghouse_browse_gamepad.lua:510 -- self.priceSelector:RegisterCallback("OnValueChanged", function() self:ValidatePriceSelectorValue(self.priceSelector:GetValue()) 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:151 -- self.priceSelector:RegisterCallback("OnValueChanged", function() self:ValidatePriceSelectorValue(self.priceSelector:GetValue()) end)
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:140 -- TRADING_HOUSE_GAMEPAD_SCENE:GetSceneGroup():RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_GROUP_SHOWING then
self:OnInitialInteraction()
self:SetSearchAllowed(true)
elseif newState == SCENE_GROUP_HIDDEN then
self:OnEndInteraction()
end
end)
- ingame/tradinghouse/gamepad/tradinghouse_gamepad.lua:149 -- TRADING_HOUSE_GAMEPAD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
ZO_GamepadGenericHeader_Activate(self.m_header)
ZO_GamepadGenericHeader_SetActiveTabIndex(self.m_header, self:GetCurrentMode())
self:RefreshHeaderData()
self:RegisterForSceneEvents()
elseif newState == SCENE_SHOWN then
-- This is in SCENE_SHOWN because SCENE_GROUP_SHOWING fires after SCENE_SHOWING and OnInitialInteraction needs to be called before the curren object is shown
if self.m_currentObject then
self.m_currentObject:Show()
end
elseif newState == SCENE_HIDDEN then
self:UnregisterForSceneEvents()
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
ZO_GamepadGenericHeader_Deactivate(self.m_header)
if self.m_currentObject then
self.m_currentObject:Hide()
end
end
end)
- ingame/tradinghouse/gamepad/tradinghouse_templates_gamepad.lua:154 -- fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:UpdateList()
if not self.awaitingResponse then
self.itemList:Activate()
end
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self:OnShowing()
elseif newState == SCENE_SHOWN then
self:OnShown()
elseif newState == SCENE_HIDING then
self:OnHiding()
self.itemList:Deactivate()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
self:OnHidden()
end
end)
- ingame/tradinghouse/gamepad/tradinghouse_templates_gamepad.lua:236 -- fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:Activate()
self:RequestListUpdate()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self:OnShowing()
elseif newState == SCENE_SHOWN then
self:OnShown()
elseif newState == SCENE_HIDING then
self:OnHiding()
self:Deactivate()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
self:OnHidden()
end
end)
- ingame/tradinghouse/keyboard/tradinghouse_keyboard.lua:162 -- TRADING_HOUSE_SCENE:RegisterCallback("StateChange", SceneStateChange)
- ingame/tradinghouse/keyboard/tradinghouse_keyboard.lua:357 -- sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/treasuremap/treasuremap.lua:40 -- GAMEPAD_TREASURE_MAP_INVENTORY_SCENE:RegisterCallback("StateChange", OnGamepadSceneStateChange)
- ingame/treasuremap/treasuremap.lua:44 -- 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:53 -- self:GetOwner():RegisterCallback("AttributeBarSizeChangingStart", function(...) OnSizeChanged(STARTING_RESIZE, ...) end)
- ingame/unitattributevisualizer/modules/powershield.lua:54 -- self:GetOwner():RegisterCallback("AttributeBarSizeChangingStopped", function(...) OnSizeChanged(STOPPING_RESIZE, ...) end)
- ingame/unitframes/unitframes.lua:2044 -- CALLBACK_MANAGER:RegisterCallback("TargetOfTargetEnabledChanged", OnTargetOfTargetEnabledChanged)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:90 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
end)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:97 -- VOICE_CHAT_MANAGER:RegisterCallback("ChannelsUpdate", function() self:Update() end)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:98 -- VOICE_CHAT_MANAGER:RegisterCallback("ParticipantsUpdate", function()
self:UpdateParticipants()
self:UpdateKeybinds()
end)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:102 -- VOICE_CHAT_MANAGER:RegisterCallback("MuteUpdate", function() self:Update() end)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:103 -- VOICE_CHAT_MANAGER:RegisterCallback("RequestsAllowed", function() self:UpdateKeybinds() end)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:104 -- VOICE_CHAT_MANAGER:RegisterCallback("RequestsDisabled", function()
local SHOULD_PERSIST = true
KEYBIND_STRIP:TriggerCooldown(self.joinOrActivateChannelBind, VOICE_CHAT_REQUEST_DELAY, nil, SHOULD_PERSIST)
KEYBIND_STRIP:TriggerCooldown(self.leaveChannelBind, VOICE_CHAT_REQUEST_DELAY, nil, SHOULD_PERSIST)
end)
- ingame/voicechat/console/zo_voicechathud_gamepad.lua:17 -- CALLBACK_MANAGER:RegisterCallback("PlayerProgressBarFadingIn", OnPlayerProgressBarShowing())
- ingame/voicechat/console/zo_voicechathud_gamepad.lua:18 -- CALLBACK_MANAGER:RegisterCallback("PlayerProgressBarFadingOut", OnPlayerProgressBarHiding())
- ingame/voicechat/console/zo_voicechatparticipantoptions_gamepad.lua:43 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
end)
- ingame/voicechat/console/zo_voicechatparticipantoptions_gamepad.lua:49 -- VOICE_CHAT_MANAGER:RegisterCallback("MuteUpdate", function() self:Update() 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/gamepad/loothistory_gamepad.lua:15 -- 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:27 -- LOOT_INVENTORY_SCENE_GAMEPAD:RegisterCallback("StateChange", OnStateChanged)
- ingame/zo_loot/gamepad/lootpickup_gamepad.lua:33 -- LOOT_SCENE_GAMEPAD:RegisterCallback("StateChange", OnStateChanged)
- ingame/zo_loot/keyboard/loothistory_keyboard.lua:15 -- 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/focusedquesttracker.lua:19 -- CALLBACK_MANAGER:RegisterCallback("GamepadChatSystemActiveOnScreen", function() self:TryFadeOut() end)
- ingame/zo_quest/focusedquesttracker.lua:20 -- QUEST_TRACKER:RegisterCallback("QuestTrackerAssistStateChanged", function() self:InitialTrackingUpdate() end)
- ingame/zo_quest/focusedquesttracker.lua:21 -- QUEST_TRACKER:RegisterCallback("QuestTrackerReactivate", function() self:TryFadeIn() end)
- ingame/zo_quest/questjournal_manager.lua:34 -- QUEST_TRACKER:RegisterCallback("QuestTrackerAssistStateChanged", OnAssistChanged)
- ingame/zo_quest/questtracker.lua:286 -- self:RegisterCallback("QuestTrackerAssistStateChanged", function(unassistedQuestIndex, questIndex, questIndexIsAssisted) tracker:OnQuestAssistStateChanged(unassistedQuestIndex, questIndex, questIndexIsAssisted) end)
- ingame/zo_quest/questtracker.lua:297 -- INTERACT_WINDOW:RegisterCallback("Hidden", function() tracker.assistedQuestCompleted = false end)
- ingame/zo_quest/gamepad/questjournal_gamepad.lua:294 -- GAMEPAD_QUEST_JOURNAL_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
if self.listDirty then
self:RefreshQuestCount()
self:RefreshQuestMasterList()
self:RefreshQuestList()
end
self:FocusQuestWithIndex(QUEST_JOURNAL_MANAGER:GetFocusedQuestIndex())
self:SetCurrentList(self.questList)
ZO_GamepadGenericHeader_Refresh(self.header, self.headerData)
ZO_GamepadGenericHeader_Refresh(self.contentHeader, self.contentHeaderData)
if not returningFromOptions then
local questListEmpty = self.questList:IsEmpty()
if questListEmpty then
self:RefreshDetails()
elseif QUEST_JOURNAL_MANAGER:GetFocusedQuestIndex() then
self:SelectFocusedQuest()
elseif not questListEmpty then
self.questList:SetSelectedIndexWithoutAnimation(1)
end
else
returningFromOptions = false
end
self:SetKeybindButtonGroup(self.mainKeybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
self.questList:Deactivate()
self:SetKeybindButtonGroup(nil)
end
end)
- ingame/zo_quest/gamepad/questjournal_gamepad.lua:333 -- GAMEPAD_QUEST_JOURNAL_OPTIONS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RefreshOptionsList()
self:SetCurrentList(self.optionsList)
self:SetKeybindButtonGroup(self.optionsKeybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
if SCENE_MANAGER:IsShowingNext(self.sceneName) then
returningFromOptions = true
end
self.optionsList:Deactivate()
self:SetKeybindButtonGroup(nil)
end
end)
- ingame/zo_quest/keyboard/questjournal_keyboard.lua:192 -- 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/market/market_shared.lua:160 -- self.marketScene:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/gamepad/marketdialogs_gamepad.lua:62 -- self.marketPurchaseScene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWN then
ZO_Dialogs_ShowGamepadDialog(DIALOG_FLOW[FLOW_CONFIRMATION])
end
end)
- internalingame/market/gamepad/market_gamepad.lua:53 -- GAMEPAD_MARKET_PREVIEW_SCENE:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/gamepad/market_gamepad.lua:196 -- 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:299 -- CALLBACK_MANAGER:RegisterCallback("OnGamepadDialogHidden", self.OnGamepadDialogHidden)
- internalingame/market/gamepad/market_gamepad.lua:571 -- categoryData.fragment:RegisterCallback("StateChange", OnCategoryFragmentStateChanged)
- internalingame/market/gamepad/market_gamepad.lua:968 -- GAMEPAD_MARKET_BUNDLE_CONTENTS_SCENE:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/gamepad/market_gamepad.lua:1018 -- GAMEPAD_MARKET_BUNDLE_CONTENTS_SCENE:GetSceneGroup():RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_GROUP_SHOWING then
self:OnInitialInteraction()
elseif newState == SCENE_GROUP_HIDDEN then
self:OnEndInteraction()
end
end)
- internalingame/market/gamepad/market_gamepad.lua:1187 -- ZO_GAMEPAD_MARKET_LOCKED_SCENE:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/gamepad/market_gamepad.lua:1228 -- ZO_GAMEPAD_MARKET_PRE_SCENE:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/marketannouncement/marketannouncement_base.lua:112 -- fragment:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/marketannouncement/marketannouncement_manager.lua:17 -- self.scene:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- libraries/zo_colorpicker/zo_colorpicker.lua:57 -- self.redSpinner:RegisterCallback("OnValueChanged", function(value)
local r, g, b, a = self:GetColors()
SetColorFromSpinner(value / 255, g, b, a)
end)
- libraries/zo_colorpicker/zo_colorpicker.lua:64 -- self.greenSpinner:RegisterCallback("OnValueChanged", function(value)
local r, g, b, a = self:GetColors()
SetColorFromSpinner(r, value / 255, b, a)
end)
- libraries/zo_colorpicker/zo_colorpicker.lua:71 -- self.blueSpinner:RegisterCallback("OnValueChanged", function(value)
local r, g, b, a = self:GetColors()
SetColorFromSpinner(r, g, value / 255, a)
end)
- libraries/zo_colorpicker/zo_colorpicker.lua:78 -- self.alphaSpinner:RegisterCallback("OnValueChanged", function(value)
local r, g, b, a = self:GetColors()
SetColorFromSpinner(r, g, b, value / 255)
end)
- libraries/zo_dialog/zo_dialog.lua:341 -- SCENE_MANAGER:RegisterCallback("SceneStateChanged", dialog.gamepadInfo.nextSceneCallback)
- libraries/zo_dialog/gamepad/zo_genericdialog_gamepad.lua:431 -- dialog.fragment:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
OnDialogShowing(dialog)
elseif(newState == SCENE_FRAGMENT_SHOWN) then
OnDialogShown(dialog)
elseif(newState == SCENE_FRAGMENT_HIDING) then
OnDialogHiding(dialog)
elseif(newState == SCENE_FRAGMENT_HIDDEN) then
OnDialogHidden(dialog)
end
end)
- libraries/zo_pagedlist/zo_pagedlist.lua:94 -- self.sortHeaderGroup:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, function(key, order) self:OnSortHeaderClicked(key, order) end)
- libraries/zo_parametricscrolllist/zo_parametricscrolllist.lua:200 -- self:RegisterCallback("MovementChanged", onMovementChangedCallback)
- libraries/zo_parametricscrolllist/zo_parametricscrolllist.lua:208 -- self:RegisterCallback("TargetDataChanged", onTargetDataChangedCallback)
- libraries/zo_parametricscrolllist/zo_parametricscrolllist.lua:216 -- self:RegisterCallback("SelectedDataChanged", onSelectedDataChangedCallback)
- libraries/zo_savingeditbox/zo_savingeditbox.lua:233 -- savingEditBox:RegisterCallback("SetEditing", self.setEditingCallback)
- libraries/zo_scene/zo_scenefragmenttemplates.lua:572 -- 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_sortableparametriclist/zo_sortableparametriclist.lua:52 -- self.sortHeaderGroup:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, function(key, order) self:OnSortHeaderClicked(key, order) end)
- 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:152 -- 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)
- pregame/accountlogin/eula.lua:51 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, function(...) self:OnLinkClicked(...) end)
- pregame/accountlogin/eula.lua:52 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", function()
if self.isShowingLinkConfirmation then
ZO_Dialogs_ShowDialog("SHOW_EULA")
self:ShowNextEULA()
self.isShowingLinkConfirmation = false
end
end)
- pregame/accountlogin/pegi.lua:27 -- CALLBACK_MANAGER:RegisterCallback("PregameFullyLoaded", function() self:PopulateCountries() end)
- pregame/accountlogin/pegi.lua:28 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, OnLinkClicked)
- pregame/accountlogin/keyboard/zo_login.lua:241 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", InitializeLoginButtonState)
- pregame/accountlogin/keyboard/zo_login.lua:242 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, OnLinkClicked)
- pregame/accountlogin/keyboard/zo_login.lua:248 -- LOGIN_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWN) then
InitializeLoginButtonState()
end
end)
- pregame/charactercreate/zo_charactercreate_shared.lua:886 -- CALLBACK_MANAGER:RegisterCallback("PregameCharacterListReceived", OnPregameCharacterListReceived)
- pregame/charactercreate/gamepad/zo_charactercreate_gamepad.lua:2296 -- GAMEPAD_CHARACTER_CREATE_SCENE:RegisterCallback("StateChange", ZO_CharacterCreate_Gamepad_StateChanged)
- pregame/charactercreate/gamepad/zo_charactercreate_gamepad.lua:2323 -- CALLBACK_MANAGER:RegisterCallback("OnCharacterConstructionReady", OnCharacterConstructionReady)
- pregame/charactercreate/gamepad/zo_charactercreate_gamepad.lua:2324 -- CALLBACK_MANAGER:RegisterCallback("CharacterCreateRequested", OnCharacterCreateRequested)
- pregame/charactercreate/keyboard/zo_charactercreate_keyboard.lua:1558 -- CALLBACK_MANAGER:RegisterCallback("OnCharacterConstructionReady", OnCharacterConstructionReady)
- pregame/charactercreate/keyboard/zo_charactercreate_keyboard.lua:1559 -- CALLBACK_MANAGER:RegisterCallback("CharacterCreateRequested", OnCharacterCreateRequested)
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:730 -- GAMEPAD_CHARACTER_SELECT_SCENE:RegisterCallback("StateChange", ZO_CharacterSelect_Gamepad_StateChanged)
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:732 -- CALLBACK_MANAGER:RegisterCallback("OnCharacterConstructionReady", ContextFilter(OnCharacterConstructionReady))
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:733 -- CALLBACK_MANAGER:RegisterCallback("PregameFullyLoaded", ContextFilter(OnPregameFullyLoaded))
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:734 -- CALLBACK_MANAGER:RegisterCallback("PregameCharacterListReceived", ContextFilter(OnPregameCharacterListReceived))
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:258 -- CALLBACK_MANAGER:RegisterCallback("OnCharacterConstructionReady", ContextFilter(OnCharacterConstructionReady))
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:259 -- CALLBACK_MANAGER:RegisterCallback("PregameCharacterListReceived", ContextFilter(OnPregameCharacterListReceived))
- 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/createlinkaccountscreen/createlinkloadingscreen_gamepad.lua:41 -- CREATE_LINK_LOADING_SCREEN_GAMEPAD_SCENE:RegisterCallback("StateChange", StateChanged)
- pregame/console/emergencyscreen/pregameinitialscreen_gamepad.lua:48 -- PREGAME_INITIAL_SCREEN_CONSOLE_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
ZO_ControllerDisconnect_DismissPopup()
self:PerformDeferredInitialization()
KEYBIND_STRIP:RemoveDefaultExit()
self.currentKeybindStripDescriptor = self:IsShowingVerificationError() and self.verifyEmailKeybindsDescriptor or self.pressAnyKeybindsDescriptor
KEYBIND_STRIP:AddKeybindButtonGroup(self.currentKeybindStripDescriptor)
elseif newState == SCENE_SHOWN then
DisableShareFeatures()
if self.playAnimations then
self.fadeMode = ESO_FADE_IN
zo_callLater(function() self.esoLogoAnimation:PlayFromStart() end, ESO_DELAY_TIME)
self.playAnimations = false
else
self.fadeMode = OUROBOROS_FADE_IN
self.ouroborosAnimation:PlayInstantlyToEnd()
end
if(IsErrorQueuedFromIngame()) then
ZO_Gamepad_DisplayServerDisconnectedError()
end
elseif newState == SCENE_HIDDEN then
self:ClearError()
PregameStateManager_ClearError()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.currentKeybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
end
end)
- pregame/console/gamestartup/gamestartup_gamepad.lua:22 -- GAME_STARTUP_MAIN_GAMEPAD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
if not self.serverSelection then
self.serverSelection = tonumber(GetCVar("SelectedServer"))
end
self:PerformDeferredInitialize()
self:PopulateMainList()
self:SetCurrentList(self.mainList)
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_CONSOLE_PREGAME_LOADING))
else
self.gotMOTD = false
self.canCancelOrLoadPlatforms = true
end
elseif newState == SCENE_HIDDEN then
self:Deactivate()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.mainKeybindStripDescriptor)
end
end)
- pregame/console/gamestartup/gamestartup_gamepad.lua:51 -- 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/console/gamestartup/gamestartup_gamepad.lua:75 -- GAMEPAD_DOWNLOAD_BAR:RegisterCallback("DownloadComplete", function() self:ForceListRebuild() end)
- pregame/console/legalagreements/legalagreementsscreen.lua:75 -- LEGAL_AGREEMENTS_GAMEPAD_SCENE:RegisterCallback("StateChange", StateChanged)
- 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:21 -- 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:87 -- gameMenuCharacterCreateScene:RegisterCallback("StateChange", function(oldState, newState)
ZO_UpdatePaperDollManipulationForScene(ZO_CharacterCreateCharacterViewport, newState)
end)
- pregame/gamemenu_pregame/keyboard/gamemenu_characterselect.lua:126 -- gameMenuCharacterSelectScene:RegisterCallback("StateChange", function(oldState, newState)
ZO_UpdatePaperDollManipulationForScene(ZO_CharacterSelectCharacterViewport, newState)
end)
- pregame/gamemenu_pregame/keyboard/gamemenu_characterselect.lua:134 -- 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.selectLastRealm = 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/statemanager/console/pregamestates_console.lua:529 -- CALLBACK_MANAGER:RegisterCallback("PregameFullyLoaded", OnPregameFullyLoaded)