- ingame/collections/keyboard/collectionsbook.lua:461 --
self.scene:RegisterCallback("StateChange",
function(oldState, newState)
if newState == SCENE_SHOWING then
ZO_Scroll_ResetToTop(self.list)
self:UpdateCollectionVisualLayer()
COLLECTIONS_BOOK_SINGLETON:SetSearchString(self.contentSearchEditBox:GetText())
COLLECTIONS_BOOK_SINGLETON:SetSearchCategorySpecializationFilters(COLLECTIBLE_CATEGORY_SPECIALIZATION_NONE)
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)