Back to Home
ESO Function Data v100019
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:228 -- scene:RegisterCallback("StateChange", self.onStateChangedCallback)
- common/gamepad/screenadjust/screenadjust.lua:23 -- 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/rzchroma/rzchroma_templates.lua:153 -- callbackManager:RegisterCallback("OnUpdate", self.onUpdate)
- ingame/achievements/keyboard/achievements.lua:937 -- 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.achievementsById and self.achievementsById[self.queuedScrollToAchievement] then
ZO_Scroll_ScrollControlIntoCentralView(self.contentList, self.achievementsById[self.queuedScrollToAchievement]:GetControl())
end
end
end)
- ingame/achievements/keyboard/achievements.lua:955 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, self.OnLinkClicked, self)
- ingame/achievements/keyboard/achievements.lua:956 -- 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:540 -- GAMEPAD_BUY_BANK_SPACE_SCENE:RegisterCallback("StateChange", StateChanged)
- ingame/battleground/battlegroundscoreboard.lua:103 -- self:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
if self.dirty then
self:UpdateAll()
end
end
end)
- ingame/battleground/battlegroundscoreboardendofgame.lua:28 -- BATTLEGROUND_SCOREBOARD_END_OF_GAME_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnShowing()
elseif newState == SCENE_HIDING then
self:OnHiding()
end
end)
- ingame/battleground/battlegroundscoreboardingame.lua:20 -- BATTLEGROUND_SCOREBOARD_IN_GAME_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnShowing()
elseif newState == SCENE_HIDDEN then
self:OnHidden()
end
end)
- ingame/buffdebuff/buffdebuff.lua:295 -- CALLBACK_MANAGER:RegisterCallback("TargetFrameCreated", OnTargetFrameCreated)
- ingame/campaign/campaignbonuses.lua:17 -- CAMPAIGN_BONUSES_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWN) then
manager.shown = true
manager:RefreshData()
elseif(newState == SCENE_FRAGMENT_HIDDEN) then
manager.shown = false
end
end)
- ingame/campaign/campaignbrowser.lua: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:54 -- 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:880 -- PLAYER_PROGRESS_BAR:RegisterCallback("Show", function()
--if the announcement has begun fading out ("expiring") before the bar even shows, we don't need to hold
if PLAYER_PROGRESS_BAR:GetOwner() == CENTER_SCREEN_ANNOUNCE and self:HasAnyActiveLines() and self.isBeforeMessageExpiring then
PLAYER_PROGRESS_BAR:SetHoldBeforeFadeOut(true)
end
end)
- ingame/centerscreenannounce/centerscreenannounce.lua:887 -- PLAYER_PROGRESS_BAR:RegisterCallback("Complete", function()
self.hasActiveLevelBar = false
self:CheckNowInactive()
end)
- ingame/centerscreenannounce/centerscreenannounce.lua:970 -- line:RegisterCallback("OnLineComplete", OnLineComplete)
- ingame/championperks/championperks.lua:168 -- 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:180 -- 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:324 -- CALLBACK_MANAGER:RegisterCallback("BackpackFullUpdate", OnBackpackFullUpdate)
- ingame/characterwindow/keyboard/characterwindow_keyboard.lua:325 -- CALLBACK_MANAGER:RegisterCallback("BackpackSlotUpdate", OnBackpackSlotUpdate)
- ingame/chatsystem/sharedchatsystem.lua:143 -- self.autoComplete:RegisterCallback(ZO_AutoComplete.ON_ENTRY_SELECTED, OnAutoCompleteEntrySelected)
- ingame/chatsystem/sharedchatsystem.lua:1340 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.INSERT_LINK_EVENT, self.HandleTryInsertLink, self)
- ingame/chatsystem/sharedchatsystem.lua:1341 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, self.OnLinkClicked, self)
- ingame/chatsystem/sharedchatsystem.lua:1342 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_MOUSE_UP_EVENT, self.OnLinkClicked, self)
- ingame/chatsystem/console/gamepadchatsystem.lua:261 -- CALLBACK_MANAGER:RegisterCallback("QuestTrackerUpdatedOnScreen", function() self:TryFadeOut() end)
- ingame/chatsystem/console/gamepadchatsystem.lua:262 -- CALLBACK_MANAGER:RegisterCallback("QuestTrackerUpdatedOnScreen", function() self:TryFadeIn() end)
- ingame/chatsystem/console/gamepadchatsystem.lua:263 -- CALLBACK_MANAGER:RegisterCallback("QuestTrackerFadedOutOnScreen", function() self:TryFadeIn(FADE_IN_OVER_TRACKER) end)
- ingame/chatsystem/gamepad/chatmenu_gamepad.lua:236 -- CALLBACK_MANAGER:RegisterCallback("OnFormattedChatEvent", function(...) self:AddMessage(...) end)
- ingame/chatsystem/gamepad/chatmenu_gamepad.lua:237 -- CALLBACK_MANAGER:RegisterCallback("OnChatSetChannel", function(...) self:OnChatChannelChanged(...) end)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:70 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectibleUpdated", function(...) self:OnCollectibleUpdated(...) end)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:71 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectionUpdated", function() self:OnCollectionUpdated() end)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:72 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectiblesUpdated", function() self:OnCollectionUpdated() end)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:73 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectionNotificationRemoved", function(...) self:OnCollectionNotificationRemoved(...) end)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:74 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectibleNewStatusRemoved", function(...) self:OnCollectionNewStatusRemoved(...) end)
- ingame/collections/gamepad/collectionsbook_gamepad.lua:75 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnUpdateCooldowns", function(...) self:OnUpdateCooldowns(...) end)
- ingame/collections/keyboard/collectionsbook.lua:63 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnUpdateCooldowns",
function(...)
-- don't try to update the control if we aren't the current collectible it's showing
if self.control and self.control.collectible == self then
self:OnUpdateCooldowns(...)
end
end)
- ingame/collections/keyboard/collectionsbook.lua:459 -- collectionsBookScene:RegisterCallback("StateChange",
function(oldState, newState)
if newState == SCENE_SHOWING then
ZO_Scroll_ResetToTop(self.list)
self:UpdateCollectionVisualLayer()
end
end)
- ingame/collections/keyboard/collectionsbook.lua:516 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectibleUpdated", function(...) self:OnCollectibleUpdated(...) end)
- ingame/collections/keyboard/collectionsbook.lua:517 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectionUpdated", function() self:OnCollectionUpdated() end)
- ingame/collections/keyboard/collectionsbook.lua:518 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectiblesUpdated", function() self:OnCollectionUpdated() end)
- ingame/collections/keyboard/collectionsbook.lua:519 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectionNotificationRemoved", function(...) self:OnCollectionNotificationRemoved(...) end)
- ingame/collections/keyboard/collectionsbook.lua:520 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectibleNewStatusRemoved", function(...) self:OnCollectionNewStatusRemoved(...) end)
- ingame/collections/keyboard/specializedcollectionsbook_keyboard.lua:24 -- specializedBookScene:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWN) then
self:RefreshListIfDirty()
end
end)
- ingame/collections/keyboard/specializedcollectionsbook_keyboard.lua:117 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectibleUpdated", function(...) self:OnCollectibleUpdated(...) end)
- ingame/collections/keyboard/specializedcollectionsbook_keyboard.lua:118 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectionUpdated", function() self:OnCollectionUpdated() end)
- ingame/collections/keyboard/specializedcollectionsbook_keyboard.lua:119 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectiblesUpdated", function() self:OnCollectionUpdated() end)
- ingame/collections/keyboard/specializedcollectionsbook_keyboard.lua:120 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectionNotificationRemoved", function(...) self:OnCollectionNotificationRemoved(...) end)
- ingame/collections/keyboard/specializedcollectionsbook_keyboard.lua:121 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectibleNewStatusRemoved", function(...) self:OnCollectibleNewStatusRemoved(...) end)
- ingame/compass/compass.lua:252 -- QUEST_TRACKER:RegisterCallback("QuestTrackerAssistStateChanged", function(assisted, unassisted) self:PerformFullAreaQuestUpdate() end)
- ingame/compass/compass.lua:253 -- QUEST_TRACKER:RegisterCallback("QuestTrackerRefreshedMapPins", function() self.refreshingJournalIndex = true self:PerformFullAreaQuestUpdate() self.refreshingJournalIndex = false end)
- ingame/contacts/notifications_common.lua:241 -- CALLBACK_MANAGER:RegisterCallback("NotificationsGuildMotDRead", self.pushUpdateCallback)
- ingame/contacts/notifications_common.lua:650 -- pointResetCallbackObject:RegisterCallback(CALLBACK_POINT_RESET_ATTRIBUTE_DECLINED, updatePointsResetList)
- ingame/contacts/notifications_common.lua:651 -- pointResetCallbackObject:RegisterCallback(CALLBACK_POINT_RESET_ATTRIBUTE_FORCE_RESPEC, updatePointsResetList)
- ingame/contacts/notifications_common.lua:653 -- pointResetCallbackObject:RegisterCallback(CALLBACK_POINT_RESET_SKILL_FORCE_RESPEC, updatePointsResetList)
- ingame/contacts/notifications_common.lua:654 -- pointResetCallbackObject:RegisterCallback(CALLBACK_POINT_RESET_SKILL_DECLINED, updatePointsResetList)
- ingame/contacts/notifications_common.lua:813 -- CALLBACK_MANAGER:RegisterCallback("LeaderboardNotifications_On", ShowLeaderBoardNotifications_SettingsChanged)
- ingame/contacts/notifications_common.lua:814 -- 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:394 -- GAMEPAD_NOTIFICATIONS_SCENE:RegisterCallback("StateChange",
function(oldState, newState)
if newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
ZO_SavePlayerConsoleProfile()
end
end)
- ingame/contacts/keyboard/friendslist_keyboard.lua:35 -- FRIENDS_LIST_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
self:PerformDeferredInitialization()
KEYBIND_STRIP:AddKeybindButtonGroup(self.staticKeybindStripDescriptor)
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self:UpdateHideOfflineCheckBox(self.hideOfflineCheckBox)
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.staticKeybindStripDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/contacts/keyboard/ignorelist_keyboard.lua:29 -- IGNORE_LIST_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
self:PerformDeferredInitialization()
KEYBIND_STRIP:AddKeybindButtonGroup(self.staticKeybindStripDescriptor)
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.staticKeybindStripDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/contacts/keyboard/notifications_keyboard.lua:359 -- 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/sharedalchemy.lua:71 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftCompleted)
- ingame/crafting/sharedcraftinginventory.lua:34 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftingAnimationStateChanged)
- ingame/crafting/sharedcraftinginventory.lua:35 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftingAnimationStateChanged)
- ingame/crafting/sharedprovisioner.lua:66 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", OnCraftStarted)
- ingame/crafting/sharedprovisioner.lua:67 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", OnCraftCompleted)
- ingame/crafting/sharedprovisioner.lua:69 -- PROVISIONER_MANAGER:RegisterCallback("RecipeDataUpdated", function()
self:DirtyRecipeList()
end)
- ingame/crafting/smithingcreation_shared.lua:359 -- 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:44 -- GAMEPAD_ALCHEMY_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:AddKeybindButtonGroup(self.modeKeybindStripDescriptor)
TriggerTutorial(TUTORIAL_TRIGGER_ALCHEMY_OPENED)
self.modeList:Activate()
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.modeKeybindStripDescriptor)
self.modeList:Deactivate()
end
end)
- ingame/crafting/gamepad/alchemy_gamepad.lua:57 -- GAMEPAD_ALCHEMY_CREATION_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.mainKeybindStripDescriptor)
self.inventory:Activate()
self.inventory:OnShow()
GAMEPAD_CRAFTING_RESULTS:SetCraftingTooltip(self.tooltip)
GAMEPAD_CRAFTING_RESULTS:SetTooltipAnimationSounds(SOUNDS.ALCHEMY_CREATE_TOOLTIP_GLOW_SUCCESS, SOUNDS.ALCHEMY_CREATE_TOOLTIP_GLOW_FAIL)
self:UpdateTooltip()
elseif newState == SCENE_HIDDEN then
self.inventory:Deactivate()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.mainKeybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
self.inventory:HandleDirtyEvent()
GAMEPAD_CRAFTING_RESULTS:SetCraftingTooltip(nil)
self.tooltip:SetHidden(true)
end
end)
- ingame/crafting/gamepad/craftingresults_gamepad.lua:174 -- 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:18 -- 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:24 -- 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:128 -- GAMEPAD_ENCHANTING_MODE_SCENE_ROOT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindModeStripDescriptor)
self:SetEnchantingMode(ENCHANTING_MODE_NONE)
self.modeList:Activate()
local titleString = ZO_GamepadCraftingUtils_GetLineNameForCraftingType(CRAFTING_TYPE_ENCHANTING)
ZO_GamepadCraftingUtils_SetupGenericHeader(self, titleString)
ZO_GamepadCraftingUtils_RefreshGenericHeader(self)
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindModeStripDescriptor)
GAMEPAD_CRAFTING_RESULTS:SetCraftingTooltip(nil)
self.modeList:Deactivate()
if self.enchantingMode ~= ENCHANTING_MODE_NONE then
self.inventory:Deactivate()
end
end
end)
- ingame/crafting/gamepad/enchanting_gamepad.lua:173 -- 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:184 -- 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:34 -- GAMEPAD_PROVISIONER_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
if GetCraftingInteractionType() == CRAFTING_TYPE_PROVISIONING then
TriggerTutorial(TUTORIAL_TRIGGER_PROVISIONING_OPENED)
end
if self.optionsChanged then
self:DirtyRecipeList()
self.optionsChanged = false
end
SYSTEMS:GetObject("craftingResults"):SetCraftingTooltip(self.resultTooltip)
self.recipeList:Activate()
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.mainKeybindStripDescriptor)
ZO_GamepadCraftingUtils_RefreshGenericHeader(self)
ZO_GamepadGenericHeader_Activate(self.header)
-- refresh the recipe details on show, since they were cleared/hidden when the scene hid
-- and we may not have had a change in our list to trigger a refresh
local targetData = self.recipeList:GetTargetData()
self:RefreshRecipeDetails(targetData)
elseif newState == SCENE_HIDDEN then
SYSTEMS:GetObject("craftingResults"):SetCraftingTooltip(nil)
ZO_GamepadGenericHeader_Deactivate(self.header)
self.recipeList:Deactivate()
-- refresh the recipe details passing nil in to appropriately hide/clear the tooltip and ingredient list
local NO_SELECTED_DATA = nil
self:RefreshRecipeDetails(NO_SELECTED_DATA)
self.control:GetNamedChild("IngredientsBar"):SetHidden(false)
self:EndRecipePreview()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.mainKeybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
end
end)
- ingame/crafting/gamepad/gamepadprovisioner.lua:78 -- 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:101 -- sceneGroup:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_GROUP_SHOWING then
ZO_Skills_TieSkillInfoHeaderToCraftingSkill(self.control:GetNamedChild("SkillInfo"), GetCraftingInteractionType())
elseif newState == SCENE_GROUP_HIDDEN then
self:SetDefaultProvisioningSettings()
ZO_Skills_UntieSkillInfoHeaderToCraftingSkill(self.control:GetNamedChild("SkillInfo"))
end
end)
- ingame/crafting/gamepad/gamepadprovisioner.lua:136 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
if SCENE_MANAGER:IsShowing(self.mainSceneName) then
self.recipeList:SetActive(false)
end
end)
- ingame/crafting/gamepad/gamepadprovisioner.lua:142 -- 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:60 -- scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
local tabBarEntries = self:GenerateTabBarEntries()
self.focus:Activate()
self.focus:SetFocusByIndex(self.focus:GetFocus()) -- somehow this fixes the "move focus by 2 the first time" issue when entering the screen...remove when lower-level system fixed
self.owner:SetEnableSkillBar(true)
local savedFilter = self.typeFilter
local titleString = ZO_GamepadCraftingUtils_GetLineNameForCraftingType(GetCraftingInteractionType())
local DONT_SHOW_CAPACITY = false
ZO_GamepadCraftingUtils_SetupGenericHeader(self.owner, titleString, tabBarEntries, DONT_SHOW_CAPACITY)
ZO_GamepadCraftingUtils_RefreshGenericHeader(self.owner)
self:SetupTabBar(tabBarEntries, savedFilter)
self:RefreshAllLists()
self.inOptionsMenu = false
self.isCrafting = false
GAMEPAD_CRAFTING_RESULTS:SetCraftingTooltip(self.resultTooltip)
GAMEPAD_CRAFTING_RESULTS:SetTooltipAnimationSounds(self:GetCreateTooltipSound())
self:RefreshScrollPanel()
self:TriggerUSITutorial()
elseif newState == SCENE_HIDDEN then
GAMEPAD_CRAFTING_RESULTS:SetCraftingTooltip(nil)
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
self.focus:Deactivate()
self.resultTooltip:SetHidden(true)
self.interactingWithSameStation = true
self.owner:SetEnableSkillBar(false)
ZO_GamepadGenericHeader_Deactivate(self.owner.header)
end
end)
- ingame/crafting/gamepad/smithingcreation_gamepad.lua:109 -- 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:128 -- 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:135 -- 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
self:RefreshTooltips()
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_EQUIPSLOTVISUALCATEGORY", EQUIP_SLOT_VISUAL_CATEGORY_WEAPONS), ZO_SMITHING_EXTRACTION_SHARED_FILTER_TYPE_WEAPONS, CanSmithingWeaponPatternsBeCraftedHere(), tabBarEntries)
self:AddEntry(GetString("SI_EQUIPSLOTVISUALCATEGORY", EQUIP_SLOT_VISUAL_CATEGORY_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:105 -- 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_EQUIPSLOTVISUALCATEGORY", EQUIP_SLOT_VISUAL_CATEGORY_WEAPONS), ZO_SMITHING_IMPROVEMENT_SHARED_FILTER_TYPE_WEAPONS, CanSmithingWeaponPatternsBeCraftedHere(), tabBarEntries)
self:AddEntry(GetString("SI_EQUIPSLOTVISUALCATEGORY", EQUIP_SLOT_VISUAL_CATEGORY_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:168 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
if SCENE_MANAGER:IsShowing("gamepad_smithing_improvement") then
self.spinner:Deactivate()
end
end)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:174 -- 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:243 -- 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) and not IsItemPlayerLocked(bagId, slotIndex)
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:75 -- GAMEPAD_SMITHING_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
local craftingType = GetCraftingInteractionType()
self.creationPanel:PerformDeferredInitialization()
self.researchPanel:PerformDeferredInitialization()
self:RefreshModeList(craftingType)
self.refinementPanel:SetCraftingType(craftingType, self.oldCraftingType, self.resetUIs)
self.creationPanel:SetCraftingType(craftingType, self.oldCraftingType, self.resetUIs)
self.improvementPanel:SetCraftingType(craftingType, self.oldCraftingType, self.resetUIs)
self.deconstructionPanel:SetCraftingType(craftingType, self.oldCraftingType, self.resetUIs)
self.researchPanel:SetCraftingType(craftingType, self.oldCraftingType, self.resetUIs)
self.oldCraftingType = craftingType
self: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)
-- Reselect so we re-add the temporary fragment for the recipe mode
-- and setup/update the tooltip and corresponding sounds correctly
local oldMode = self.mode
self.mode = nil
ZO_MenuBar_ClearSelection(self.modeBar)
if not oldMode then
ZO_MenuBar_SelectDescriptor(self.modeBar, ZO_ALCHEMY_MODE_CREATION)
else
ZO_MenuBar_SelectDescriptor(self.modeBar, oldMode)
end
elseif newState == SCENE_HIDDEN then
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.inventory:HandleDirtyEvent()
CRAFTING_RESULTS:SetCraftingTooltip(nil)
end
end)
- ingame/crafting/keyboard/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:29 -- 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/provisioner.lua:63 -- PROVISIONER_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
SYSTEMS:GetObject("craftingResults"):SetCraftingTooltip(self.resultTooltip)
KEYBIND_STRIP:AddKeybindButtonGroup(self.mainKeybindStripDescriptor)
elseif newState == SCENE_FRAGMENT_HIDDEN then
SYSTEMS:GetObject("craftingResults"):SetCraftingTooltip(nil)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.mainKeybindStripDescriptor)
-- when we hide this fragment make sure to end the preview and toggle the camera back to normal,
-- since we may still be staying in the crafting scene
if ITEM_PREVIEW_KEYBOARD:IsInteractionCameraPreviewEnabled() then
self:TogglePreviewMode()
end
end
end)
- ingame/crafting/keyboard/provisioner.lua:80 -- PROVISIONER_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:ConfigureFromSettings(ZO_Provisioner.PROVISIONING_SETTINGS)
TriggerTutorial(TUTORIAL_TRIGGER_PROVISIONING_OPENED)
end
end)
- ingame/crafting/keyboard/smithingcreation_keyboard.lua:169 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function() ZO_CheckButton_SetCheckState(self.haveMaterialsCheckBox, self.savedVars.haveMaterialChecked)
ZO_CheckButton_SetCheckState(self.haveKnowledgeCheckBox, self.savedVars.haveKnowledgeChecked)
ZO_CheckButton_SetCheckState(self.useUniversalStyleItemCheckBox, self.savedVars.useUniversalStyleItemChecked)
end)
- ingame/crafting/keyboard/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)
self:AddTabsToMenuBar(craftingType, isCraftingTypeDifferent)
elseif newState == SCENE_HIDDEN then
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self:DirtyAllPanels()
ZO_Skills_UntieSkillInfoHeaderToCraftingSkill(self.control:GetNamedChild("SkillInfo"))
CRAFTING_RESULTS:SetCraftingTooltip(nil)
end
end)
- ingame/crowncrates/crowncrates.lua:87 -- self.stateMachine:RegisterCallback("OnStateChange", OnStateChangeCallback)
- ingame/crowncrates/crowncrates.lua:107 -- CROWN_CRATE_KEYBOARD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
self.sceneName = "crownCrateKeyboard"
SharedStateChangeCallback(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitializationKeyboard()
self:AddApplicableInputTypeKeybinds()
end
end)
- ingame/crowncrates/crowncrates.lua:117 -- CROWN_CRATE_GAMEPAD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
self.sceneName = "crownCrateGamepad"
SharedStateChangeCallback(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitializationGamepad()
self:AddApplicableInputTypeKeybinds()
end
end)
- ingame/crowncrates/crowncratespackopening.lua:1363 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectibleUpdated", RefreshActivateCollectibleBindingKeybindings)
- ingame/crowncrates/crowncratespackopening.lua:1364 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectionUpdated", RefreshActivateCollectibleBindingKeybindings)
- ingame/crowncrates/crowncratespackopening.lua:1365 -- COLLECTIONS_BOOK_SINGLETON:RegisterCallback("OnCollectiblesUpdated", RefreshActivateCollectibleBindingKeybindings)
- ingame/crowncrates/crowncratestatemachine.lua:243 -- states.START:RegisterCallback("OnActivated", function()
SetCrownCrateNPCVisible(false)
self.packChoosing:ResetPacks()
self.packOpening:ResetCards()
local IMMEDIATE = true
SetFullscreenEffect(FULLSCREEN_EFFECT_NONE, 0, 0, IMMEDIATE)
end)
- ingame/crowncrates/crowncratestatemachine.lua:251 -- states.SUMMON_CAT:RegisterCallback("OnActivated", function()
SetCrownCrateNPCVisible(true)
end)
- ingame/crowncrates/crowncratestatemachine.lua:255 -- edges.SUMMON_CAT_TO_MANIFEST_IN:RegisterCallback("OnTrigger", function()
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_GREET_PLAYER)
end)
- ingame/crowncrates/crowncratestatemachine.lua:259 -- states.MANIFEST_IN:RegisterCallback("OnActivated", function()
self.manager:LockLocalSpaceToCurrentCamera()
self.packChoosing:Show()
SetFullscreenEffect(FULLSCREEN_EFFECT_CHARACTER_FRAMING_BLUR, 2, 0)
PlaySound(SOUNDS.CROWN_CRATES_MANIFEST_IN)
--NPC passively reacts to your current supply of crates
local numOwnedCrateTypes = GetNumOwnedCrownCrateTypes()
if numOwnedCrateTypes == 0 then
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_MANIFEST_ENTER_NO_CRATES)
elseif numOwnedCrateTypes == 1 then
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_MANIFEST_ENTER_ONE_CRATES)
else
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_MANIFEST_ENTER_MULTI_CRATES)
end
end)
- ingame/crowncrates/crowncratestatemachine.lua:275 -- states.MANIFEST:RegisterCallback("OnActivated", function()
self.packChoosing:AddManifestKeybinds()
self.packChoosing:RefreshSelectedPack()
end)
- ingame/crowncrates/crowncratestatemachine.lua:280 -- states.MANIFEST:RegisterCallback("OnDeactivated", function()
self.packChoosing:RemoveManifestKeybinds()
end)
- ingame/crowncrates/crowncratestatemachine.lua:284 -- states.MANIFEST_OUT_FOR_DEAL:RegisterCallback("OnActivated", function()
self.packChoosing:AnimateChoice()
PlaySound(SOUNDS.CROWN_CRATES_MANIFEST_OUT)
--Start the flourish while we wait so it doesn't feel unresponsive
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_FLOURISH)
end)
- ingame/crowncrates/crowncratestatemachine.lua:291 -- states.MANIFEST_OUT_FOR_GEMIFICATION:RegisterCallback("OnActivated", function()
self.packChoosing:Hide()
end)
- ingame/crowncrates/crowncratestatemachine.lua:295 -- states.MANIFEST_OUT_FOR_GEMIFICATION:RegisterCallback("OnDeactivated", function()
self.packChoosing:ResetPacks()
end)
- ingame/crowncrates/crowncratestatemachine.lua:299 -- states.GEMIFICATION:RegisterCallback("OnActivated", function()
local gemificationSystem
if SCENE_MANAGER:IsCurrentSceneGamepad() then
gemificationSystem = self.gemificationGamepad
else
gemificationSystem = self.gemificationKeyboard
end
gemificationSystem:InsertIntoScene()
SCENE_MANAGER:AddFragment(self.gemificationSlot:GetFragment())
end)
- ingame/crowncrates/crowncratestatemachine.lua:310 -- states.GEMIFICATION:RegisterCallback("OnDeactivated", function()
SCENE_MANAGER:RemoveFragment(self.gemificationSlot:GetFragment())
end)
- ingame/crowncrates/crowncratestatemachine.lua:314 -- states.MANIFEST_OUT_FOR_DEAL:RegisterCallback("OnDeactivated", function()
self.packChoosing:ResetPacks()
SetFullscreenEffect(FULLSCREEN_EFFECT_NONE)
end)
- ingame/crowncrates/crowncratestatemachine.lua:319 -- states.CAT_PRIMARY_DEAL:RegisterCallback("OnActivated", function()
self.packOpening:ResetCards()
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_DEAL_PRIMARY_CARDS)
end)
- ingame/crowncrates/crowncratestatemachine.lua:324 -- states.UI_PRIMARY_DEAL:RegisterCallback("OnActivated", function()
local success, worldX, worldY, worldZ = GetCrownCrateNPCBoneWorldPosition(GetCrownCrateNPCCardThrowingBoneName())
if success then
local localX, localY, localZ = self.manager:GetCameraLocalPositionFromWorldPosition(worldX, worldY, worldZ)
self.packOpening:StartPrimaryDealAnimation(localX, localY, localZ)
end
PlaySound(SOUNDS.CROWN_CRATES_DEAL_PRIMARY)
end)
- ingame/crowncrates/crowncratestatemachine.lua:333 -- states.UI_PRIMARY_DEAL:RegisterCallback("OnDeactivated", function()
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_PRIMARY_CARDS_DEALT)
end)
- ingame/crowncrates/crowncratestatemachine.lua:337 -- states.CAT_BONUS_DEAL:RegisterCallback("OnActivated", function()
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_DEAL_BONUS_CARDS)
end)
- ingame/crowncrates/crowncratestatemachine.lua:341 -- states.UI_BONUS_DEAL:RegisterCallback("OnActivated", function()
local success, worldX, worldY, worldZ = GetCrownCrateNPCBoneWorldPosition(GetCrownCrateNPCCardThrowingBoneName())
if success then
local localX, localY, localZ = self.manager:GetCameraLocalPositionFromWorldPosition(worldX, worldY, worldZ)
self.packOpening:StartBonusDealAnimation(localX, localY, localZ)
end
PlaySound(SOUNDS.CROWN_CRATES_DEAL_BONUS)
end)
- ingame/crowncrates/crowncratestatemachine.lua:350 -- states.ACTIVE_HAND_MANIPULATION:RegisterCallback("OnActivated", function()
self.packOpening:OnDealComplete()
self.packOpening:AddHandManipulationKeybinds()
self.packOpening:RefreshSelectedCard()
end)
- ingame/crowncrates/crowncratestatemachine.lua:356 -- states.ACTIVE_HAND_MANIPULATION:RegisterCallback("OnDeactivated", function()
self.packOpening:RemoveHandManipulationKeybinds()
end)
- ingame/crowncrates/crowncratestatemachine.lua:360 -- states.ALL_REVEALED:RegisterCallback("OnActivated", function()
self.packOpening:AddAllRevealedKeybinds()
--NPC passively reacts to you being done, depending on your current supply of crates
if GetNumOwnedCrownCrateTypes() == 0 then
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_ALL_CARDS_REVEALED_NO_CRATES)
else
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_ALL_CARDS_REVEALED_HAS_CRATES)
end
end)
- ingame/crowncrates/crowncratestatemachine.lua:370 -- states.ALL_REVEALED:RegisterCallback("OnDeactivated", function()
self.packOpening:RemoveAllRevealedKeybinds()
end)
- ingame/crowncrates/crowncratestatemachine.lua:374 -- states.CARDS_OUT_BACK:RegisterCallback("OnActivated", function()
self.packOpening:StartLeaveAnimation()
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_SWIPE_CARDS_AWAY)
end)
- ingame/crowncrates/crowncratestatemachine.lua:379 -- states.CARDS_OUT_NEXT:RegisterCallback("OnActivated", function()
local currentCrownCrateId = GetCurrentCrownCrateId()
SendCrownCrateOpenRequest(currentCrownCrateId)
self.packOpening:StartLeaveAnimation()
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_SWIPE_CARDS_AWAY)
--Start the shuffle while we wait so it doesn't feel unresponsive
TriggerCrownCrateNPCAnimation(CROWN_CRATE_NPC_ANIMATION_TYPE_SHUFFLE_CARDS)
end)
- ingame/crowncrates/crowngemificationslot.lua:106 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
Set3DRenderSpaceToCurrentCamera(self.control:GetName())
self:RefreshCameraPlaneMetrics()
self.card:SetHidden(false)
elseif newState == SCENE_FRAGMENT_HIDDEN then
self.card:SetHidden(true)
end
end)
- ingame/crowncrates/crowngemificationslot.lua:132 -- CROWN_GEMIFICATION_MANAGER:RegisterCallback("GemifiableListChanged", function() self:OnGemifiableListChanged() end)
- ingame/crowncrates/crowngemificationslot.lua:133 -- CROWN_GEMIFICATION_MANAGER:RegisterCallback("GemifiableChanged", function(gemifiable) self:OnGemifiableChanged(gemifiable) end)
- ingame/crowncrates/crowngemification_manager.lua:159 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", function(bagId) self:OnFullInventoryUpdate(bagId) end)
- ingame/crowncrates/crowngemification_manager.lua:160 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", function(...) self:OnSingleSlotInventoryUpdate(...) end)
- ingame/crowncrates/crowngemification_shared.lua:14 -- CROWN_GEMIFICATION_MANAGER:RegisterCallback("GemifiableListChanged", function() self:OnGemifiableListChanged() end)
- ingame/crowncrates/crowngemification_shared.lua:15 -- CROWN_GEMIFICATION_MANAGER:RegisterCallback("GemifiableChanged", function(gemifiable) self:OnGemifiableChanged(gemifiable) end)
- ingame/crowncrates/crowngemification_shared.lua:29 -- self.listFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/crowncrates/crowngemification_shared.lua:37 -- self.gemificationSlot:RegisterCallback("GemifiableChanged", function()
if self.listFragment:IsShowing() then
KEYBIND_STRIP:UpdateKeybindButtonGroup(self.sharedKeybindStripDescriptor, self.keybindStripId)
end
end)
- ingame/currency/gamepad/currencyselector_gamepad.lua:101 -- self.spinner:RegisterCallback("OnValueChanged", valueChangedCallback)
- ingame/death/death.lua:542 -- DEATH_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
death:UpdateBindingLayer()
end)
- ingame/deathrecap/deathrecap.lua:13 -- DEATH_RECAP:RegisterCallback("OnDeathRecapAvailableChanged", function() self:RefreshEnabled() end)
- ingame/deathrecap/deathrecap.lua:68 -- CALLBACK_MANAGER:RegisterCallback("UnitFramesCreated", function() self:OnUnitFramesCreated() end)
- ingame/deathrecap/deathrecap.lua:71 -- DEATH_RECAP_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
self:RefreshBossBarVisibility()
self:RefreshUnitFrameVisibility()
if(newState == SCENE_FRAGMENT_SHOWING) then
if(self.animateOnShow) then
self.animateOnShow = nil
self:Animate()
end
end
end)
- ingame/dyeing/dyeing_shared.lua:664 -- self:RegisterCallback("UpdateDyeLists", callback)
- ingame/dyeing/dyestamp_confirmation_shared.lua:13 -- scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWN then
self:OnShown()
elseif newState == SCENE_HIDDEN then
self:OnHidden()
end
end)
- ingame/dyeing/gamepad/dyeing_gamepad.lua:101 -- GAMEPAD_DYEING_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:SetMode(DYE_MODE_SELECTION)
self.modeList:Activate()
local currentlySelectedData = self.modeList:GetTargetData()
self:UpdateOptionLeftTooltip(currentlySelectedData.mode)
MAIN_MENU_MANAGER:SetBlockingScene(GAMEPAD_DYEING_ROOT_SCENE_NAME, OnBlockingSceneActivated)
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptorRoot)
ZO_GamepadGenericHeader_Refresh(self.header, self.headerData)
TriggerTutorial(TUTORIAL_TRIGGER_DYEING_OPENED)
elseif newState == SCENE_HIDDEN then
self.modeList:Deactivate()
ZO_GamepadGenericHeader_Deactivate(self.header)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptorRoot)
MAIN_MENU_MANAGER:ClearBlockingScene(OnBlockingSceneActivated)
end
end)
- ingame/dyeing/gamepad/dyeing_gamepad.lua:253 -- scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.mode = self.owner:GetMode()
self:PerformDeferredInitialization()
self:ActivateDyeItemsHeader()
self.dyeableSlotsMenu:SetMode(self.mode)
self.dyeableSlotsMenu:Show()
self.visibleRadialMenu = self.dyeableSlotsMenu
self:SwitchToTab(DYE_TAB_INDEX)
self:SwitchToTool(self.dyeTool)
self:RefreshSavedSets()
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
DIRECTIONAL_INPUT:Activate(self, self.control)
elseif newState == SCENE_HIDDEN then
local RETAIN_BACKGROUND_FOCUS = true
self:ResetScreen(nil, RETAIN_BACKGROUND_FOCUS)
self.dyeableSlotsMenu:ResetToDefaultPositon()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
DIRECTIONAL_INPUT:Deactivate(self)
if self.isSpinning then
EndInteractCameraSpin()
self.isSpinning = false
end
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)
self:UpdateOptionControls()
InitializePendingDyes(self.mode)
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
if self.dyeLayoutDirty then
self:LayoutDyes()
end
self:RefreshSavedSets()
self.equipmentSheet:MarkViewDirty()
self.collectibleSheet:MarkViewDirty()
if not ZO_MenuBar_GetSelectedDescriptor(self.toolsTabs) then
self.suppressSounds = true
ZO_MenuBar_SelectDescriptor(self.toolsTabs, self.dyeTool)
self.suppressSounds = false
end
local IS_ENABLED = true
if CanUseCollectibleDyeing() then
ZO_MenuBar_SetDescriptorEnabled(self.tabs, DYE_MODE_COLLECTIBLE, IS_ENABLED)
else
-- if we have the collectible tab selected, switch tabs it before disabling it
-- so the highlights setup correctly
local selectedTabType = ZO_MenuBar_GetSelectedDescriptor(self.tabs)
if selectedTabType == DYE_MODE_COLLECTIBLE then
ZO_MenuBar_SelectDescriptor(self.tabs, DYE_MODE_EQUIPMENT)
end
ZO_MenuBar_SetDescriptorEnabled(self.tabs, DYE_MODE_COLLECTIBLE, not IS_ENABLED)
end
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
MAIN_MENU_MANAGER:ClearBlockingScene(OnBlockingSceneActivated)
end
end)
- ingame/fence/fence_base.lua:18 -- FENCE_MANAGER:RegisterCallback("FenceOpened", function(enableSell, enableLaunder) self:OnOpened(enableSell, enableLaunder) end)
- ingame/fence/fence_base.lua:19 -- FENCE_MANAGER:RegisterCallback("FenceClosed", function() self:OnClosed() end)
- ingame/fence/fence_base.lua:20 -- FENCE_MANAGER:RegisterCallback("FenceSellSuccess", function() self:OnSellSuccess() end)
- ingame/fence/fence_base.lua:21 -- FENCE_MANAGER:RegisterCallback("FenceLaunderSuccess", function() self:OnLaunderSuccess() end)
- ingame/fence/fence_base.lua:22 -- FENCE_MANAGER:RegisterCallback("FenceInventoryUpdated", function() self:OnInventoryUpdate() end)
- ingame/fence/fence_base.lua:23 -- FENCE_MANAGER:RegisterCallback("FenceUpdated", function(totalSells, sellsUsed, totalLaunders, laundersUsed) self:OnFenceStateUpdated(totalSells, sellsUsed, totalLaunders, laundersUsed) end)
- ingame/fence/fence_base.lua:24 -- FENCE_MANAGER:RegisterCallback("FenceEnterSell", function(totalSells, sellsUsed) self:OnEnterSell(totalSells, sellsUsed) end)
- ingame/fence/fence_base.lua:25 -- FENCE_MANAGER:RegisterCallback("FenceEnterLaunder", function(totalLaunders, laundersUsed) self:OnEnterLaunder(totalLaunders, laundersUsed) end)
- ingame/fence/gamepad/fencewindowcomponent_gamepad.lua:16 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RegisterEvents()
self.list:UpdateList()
self:RefreshFooter()
self:ShowFenceBar()
elseif newState == SCENE_HIDING then
self:UnregisterEvents()
self:HideFenceBar()
GAMEPAD_TOOLTIPS:ClearTooltip(GAMEPAD_RIGHT_TOOLTIP)
ZO_Dialogs_ReleaseDialog("CANT_BUYBACK_FROM_FENCE")
end
end)
- ingame/fence/gamepad/fence_gamepad.lua:26 -- storeScene:RegisterCallback("StateChange", StateChanged)
- ingame/fence/keyboard/fence_keyboard.lua:23 -- FENCE_SCENE:RegisterCallback("StateChange",
function(oldState, newState)
if(newState == SCENE_SHOWING) then
self.modeBar:SelectFragment(SI_STORE_MODE_SELL)
elseif(newState == SCENE_HIDDEN) then
self.mode = nil
ZO_InventorySlot_RemoveMouseOverKeybinds()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.modeBar:Clear()
end
end)
- ingame/gamemenu_ingame/gamemenu_ingame.lua: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_groupmenu_gamepad.lua:60 -- GAMEPAD_GROUP_SCENE:RegisterCallback("StateChange", OnStateChanged)
- ingame/group/keyboard/zo_grouplist_keyboard.lua:49 -- GROUP_LIST_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_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/group/keyboard/zo_groupmenu_keyboard.lua:18 -- KEYBOARD_GROUP_MENU_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
KEYBIND_STRIP:AddKeybindButton(self.keybindStripDescriptor)
if self.currentCategoryFragment then
SCENE_MANAGER:AddFragment(self.currentCategoryFragment)
end
PREFERRED_ROLES:RefreshRoles()
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButton(self.keybindStripDescriptor)
end
end)
- ingame/group/keyboard/zo_groupmenu_keyboard.lua:30 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnUpdateGroupStatus", function(...) self:OnUpdateGroupStatus(...) end)
- ingame/group/keyboard/zo_groupmenu_keyboard.lua:36 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnLevelUpdate", RefreshCategories)
- 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:50 -- 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:30 -- GUILD_ROSTER_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
self:PerformDeferredInitialization()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self:UpdateHideOfflineCheckBox(self.hideOfflineCheckBox)
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/guild/keyboard/guildselector_keyboard.lua:57 -- MAIN_MENU_KEYBOARD:RegisterCallback("OnSceneGroupBarLabelTextChanged", OnSceneGroupBarLabelTextChanged)
- 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:397 -- self.bidSelector:RegisterCallback("OnValueChanged", function() self:ValidateBidSelectorValue(self.bidSelector:GetValue()) end)
- ingame/help/gamepad/help_categories_gamepad.lua:17 -- HELP_TUTORIAL_CATEGORIES_SCENE_GAMEPAD:RegisterCallback("StateChange", OnStateChanged)
- ingame/help/gamepad/help_entries_gamepad.lua:17 -- HELP_TUTORIALS_ENTRIES_GAMEPAD: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/help/keyboard/helpcharacterstuck_keyboard.lua:9 -- HELP_CUSTOMER_SERVICE_CHARACTER_STUCK_KEYBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:UpdateCost()
end
end)
- ingame/help/keyboard/helpmechanicassistancetemplate_keyboard.lua:34 -- fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_HIDDEN then
self:ClearFields()
end
end)
- ingame/housingeditor/furnituremanager_shared.lua:60 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", function(bagId) self:OnFullInventoryUpdate(bagId) end)
- ingame/housingeditor/furnituremanager_shared.lua:61 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", function(...) self:OnSingleSlotInventoryUpdate(...) end)
- ingame/housingeditor/furnituremanager_shared.lua:62 -- COLLECTIONS_INVENTORY_SINGLETON:RegisterCallback("FullCollectionsInventoryUpdate", function() self:OnFullCollectionUpdate() end)
- ingame/housingeditor/furnituremanager_shared.lua:63 -- COLLECTIONS_INVENTORY_SINGLETON:RegisterCallback("SingleCollectionsInventoryUpdate", function(collectibleId) self:OnSingleCollectibleUpdate(collectibleId) end)
- ingame/housingeditor/houseinformation_shared.lua:16 -- fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:UpdateHouseInformation()
self:UpdateHousePopulation()
self:UpdateLimits()
end
end)
- ingame/housingeditor/housingeditorhud.lua:173 -- HOUSING_EDITOR_HUD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnDeferredInitialization()
if GetHousingEditorMode() == HOUSING_EDITOR_MODE_BROWSE then --if someone cancelled out of the browser without selecting anything
HousingEditorRequestModeChange(HOUSING_EDITOR_MODE_SELECTION)
end
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self:UpdateKeybinds()
elseif newState == SCENE_HIDDEN then
self:ClearPlacementKeyPresses()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.pushAndPullEtherealKeybindGroup)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.pushAndPullVisibleKeybindGroup)
KEYBIND_STRIP:RestoreDefaultExit()
end
end)
- ingame/housingeditor/housingeditorhud.lua:192 -- HOUSING_EDITOR_HUD_UI_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnDeferredInitialization()
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.UIModeKeybindStripDescriptor)
KEYBIND_STRIP:AddKeybindButtonGroup(self.pushAndPullEtherealKeybindGroup)
elseif newState == SCENE_HIDDEN then
self:ClearPlacementKeyPresses()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.UIModeKeybindStripDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.pushAndPullEtherealKeybindGroup)
KEYBIND_STRIP:RestoreDefaultExit()
end
end)
- ingame/housingeditor/housingeditorhud.lua:208 -- HOUSING_EDITOR_HUD_SCENE_GROUP:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_GROUP_HIDDEN then
if GetHousingEditorMode() ~= HOUSING_EDITOR_MODE_BROWSE then
HousingEditorRequestModeChange(HOUSING_EDITOR_MODE_DISABLED)
PlaySound(SOUNDS.HOUSING_EDITOR_CLOSED)
end
end
end)
- ingame/housingeditor/housingfurniturebrowser_base.lua:26 -- SHARED_FURNITURE:RegisterCallback("PlaceableFurnitureChanged", function()
if SCENE_MANAGER:IsShowing(sceneName) then
self:UpdatePlaceablePanel()
else
self.placeableListDirty = true
end
end)
- ingame/housingeditor/housingfurniturebrowser_base.lua:34 -- SHARED_FURNITURE:RegisterCallback("RetrievableFurnitureChanged", function()
if SCENE_MANAGER:IsShowing(sceneName) then
self:UpdateRetrievablePanel()
else
self.retrievableListDirty = true
end
end)
- ingame/housingeditor/housingfurniturebrowser_base.lua:42 -- SHARED_FURNITURE:RegisterCallback("RetrievableFurnitureDistanceAndHeadingChanged", function()
if SCENE_MANAGER:IsShowing(sceneName) then
self:UpdateRetrievablePanelDistancesAndHeadings()
else
self.retrievableListDistancesDirty = true
self.retrievableListHeadingsDirty = true
end
end)
- ingame/housingeditor/housingfurniturebrowser_base.lua:51 -- SHARED_FURNITURE:RegisterCallback("RetrievableFurnitureHeadingChanged", function()
if SCENE_MANAGER:IsShowing(sceneName) then
self:UpdateRetrievablePanelHeadings()
else
self.retrievableListHeadingsDirty = true
end
end)
- ingame/housingeditor/housingfurniturebrowser_base.lua:59 -- SHARED_FURNITURE:RegisterCallback("MarketProductsChanged", function()
if SCENE_MANAGER:IsShowing(sceneName) then
self:UpdateProductsPanel()
else
self.productListDirty = true
end
end)
- ingame/housingeditor/housingpreview_shared.lua:88 -- HOUSE_PREVIEW_MANAGER:RegisterCallback("OnHouseTemplateDataUpdated", function() self:RefreshTemplateComboBox() end)
- ingame/housingeditor/housingpreview_shared.lua:89 -- HOUSE_PREVIEW_MANAGER:RegisterCallback("OnPlayerActivated", function() self:RefreshDisplayInfo() end)
- ingame/housingeditor/gamepad/housingfurnitureplacement_gamepad.lua:10 -- SHARED_FURNITURE:RegisterCallback("PlaceableFurnitureChanged", function(fromSearch)
if fromSearch then
self:ResetSavedPositions()
end
end)
- ingame/housingeditor/gamepad/housingfurnitureproducts_gamepad.lua:10 -- SHARED_FURNITURE:RegisterCallback("MarketProductsChanged", function(fromSearch)
if fromSearch then
self:ResetSavedPositions()
end
end)
- ingame/housingeditor/gamepad/housingfurnitureproducts_gamepad.lua:16 -- MARKET_CURRENCY_GAMEPAD:RegisterCallback("OnCurrencyUpdated", function() self:OnCurrencyUpdated() end)
- ingame/housingeditor/gamepad/housingfurnitureretrieval_gamepad.lua:10 -- SHARED_FURNITURE:RegisterCallback("RetrievableFurnitureChanged", function(fromSearch)
if fromSearch then
self:ResetSavedPositions()
end
end)
- ingame/housingeditor/keyboard/furnitureclasses_keyboard.lua:27 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/housingeditor/keyboard/housingfurniturebrowser_keyboard.lua:29 -- self.placeablePanel:RegisterCallback("OnMostRecentlySelectedDataChanged", OnListMostRecentlySelectedDataChanged)
- ingame/housingeditor/keyboard/housingfurniturebrowser_keyboard.lua:30 -- self.productsPanel:RegisterCallback("OnMostRecentlySelectedDataChanged", OnListMostRecentlySelectedDataChanged)
- ingame/housingeditor/keyboard/housingfurniturebrowser_keyboard.lua:31 -- self.retrievalPanel:RegisterCallback("OnMostRecentlySelectedDataChanged", OnListMostRecentlySelectedDataChanged)
- ingame/housingeditor/keyboard/housingfurniturebrowser_keyboard.lua:34 -- KEYBOARD_HOUSING_FURNITURE_BROWSER_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnDeferredInitialization()
self:OnShowing()
elseif newState == SCENE_HIDING then
self:OnHiding()
elseif newState == SCENE_HIDDEN then
self.menuBarFragment:Clear()
end
end)
- ingame/hud/hudequipmentstatus.lua:158 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", OnInventorySingleSlotUpdate)
- ingame/hud/hudequipmentstatus.lua:174 -- HUD_EQUIPMENT_STATUS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
self:OnShow()
end
end)
- ingame/interactwindow/gamepad/interactwindow_gamepad.lua:38 -- interactScene:RegisterCallback("StateChange", OnStateChange)
- ingame/interactwindow/keyboard/interactwindow_keyboard.lua:47 -- interactScene:RegisterCallback("StateChange", OnStateChange)
- ingame/inventory/inventory.lua:164 -- sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/inventory/inventory.lua:623 -- INVENTORY_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
local UPDATE_EVEN_IF_HIDDEN = true
if manager.isListDirty[INVENTORY_BACKPACK] or manager.isListDirty[INVENTORY_QUEST_ITEM] then
manager:UpdateList(INVENTORY_BACKPACK, UPDATE_EVEN_IF_HIDDEN)
manager:UpdateList(INVENTORY_QUEST_ITEM, UPDATE_EVEN_IF_HIDDEN)
end
manager:RefreshMoney()
manager:UpdateApparelSection()
--Reseting the comparison stats here since its too later when the window is already hidden.
ZO_CharacterWindowStats_HideComparisonValues()
elseif(newState == SCENE_FRAGMENT_HIDDEN) then
ZO_InventorySlot_RemoveMouseOverKeybinds()
ZO_PlayerInventory_EndSearch(ZO_PlayerInventorySearchBox)
manager:ClearNewStatusOnItemsThePlayerHasSeen(INVENTORY_BACKPACK)
end
end)
- ingame/inventory/inventory.lua:641 -- 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:648 -- 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:1693 -- 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:1779 -- 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:1832 -- 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:1925 -- 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:2094 -- CRAFT_BAG_FRAGMENT:RegisterCallback("StateChange", OnStateChange)
- ingame/inventory/inventory.lua:2431 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", OnFullInventoryUpdated)
- ingame/inventory/inventory.lua:2432 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", function(bagId, slotIndex) PLAYER_INVENTORY:OnInventorySlotUpdated(bagId, slotIndex) end)
- ingame/inventory/inventory.lua:2445 -- SHARED_INVENTORY:RegisterCallback("FullQuestUpdate", OnQuestsUpdated)
- ingame/inventory/inventory.lua:2446 -- SHARED_INVENTORY:RegisterCallback("SingleQuestUpdate", OnSingleQuestUpdated)
- ingame/inventory/inventorymenubar.lua:32 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnFragmentShowing()
elseif newState == SCENE_FRAGMENT_SHOWN then
self:OnFragmentShown()
elseif newState == SCENE_FRAGMENT_HIDING then
self:OnFragmentHiding()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnFragmentHidden()
end
end)
- ingame/inventory/inventorymenubar.lua:194 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", function() self:UpdateInventoryKeybinds() end)
- ingame/inventory/inventoryslot.lua:2288 -- CALLBACK_MANAGER:RegisterCallback("WornSlotUpdate", ZO_InventorySlot_HandleInventoryUpdate)
- ingame/inventory/inventoryslot.lua:2289 -- 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:112 -- self.spinner:RegisterCallback("OnValueChanged", OnSpinnerValueChanged)
- ingame/inventory/gamepad/buybagspace_gamepad.lua:39 -- GAMEPAD_BUY_BAG_SPACE_SCENE:RegisterCallback("StateChange", StateChanged)
- ingame/inventory/gamepad/gamepadinventory.lua:130 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/gamepadinventory.lua:131 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/gamepadinventory.lua:133 -- SHARED_INVENTORY:RegisterCallback("FullQuestUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/gamepadinventory.lua:134 -- SHARED_INVENTORY:RegisterCallback("SingleQuestUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/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:336 -- self:GetListFragment(self.withdrawList):RegisterCallback("StateChange", self.OnWithdrawDepositStateChanged)
- ingame/inventory/gamepad/guildbank_gamepad.lua:337 -- self:GetListFragment(self.depositList):RegisterCallback("StateChange", self.OnWithdrawDepositStateChanged)
- ingame/inventory/gamepad/inventorylist_gamepad.lua:116 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", OnInventoryUpdated)
- ingame/inventory/gamepad/inventorylist_gamepad.lua:117 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", OnSingleSlotInventoryUpdate)
- ingame/keep/keepwindow.lua:549 -- KEEP_WINDOW_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_HIDDEN) then
manager.keepId = nil
end
end)
- ingame/keybindings/keyboard/keybindings.lua:28 -- KEYBINDINGS_FRAGMENT:RegisterCallback("StateChange", OnStateChanged)
- ingame/leaderboards/leaderboards_shared.lua:164 -- LEADERBOARD_LIST_MANAGER:RegisterCallback("LeaderboardRankTypeChanged", function() self:RepopulateFilterDropdown() end)
- ingame/leaderboards/leaderboards_shared.lua:165 -- LEADERBOARD_LIST_MANAGER:RegisterCallback("OnLeaderboardMasterListUpdated", function()
if self.scene:IsShowing() then
self:OnLeaderboardDataChanged(self.leaderboardObject)
end
end)
- ingame/leaderboards/gamepad/battlegroundleaderboards_gamepad.lua:12 -- GAMEPAD_BATTLEGROUND_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateAllInfo()
local NO_NAME, NO_ICON
GAMEPAD_LEADERBOARDS:SetActiveCampaign(NO_NAME, NO_ICON)
end
end)
- ingame/leaderboards/gamepad/campaignleaderboards_gamepad.lua:87 -- GAMEPAD_CAMPAIGN_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.selector.dataRegistration:Refresh()
self:SetActiveCampaign()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self.selector.dataRegistration:Refresh()
end
end)
- ingame/leaderboards/gamepad/housingleaderboards_gamepad.lua:12 -- GAMEPAD_HOUSING_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateAllInfo()
local NO_NAME, NO_ICON
GAMEPAD_LEADERBOARDS:SetActiveCampaign(NO_NAME, NO_ICON)
end
end)
- ingame/leaderboards/gamepad/raidleaderboards_gamepad.lua:12 -- GAMEPAD_RAID_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateAllInfo()
local NO_NAME, NO_ICON
GAMEPAD_LEADERBOARDS:SetActiveCampaign(NO_NAME, NO_ICON)
end
end)
- ingame/leaderboards/keyboard/battlegroundleaderboards_keyboard.lua:18 -- fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateAllInfo()
end
end)
- ingame/leaderboards/keyboard/campaignleaderboards_keyboard.lua:128 -- CAMPAIGN_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self.selector.dataRegistration:Refresh()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self.selector.dataRegistration:Refresh()
end
end)
- ingame/leaderboards/keyboard/housingleaderboards_keyboard.lua:18 -- HOUSING_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateAllInfo()
QueryHomeShowLeaderboardData()
end
end)
- ingame/leaderboards/keyboard/leaderboards_keyboard.lua:28 -- LEADERBOARDS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:QueryData()
end
end)
- ingame/leaderboards/keyboard/leaderboards_keyboard.lua:88 -- LEADERBOARDS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnLeaderboardSelected(self:GetSelectedLeaderboardData())
self:RefreshData()
if self.leaderboardObject then
self:ActivateLeaderboard()
end
end
end)
- ingame/leaderboards/keyboard/raidleaderboards_keyboard.lua:25 -- RAID_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:UpdateAllInfo()
end
end)
- ingame/lfg/activitytracker.lua:86 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnActivityFinderStatusUpdate", Update)
- ingame/lfg/activitytracker.lua:94 -- FOCUSED_QUEST_TRACKER:RegisterCallback("QuestTrackerFragmentStateChange", OnQuestTrackerFragmentStateChanged)
- ingame/lfg/preferredroles.lua:23 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnActivityFinderStatusUpdate", OnActivityFinderStatusUpdate)
- ingame/lfg/searchingforgroup.lua:62 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnActivityFinderStatusUpdate", OnActivityFinderStatusUpdate)
- ingame/lfg/zo_activityfindertemplate_shared.lua:40 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnUpdateLocationData", function() self:RefreshView() end)
- ingame/lfg/zo_activityfindertemplate_shared.lua:41 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnActivityFinderStatusUpdate", function(status) self:OnActivityFinderStatusUpdate(status) end)
- ingame/lfg/zo_activityfindertemplate_shared.lua:42 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnHandleLFMPromptResponse", function() self:OnHandleLFMPromptResponse() end)
- ingame/lfg/zo_activityfindertemplate_shared.lua:43 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnLevelUpdate", function() self:RefreshFilters() end)
- ingame/lfg/zo_activityfindertemplate_shared.lua:44 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnCooldownsUpdate", function() self:OnCooldownsUpdate() end)
- ingame/lfg/gamepad/zo_activityfinderroot_gamepad.lua:24 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnLevelUpdate", RefreshCategories)
- ingame/lfg/gamepad/zo_activityfindertemplate_gamepad.lua:137 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnSelectionsChanged", function(...) self:RefreshSelections(...) end)
- ingame/lfg/gamepad/zo_activityqueuedata_gamepad.lua:11 -- GAMEPAD_ACTIVITY_QUEUE_DATA_FRAGMENT:RegisterCallback("StateChange",
function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:RefreshQueuedStatus(GetActivityFinderStatus())
end
end
)
- ingame/lfg/gamepad/zo_activityqueuedata_gamepad.lua:33 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnActivityFinderStatusUpdate", OnActivityFinderStatusUpdate)
- ingame/lfg/gamepad/zo_grouprolesbar_gamepad.lua:84 -- GAMEPAD_GROUP_ROLES_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:RefreshRoles()
elseif(newState == SCENE_HIDDEN) then
self:Deactivate()
end
end)
- ingame/lfg/gamepad/zo_grouprolesbar_gamepad.lua:104 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnActivityFinderStatusUpdate", OnActivityFinderStatusUpdate)
- ingame/lfg/keyboard/zo_activityfindertemplate_keyboard.lua:105 -- self.fragment:RegisterCallback("StateChange", OnStateChange)
- ingame/lfg/keyboard/zo_activityfindertemplate_keyboard.lua:113 -- ZO_ACTIVITY_FINDER_ROOT_MANAGER:RegisterCallback("OnSelectionsChanged", function(...) self:RefreshJoinQueueButton(...) end)
- ingame/lockpick/lockpick.lua:118 -- LOCK_PICK_SCENE:RegisterCallback("StateChange", OnSceneStateChange)
- ingame/lockpick/lockpick.lua:121 -- LOCK_PICK_GAMEPAD_SCENE:RegisterCallback("StateChange", OnSceneStateChange)
- ingame/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:98 -- GAMEPAD_MAIL_INBOX_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_SHOWN then
self:OnShown()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/mail/gamepad/mailmanager_gamepad.lua:210 -- CALLBACK_MANAGER:RegisterCallback("OnGamepadDialogHidden", function()
if self.deferredKeybindStripDescriptor ~= false then
self:SwitchToKeybind(self.deferredKeybindStripDescriptor)
end
end
)
- ingame/mail/gamepad/mailsend_gamepad.lua:176 -- self.goldSlider:RegisterCallback("OnValueChanged", function() MAIL_MANAGER_GAMEPAD:RefreshKeybind() end)
- ingame/mail/gamepad/mailsend_gamepad.lua:181 -- GAMEPAD_MAIL_SEND_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif(newState == SCENE_SHOWN) then
if(self.pendingMailChanged) then
ZO_Dialogs_ShowGamepadDialog("MAIL_ATTACHMENTS_CHANGED")
self.pendingMailChanged = nil
end
elseif newState == SCENE_FRAGMENT_HIDDEN then
ZO_MailSendShared_SavePendingMail()
self:OnHidden()
end
end)
- ingame/mail/keyboard/mailinbox_keyboard.lua:37 -- MAIL_INBOX_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:AddKeybindButtonGroup(self.selectionKeybindStripDescriptor)
if(self.inboxDirty) then
self:RefreshData()
end
elseif newState == SCENE_HIDING then
CURRENCY_INPUT:Hide()
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.selectionKeybindStripDescriptor)
end
end)
- ingame/mail/keyboard/mailsend_keyboard.lua:66 -- MAIL_SEND_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
ConnectMoneyEvents()
KEYBIND_STRIP:AddKeybindButtonGroup(manager.staticKeybindStripDescriptor)
ZO_MailSendShared_RestorePendingMail(manager)
elseif(newState == SCENE_SHOWN) then
if(manager.pendingMailChanged) then
ZO_Dialogs_ShowDialog("MAIL_ATTACHMENTS_CHANGED")
manager.pendingMailChanged = nil
end
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(manager.staticKeybindStripDescriptor)
ZO_MailSendShared_SavePendingMail()
DisconnectMoneyEvents()
end
end)
- ingame/mainmenu/zo_mainmenu_manager.lua:147 -- self:RegisterCallback("OnBlockingSceneActivated", callback, arg)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:433 -- 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:439 -- MAIN_MENU_MANAGER:RegisterCallback("OnPlayerStateUpdate", function() self:UpdateEntryEnabledStates() end)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:591 -- SHARED_INVENTORY:RegisterCallback("FullInventoryUpdate", MarkNewnessDirty)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:592 -- SHARED_INVENTORY:RegisterCallback("SingleSlotInventoryUpdate", MarkNewnessDirty)
- ingame/mainmenu/gamepad/zo_mainmenu_gamepad.lua:595 -- MAIN_MENU_MANAGER:RegisterCallback("OnBlockingSceneCleared", OnBlockingSceneCleared)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:378 -- MAIN_MENU_MANAGER:RegisterCallback("OnPlayerStateUpdate", function() self:UpdateCategories() end)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:379 -- MAIN_MENU_MANAGER:RegisterCallback("OnBlockingSceneActivated", OnBlockingSceneActivated)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:380 -- MAIN_MENU_MANAGER:RegisterCallback("OnBlockingSceneCleared", OnBlockingSceneCleared)
- ingame/mainmenu/keyboard/zo_mainmenu_keyboard.lua:539 -- 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:696 -- scene:RegisterCallback("StateChange", self.sceneShowCallback)
- ingame/map/worldmap.lua:3342 -- WORLD_MAP_QUEST_BREADCRUMBS:RegisterCallback("QuestAvailable", function(...) mapPins:OnQuestAvailable(...) end)
- ingame/map/worldmap.lua:3343 -- WORLD_MAP_QUEST_BREADCRUMBS:RegisterCallback("QuestRemoved", function(...) mapPins:OnQuestRemoved(...) end)
- ingame/map/worldmap.lua:6725 -- 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:6744 -- 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:6980 -- QUEST_TRACKER:RegisterCallback("QuestTrackerAssistStateChanged", OnAssistStateChanged)
- ingame/map/worldmap.lua:6982 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function(wasNavigateIn)
UpdateMapCampaign()
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:6997 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapModeChanged", function()
KEYBIND_STRIP:UpdateKeybindButtonGroup(g_keybindStripDescriptor)
end)
- ingame/map/worldmap.lua:7033 -- 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:7278 -- 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:133 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", OnMapChanged)
- ingame/map/worldmapfilters_shared.lua:134 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapModeChanged", OnMapChanged)
- ingame/map/worldmaphouses_shared.lua:14 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- ingame/map/worldmaphouses_shared.lua:32 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapModeChanged", UpdateForModeChange)
- ingame/map/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/worldmapkeepinfo_shared.lua:214 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function()
self:HideKeep()
end)
- ingame/map/worldmapkeepsummary_shared.lua:21 -- self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
self:RefreshAll()
elseif(newState == SCENE_FRAGMENT_HIDDEN) then
self.keepUpgradeObject = nil
end
end)
- ingame/map/worldmapkeepsummary_shared.lua:41 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapKeepChanged", function()
IfShowing(self.RefreshAll)
end)
- ingame/map/worldmapkeepupgrade_shared.lua:60 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapKeepChanged", function()
IfShowing(self.RefreshAll)
end)
- ingame/map/worldmapkey_shared.lua:13 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function()
self.dirty = true
self:RefreshKey()
end)
- ingame/map/worldmaplocations_shared.lua:15 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function()
self:UpdateSelectedMap()
end)
- ingame/map/worldmaplocations_shared.lua:26 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapModeChanged", UpdateForModeChange)
- ingame/map/worldmapquestbreadcrumbs.lua:20 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function() self:OnWorldMapChanged() end)
- ingame/map/worldmapquests_shared.lua:27 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapQuestsDataRefresh", LayoutList)
- ingame/map/worldmapquests_shared.lua:28 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", function() self:RefreshNoQuestsLabel() end)
- ingame/map/worldmapquests_shared.lua:67 -- WORLD_MAP_QUEST_BREADCRUMBS:RegisterCallback("QuestAvailable", function(...) self:OnQuestAvailable(...) end)
- ingame/map/worldmapquests_shared.lua:68 -- WORLD_MAP_QUEST_BREADCRUMBS:RegisterCallback("QuestRemoved", function(...) self:OnQuestRemoved(...) end)
- ingame/map/gamepad/worldmapfilters_gamepad.lua:217 -- 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:229 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapSavedVarsReady", function(savedVars)
self.pvePanel = PvEWorldMapFilterPanel_Gamepad:New(self.control:GetNamedChild("Main"):GetNamedChild("PvE"), MAP_FILTER_TYPE_STANDARD, savedVars)
self.pvpPanel = PvPWorldMapFilterPanel_Gamepad:New(self.control:GetNamedChild("Main"):GetNamedChild("PvP"), MAP_FILTER_TYPE_AVA_CYRODIIL, savedVars)
self.imperialPvPPanel = ImperialPvPWorldMapFilterPanel_Gamepad:New(self.control:GetNamedChild("Main"):GetNamedChild("ImperialPvP"), MAP_FILTER_TYPE_AVA_IMPERIAL, savedVars)
self.battlegroundPanel = BattlegroundWorldMapFilterPanel_Gamepad:New(self.control:GetNamedChild("Main"):GetNamedChild("Battleground"), MAP_FILTER_TYPE_BATTLEGROUND, savedVars)
end)
- ingame/map/gamepad/worldmapinfo_gamepad.lua: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:34 -- GAMEPAD_WORLD_MAP_QUESTS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.questList:Activate()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_SHOWN then
self:SetupQuestDetails()
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.questList:Deactivate()
end
end)
- ingame/map/keyboard/worldmapcorner_keyboard.lua:13 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", UpdateTitleEventCallback)
- ingame/map/keyboard/worldmapfilters_keyboard.lua:143 -- WORLD_MAP_KEY_FILTERS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
self.currentPanel:LoadInitialState()
end
end)
- ingame/map/keyboard/worldmapfilters_keyboard.lua:149 -- CALLBACK_MANAGER:RegisterCallback("OnWorldMapSavedVarsReady", function(savedVars)
self.pvePanel = PvEWorldMapFilterPanel:New(self.control:GetNamedChild("PvE"), MAP_FILTER_TYPE_STANDARD, savedVars)
self.pvpPanel = PvPWorldMapFilterPanel:New(self.control:GetNamedChild("PvP"), MAP_FILTER_TYPE_AVA_CYRODIIL, savedVars)
self.imperialPvPPanel = ImperialPvPWorldMapFilterPanel:New(self.control:GetNamedChild("ImperialPvP"), MAP_FILTER_TYPE_AVA_IMPERIAL, savedVars)
self.battlegroundPanel = BattlegroundWorldMapFilterPanel:New(self.control:GetNamedChild("Battleground"), MAP_FILTER_TYPE_BATTLEGROUND, savedVars)
end)
- ingame/map/keyboard/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 -- QUEST_TRACKER:RegisterCallback("QuestTrackerAssistStateChanged", function(...) self:RefreshHeaders() end)
- ingame/playeremote/gamepad/playeremote_gamepad.lua:348 -- PLAYER_EMOTE_MANAGER:RegisterCallback("EmoteListUpdated",
function()
if GAMEPAD_PLAYER_EMOTE_SCENE:IsShowing() then
self:CreateCategoryList()
else
self:MarkDirty()
end
end)
- ingame/playeremote/keyboard/playeremote_keyboard.lua:97 -- keyboardPlayerEmoteFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
TriggerTutorial(TUTORIAL_TRIGGER_EMOTES_MENU_OPENED)
if self.isDirty then
self:UpdateCategories()
end
end
end)
- ingame/playeremote/keyboard/playeremote_keyboard.lua:107 -- PLAYER_EMOTE_MANAGER:RegisterCallback("EmoteListUpdated",
function()
if keyboardPlayerEmoteFragment:IsShowing() then
self:UpdateCategories()
else
self:MarkDirty()
end
end)
- ingame/quickslot/quickslot.lua:100 -- manager.sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/quickslot/quickslot.lua:229 -- QUICKSLOT_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWN) then
manager:UpdateList()
manager:UpdateFreeSlots()
end
end)
- ingame/quickslot/quickslot.lua:237 -- 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:244 -- COLLECTIONS_INVENTORY_SINGLETON:RegisterCallback("FullCollectionsInventoryUpdate", RefreshQuickslotWindow)
- ingame/quickslot/quickslot.lua:245 -- COLLECTIONS_INVENTORY_SINGLETON:RegisterCallback("SingleCollectionsInventoryUpdate", RefreshQuickslotWindow)
- ingame/quickslot/gamepad/gamepadquickslot.lua:44 -- GAMEPAD_QUICKSLOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
if self.assignmentType == QUICKSLOT_ASSIGNMENT_TYPE_ITEM then
--Used the item and hit Assign at the same time...
if SHARED_INVENTORY:GenerateSingleSlotData(self.itemToSlotId, self.itemToSlotIndex) == nil then
SCENE_MANAGER:HideCurrentScene()
return
end
end
self:RefreshHeader()
self:ResetActiveIcon()
self:ShowQuickslotMenu()
KEYBIND_STRIP:AddKeybindButtonGroup(self.navigationKeybindDescriptor)
elseif newState == SCENE_HIDING then
self.radialMenu:Clear()
elseif newState == SCENE_HIDDEN then
self.activeIcon = nil
self.slotIndexForAnim = nil
self.enteringMenuUnslottedItem = false
self.radialMenu.activeIcon:SetHidden(false)
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.navigationKeybindDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.assignKeybindDescriptor)
end
end)
- ingame/repair/repairwindow.lua:76 -- self.sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/scenes/ingamefragments.lua:237 -- fragment:RegisterCallback("StateChange", function(...) fragment:OnStateChange(...) end)
- ingame/scenes/ingamefragments.lua:386 -- fragment:RegisterCallback("StateChange", function(...) fragment:OnStateChange(...) end)
- ingame/scenes/ingamefragments.lua:934 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStarted", function()
fragment:Refresh()
end)
- ingame/scenes/ingamefragments.lua:937 -- 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:188 -- CALLBACK_MANAGER:RegisterCallback("CraftingAnimationsStopped", skillInfoHeaderControl.craftingAnimationsStoppedCallback)
- ingame/skills/gamepad/gamepadskills.lua:36 -- GAMEPAD_SKILLS_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
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:RefreshAllButtons()
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_SHOWN then
--If we entered skills with the action bar selected make sure to activate it. We do this in shown because fragments are set to showing after
--the scene is which means the action bar is still hidden on showing which prevents activating it.
if self.mode == SKILL_LIST_BROWSE_MODE then
if self.categoryList:GetSelectedData() == ACTION_BAR_ID then
self:ActivateAssignableActionBarFromList()
end
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:78 -- 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:RefreshAllButtons()
self:RefreshLineFilterList()
KEYBIND_STRIP:AddKeybindButtonGroup(self.lineFilterKeybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
self:DisableCurrentList()
self:TryClearAbilityUpdatedStatus()
self:TryClearSkillLineNewStatus()
self.clearAbilityUpdatedStatusCallId = nil
self.clearSkillLineNewStatusCallId = nil
self.clearAbilityUpdatedStatusSkillType = nil
self.clearAbilityUpdatedStatusSkillLineIndex = nil
self.clearAbilityUpdatedStatusAbilityIndex = nil
self.clearSkillLineNewStatusSkillType = nil
self.clearSkillLineNewStatusSkillLineIndex = 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:108 -- 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:142 -- GAMEPAD_SKILLS_SCENE_GROUP:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_GROUP_SHOWING then
self:PerformDeferredInitialization()
self.showAttributeDialog = GetAttributeUnspentPoints() > 0
end
end)
- ingame/skills/keyboard/zo_skills.lua:170 -- NEW_SKILL_CALLOUTS:RegisterCallback("OnSkillLineNewStatusChanged", OnNewStatusChanged)
- ingame/skills/keyboard/zo_skills.lua:171 -- NEW_SKILL_CALLOUTS:RegisterCallback("OnAbilityUpdatedStatusChanged", OnNewStatusChanged)
- ingame/slashcommands/slashcommandautocomplete.lua:23 -- self:RegisterCallback(ZO_AutoComplete.ON_ENTRY_SELECTED, OnAutoCompleteEntrySelected)
- 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:273 -- self.pointsSpinner:RegisterCallback("OnValueChanged", function(points) self:OnValueChanged(points) end)
- ingame/stats/gamepad/zo_stats_gamepad.lua:213 -- GAMEPAD_STATS_ROOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitializationRoot()
self:TryResetScreenState()
self:RefreshEquipmentBonus()
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)
self.control:RegisterForEvent(EVENT_ARTIFICIAL_EFFECT_ADDED, OnRefresh)
self.control:RegisterForEvent(EVENT_ARTIFICIAL_EFFECT_REMOVED, 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
if self.attributeTooltips then
self.attributeTooltips:Deactivate()
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)
self.control:UnregisterForEvent(EVENT_ARTIFICIAL_EFFECT_ADDED)
self.control:UnregisterForEvent(EVENT_ARTIFICIAL_EFFECT_REMOVED)
STABLE_MANAGER:UnregisterCallback("StableMountInfoUpdated", OnRefresh)
end
ZO_Gamepad_ParametricList_Screen.OnStateChanged(self, oldState, newState)
end)
- ingame/stats/gamepad/zo_stats_gamepad.lua:245 -- 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:395 -- 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:130 -- 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:84 -- manager.buyMultipleSpinner:RegisterCallback("OnValueChanged", function() manager:RefreshBuyMultiple() end)
- ingame/storewindow/keyboard/storewindow_keyboard.lua:102 -- manager.sortHeaders:RegisterCallback(ZO_SortHeaderGroup.HEADER_CLICKED, OnSortHeaderClicked)
- ingame/storewindow/keyboard/storewindow_keyboard.lua:218 -- 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/storewindow/keyboard/storewindow_keyboard.lua:250 -- SHARED_INVENTORY:RegisterCallback("ItemRepaired", OnItemRepaired)
- ingame/tradewindow/keyboard/tradewindow_keyboard.lua:80 -- tradeScene:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_HIDING then
--The trade is often over as the scene starts hiding. If we don't remover the Submit Offer keybind here
--we can run into a case where it collides with the enchant keyind on an item since that is only gated
--from showing when we are actually in the trade (ESO-489071).
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
elseif(newState == SCENE_HIDDEN) then
TradeCancel()
CURRENCY_INPUT:Hide()
TradeSetMoney(0)
self.myOfferedMoney = 0
end
end)
- ingame/tradinghouse/gamepad/tradinghouse_browse_gamepad.lua:507 -- 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:130 -- 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:139 -- 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:RefreshGuildNameFooter()
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
-- also with edge case protection: don't try to show the current category if we are currently in the process of changing it
if self.m_currentObject and not self.processCategoryChange 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:369 -- 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:2034 -- CALLBACK_MANAGER:RegisterCallback("TargetOfTargetEnabledChanged", OnTargetOfTargetEnabledChanged)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:91 -- self.fragment:RegisterCallback("StateChange", OnStateChange)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:96 -- VOICE_CHAT_MANAGER:RegisterCallback("ChannelsUpdate", function() self:Update() end)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:97 -- VOICE_CHAT_MANAGER:RegisterCallback("ParticipantsUpdate", function()
self:UpdateParticipantsPanel()
self:UpdateKeybinds()
end)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:101 -- VOICE_CHAT_MANAGER:RegisterCallback("MuteUpdate", function() self:Update() end)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:102 -- VOICE_CHAT_MANAGER:RegisterCallback("RequestsAllowed", function() self:UpdateKeybinds() end)
- ingame/voicechat/console/zo_voicechatchannels_gamepad.lua:103 -- VOICE_CHAT_MANAGER:RegisterCallback("RequestsDisabled", function()
local SHOULD_PERSIST = true
KEYBIND_STRIP:TriggerCooldown(self.joinOrActivateChannelKeybind, VOICE_CHAT_REQUEST_DELAY, nil, SHOULD_PERSIST)
KEYBIND_STRIP:TriggerCooldown(self.leaveChannelKeybind, VOICE_CHAT_REQUEST_DELAY, nil, SHOULD_PERSIST)
end)
- ingame/voicechat/console/zo_voicechathud_gamepad.lua:18 -- CALLBACK_MANAGER:RegisterCallback("PlayerProgressBarFadingIn", OnPlayerProgressBarShowing())
- ingame/voicechat/console/zo_voicechathud_gamepad.lua:19 -- CALLBACK_MANAGER:RegisterCallback("PlayerProgressBarFadingOut", OnPlayerProgressBarHiding())
- ingame/voicechat/console/zo_voicechatparticipants_gamepad.lua:45 -- self.fragment:RegisterCallback("StateChange", OnStateChange)
- ingame/voicechat/console/zo_voicechatparticipants_gamepad.lua:49 -- VOICE_CHAT_MANAGER:RegisterCallback("MuteUpdate", function() self:Update() end)
- ingame/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:16 -- GAMEPAD_LOOT_HISTORY_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWN then
self:DisplayLootQueue()
elseif newState == SCENE_FRAGMENT_HIDING then
self:HideLootQueue()
end
end)
- ingame/zo_loot/gamepad/lootinventory_gamepad.lua: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:16 -- 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:20 -- FOCUSED_QUEST_TRACKER_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState) self:FireCallbacks("QuestTrackerFragmentStateChange", oldState, newState) end)
- ingame/zo_quest/focusedquesttracker.lua:24 -- CALLBACK_MANAGER:RegisterCallback("GamepadChatSystemActiveOnScreen", function() self:TryFadeOut() end)
- ingame/zo_quest/focusedquesttracker.lua:25 -- QUEST_TRACKER:RegisterCallback("QuestTrackerAssistStateChanged", function() self:InitialTrackingUpdate() end)
- ingame/zo_quest/focusedquesttracker.lua:26 -- 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:315 -- self:RegisterCallback("QuestTrackerAssistStateChanged", function(unassistedQuestIndex, questIndex, questIndexIsAssisted) self:OnQuestAssistStateChanged(unassistedQuestIndex, questIndex, questIndexIsAssisted) end)
- ingame/zo_quest/questtracker.lua:326 -- INTERACT_WINDOW:RegisterCallback("Hidden", function() self.assistedQuestCompleted = false end)
- ingame/zo_quest/keyboard/questjournal_keyboard.lua:217 -- 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)
- ingameshared/itempreview/itempreview_shared.lua:194 -- self.fragment:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/market_shared.lua:257 -- self.marketScene:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/gamepad/marketdialogs_gamepad.lua:61 -- self.marketPurchaseScene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWN then
local queuedDialogInfo = self.queuedDialogInfo
if queuedDialogInfo then
ZO_Dialogs_ShowGamepadDialog(queuedDialogInfo.dialogName, queuedDialogInfo.dialogData, queuedDialogInfo.dialogParams)
end
end
end)
- internalingame/market/gamepad/marketgridscreen_gamepad.lua:551 -- ITEM_PREVIEW_GAMEPAD:RegisterCallback("RefreshActions", self.RefreshPreviewKeybindStrip)
- internalingame/market/gamepad/marketgridscreen_gamepad.lua:562 -- GAMEPAD_MARKET_PREVIEW_SCENE:RegisterCallback("StateChange", self.PreviewSceneOnStateChange)
- internalingame/market/gamepad/market_gamepad.lua:44 -- 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:68 -- MARKET_CURRENCY_GAMEPAD:RegisterCallback("OnCurrencyUpdated", function() self:OnCurrencyUpdated() end)
- internalingame/market/gamepad/market_gamepad.lua:161 -- CALLBACK_MANAGER:RegisterCallback("OnGamepadDialogHidden", self.OnGamepadDialogHidden)
- internalingame/market/gamepad/market_gamepad.lua:533 -- categoryData.fragment:RegisterCallback("StateChange", OnCategoryFragmentStateChanged)
- internalingame/market/gamepad/market_gamepad.lua:1279 -- GAMEPAD_MARKET_BUNDLE_CONTENTS_SCENE:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/gamepad/market_gamepad.lua:1325 -- 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:1709 -- ITEM_PREVIEW_GAMEPAD:RegisterCallback("RefreshActions", self.RefreshPreviewKeybindStrip)
- internalingame/market/gamepad/market_gamepad.lua:1720 -- GAMEPAD_MARKET_PREVIEW_SCENE:RegisterCallback("StateChange", self.PreviewSceneOnStateChange)
- internalingame/market/gamepad/market_gamepad.lua:1798 -- ZO_GAMEPAD_MARKET_LOCKED_SCENE:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/gamepad/market_gamepad.lua:1843 -- ZO_GAMEPAD_MARKET_PRE_SCENE:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- internalingame/market/keyboard/market_keyboard.lua:33 -- self:RegisterCallback("StateChange", function(...) self:OnStateChange(...) end)
- internalingame/market/keyboard/market_keyboard.lua:1383 -- ITEM_PREVIEW_KEYBOARD:RegisterCallback("RefreshActions", self.refreshActionsCallback)
- 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:335 -- SCENE_MANAGER:RegisterCallback("SceneStateChanged", dialog.gamepadInfo.nextSceneCallback)
- libraries/zo_dialog/gamepad/zo_genericdialog_gamepad.lua:448 -- dialog.fragment:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
dialog:OnDialogShowing()
elseif(newState == SCENE_FRAGMENT_SHOWN) then
dialog:OnDialogShown()
elseif(newState == SCENE_FRAGMENT_HIDING) then
dialog:OnDialogHiding()
elseif(newState == SCENE_FRAGMENT_HIDDEN) then
dialog:OnDialogHidden()
end
end)
- libraries/zo_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:206 -- self:RegisterCallback("MovementChanged", onMovementChangedCallback)
- libraries/zo_parametricscrolllist/zo_parametricscrolllist.lua:214 -- self:RegisterCallback("TargetDataChanged", onTargetDataChangedCallback)
- libraries/zo_parametricscrolllist/zo_parametricscrolllist.lua:222 -- self:RegisterCallback("SelectedDataChanged", onSelectedDataChangedCallback)
- libraries/zo_savingeditbox/zo_savingeditbox.lua:233 -- savingEditBox:RegisterCallback("SetEditing", self.setEditingCallback)
- libraries/zo_scene/zo_scenefragmenttemplates.lua:593 -- 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:160 -- self.listFragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_FRAGMENT_SHOWING then
self:OnShowing()
elseif newState == SCENE_FRAGMENT_SHOWN then
self:OnShown()
elseif newState == SCENE_FRAGMENT_HIDING then
self:OnHiding()
elseif newState == SCENE_FRAGMENT_HIDDEN then
self:OnHidden()
end
end)
- libraries/zo_statemachine/zo_statemachine.lua:95 -- edge:GetParentMachine():RegisterCallback(self.eventName, self.triggerFunction)
- pregame/accountlogin/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
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:179 -- CALLBACK_MANAGER:RegisterCallback("AllDialogsHidden", function() self:InitializeLoginButtonState() end)
- pregame/accountlogin/keyboard/zo_login.lua:180 -- LINK_HANDLER:RegisterCallback(LINK_HANDLER.LINK_CLICKED_EVENT, OnLinkClicked)
- pregame/accountlogin/keyboard/zo_login.lua:183 -- LOGIN_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWN) then
self:InitializeLoginButtonState()
self:AttemptAutomaticLogin()
end
end)
- pregame/chapterupgrade/chapterupgrade_shared.lua:41 -- scene:RegisterCallback("StateChange", function(oldState, newState)
local handler = stateChangeHandlers[newState]
if handler then
handler(self)
end
end)
- pregame/charactercreate/zo_charactercreate_shared.lua:113 -- CALLBACK_MANAGER:RegisterCallback("OnCharacterConstructionReady", OnCharacterConstructionReady)
- pregame/charactercreate/zo_charactercreate_shared.lua:114 -- CALLBACK_MANAGER:RegisterCallback("CharacterCreateRequested", OnCharacterCreateRequested)
- pregame/charactercreate/gamepad/zo_charactercreate_gamepad.lua:129 -- GAMEPAD_CHARACTER_CREATE_SCENE:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:1173 -- GAMEPAD_CHARACTER_SELECT_SCENE:RegisterCallback("StateChange", ZO_CharacterSelect_Gamepad_StateChanged)
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:1175 -- CALLBACK_MANAGER:RegisterCallback("OnCharacterConstructionReady", ContextFilter(OnCharacterConstructionReady))
- pregame/characterselect/gamepad/zo_characterselect_gamepad.lua:1176 -- CALLBACK_MANAGER:RegisterCallback("PregameFullyLoaded", ContextFilter(OnPregameFullyLoaded))
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:338 -- CALLBACK_MANAGER:RegisterCallback("OnCharacterConstructionReady", ContextFilter(OnCharacterConstructionReady))
- pregame/characterselect/keyboard/zo_characterselect_keyboard.lua:339 -- CALLBACK_MANAGER:RegisterCallback("PregameFullyLoaded", ContextFilter(OnPregameFullyLoaded))
- 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:46 -- 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()
self.fadeMode = LOGO_FADE_IN
if self.playIntroAnimation then
zo_callLater(function() self.esoLogoAnimation:PlayFromStart() end, SHOW_LOGO_DELAY_TIME_MS)
self.playIntroAnimation = false
else
self.esoLogoAnimation: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)
if self.mustPurchaseGame then
KEYBIND_STRIP:AddKeybindButtonGroup(self.freeTrialEndKeybindDescriptor)
--[[ The player needs to purchase the game, no need to wait on RequestAnnouncements to get something that we're going to overwrite anyway ]]--
local platformStore = ""
if GetUIPlatform() == UI_PLATFORM_PS4 then
platformStore = GetString(SI_FREE_TRIAL_PLATFORM_STORE_PS4)
end
self.announcement:SetText(zo_strformat(SI_FREE_TRIAL_EXPIRED_ANNOUNCEMENT, platformStore))
self.gotMOTD = false
else
KEYBIND_STRIP:AddKeybindButtonGroup(self.mainKeybindStripDescriptor)
--[[ if we don't have an MOTD, kick off RequestAnnouncements and show a loading animation. The loading animation is dismissed in OnAnnouncementsResult() below ]]--
if not self.gotMOTD then
CREATE_LINK_LOADING_SCREEN_GAMEPAD:Show("AccountLogin", RequestAnnouncements, GetString(SI_CONSOLE_PREGAME_LOADING))
else
self.gotMOTD = false
self.canCancelOrLoadPlatforms = true
end
end
elseif newState == SCENE_HIDDEN then
self:Deactivate()
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.mustPurchaseGame and self.freeTrialEndKeybindDescriptor or self.mainKeybindStripDescriptor)
end
end)
- pregame/console/gamestartup/gamestartup_gamepad.lua:65 -- 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:132 -- 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:110 -- gameMenuCharacterCreateScene:RegisterCallback("StateChange", function(oldState, newState)
ZO_UpdatePaperDollManipulationForScene(ZO_CharacterCreateCharacterViewport, newState)
end)
- pregame/gamemenu_pregame/keyboard/gamemenu_characterselect.lua:122 -- gameMenuCharacterSelectScene:RegisterCallback("StateChange", function(oldState, newState)
ZO_UpdatePaperDollManipulationForScene(ZO_CharacterSelectCharacterViewport, newState)
if newState == SCENE_SHOWING then
RebuildTree(GAME_MENU_CHARACTERSELECT)
end
end)
- pregame/gamemenu_pregame/keyboard/gamemenu_characterselect.lua:133 -- 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/pregameanimatedbackground/morrowindbackground.lua:326 -- PREGAME_ANIMATED_BACKGROUND_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:Start()
elseif newState == SCENE_HIDDEN then
self:Stop()
end
end)
- pregameandingame/zo_addonmanager/zo_addoneula.lua:119 -- CALLBACK_MANAGER:RegisterCallback("ShowAddOnEULAIfNecessary", DisplayAddOnEULAIfNecessary)
- pregameandingame/zo_addonmanager/zo_addonmanager.lua:50 -- CALLBACK_MANAGER:RegisterCallback("AddOnEULAHidden", OnAddOnEulaHidden)
- pregameandingame/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)
- pregameandingame/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)
- pregameandingame/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.primaryActionDescriptor)
end
end)
- pregameandingame/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)
- pregameandingame/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)
- pregameandingame/zo_options/keyboard/zo_options_keyboard.lua:70 -- CALLBACK_MANAGER:RegisterCallback(event, callback, control)