- ingame/achievements/keyboard/achievements.lua:974 --
self.scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.refreshGroups:UpdateRefreshGroups()
self.queuedScrollToAchievement = nil
if self.queuedShowAchievement then
if not self:ShowAchievement(self.queuedShowAchievement) then
self.queuedScrollToAchievement = nil
end
end
ACHIEVEMENTS_MANAGER:SetSearchString(self.contentSearchEditBox:GetText())
elseif newState == SCENE_SHOWN then
if self.achievementsById and self.achievementsById[self.queuedScrollToAchievement] then
ZO_Scroll_ScrollControlIntoCentralView(self.contentList, self.achievementsById[self.queuedScrollToAchievement]:GetControl())
end
end
end)
- ingame/antiquities/keyboard/antiquityjournal_keyboard.lua:812 --
self.scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
ANTIQUITY_DATA_MANAGER:SetSearch(self.contentSearchEditBox:GetText())
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
TriggerTutorial(TUTORIAL_TRIGGER_ANTIQUITY_JOURNAL_OPENED)
self.refreshGroups:RefreshAll("AntiquitiesUpdated")
elseif newState == SCENE_HIDING then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)
- ingame/antiquities/keyboard/antiquitylore_keyboard.lua:152 --
self.scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
KEYBIND_STRIP:RemoveDefaultExit()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_HIDING then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
KEYBIND_STRIP:RestoreDefaultExit()
ANTIQUITY_LORE_READER_KEYBOARD:Reset()
end
end)
- ingame/collections/keyboard/collectionsbook.lua:35 --
self.scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.refreshGroups:UpdateRefreshGroups() --In case we need to rebuild the categories
self:UpdateCollectionVisualLayer()
COLLECTIONS_BOOK_SINGLETON:SetSearchString(self.contentSearchEditBox:GetText())
COLLECTIONS_BOOK_SINGLETON:SetSearchCategorySpecializationFilters(COLLECTIBLE_CATEGORY_SPECIALIZATION_NONE)
COLLECTIONS_BOOK_SINGLETON:SetSearchChecksHidden(true)
elseif newState == SCENE_HIDDEN then
self.gridListPanelList:ResetToTop()
end
end)
- ingame/giftinventory/giftinventoryview_shared.lua:13 --
self.scene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:OnShowing()
elseif newState == SCENE_HIDDEN then
self:OnHidden()
end
end)
- ingame/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)
- internalingame/marketannouncement/marketannouncement_manager.lua:17 --
self.scene:RegisterCallback("StateChange", function(...) self:OnStateChanged(...) end)