- ingame/crafting/sharedcraftinginventory.lua:40 --
CRAFT_ADVISOR_MANAGER:RegisterCallback("QuestInformationUpdated", function(updatedQuestInfo)
self.questRunes = updatedQuestInfo.runeIds
self.alchemyQuestInfo = updatedQuestInfo.alchemyInfo
self.improvementQuestInfo = updatedQuestInfo.improvementInfo
self.hasRecipesForQuest = updatedQuestInfo.hasRecipesForQuest
self:HandleDirtyEvent()
end)
- ingame/crafting/sharedprovisioner.lua:98 --
CRAFT_ADVISOR_MANAGER:RegisterCallback("QuestInformationUpdated", function(updatedQuestSelection)
self.questRecipes = updatedQuestSelection.recipeItemIds
self.questRecipeLists = {}
self.questCategories = {}
local craftingInteractionType = GetCraftingInteractionType()
local recipeLists = PROVISIONER_MANAGER:GetRecipeListData(craftingInteractionType)
--Locate any recipes that match the current quest recipes
for listIndex, recipeList in pairs(recipeLists) do
for _, recipe in ipairs(recipeList.recipes) do
--If we have a match, then mark the list and category as having a quest in it
if self.questRecipes and self.questRecipes[recipe.resultItemId] then
self.questRecipeLists[recipe.recipeListIndex] = true
self.questCategories[recipe.specialIngredientType] = true
end
end
end
self:DirtyRecipeList()
self:UpdateQuestPins()
end)
- ingame/crafting/smithingcreation_shared.lua:54 --
CRAFT_ADVISOR_MANAGER:RegisterCallback("QuestInformationUpdated", function(updatedQuestInfo)
self.questPatterns = updatedQuestInfo.patternIndices
self.questMaterial = updatedQuestInfo.materialIndex
self.questStyle = updatedQuestInfo.styleId
self.questTrait = updatedQuestInfo.traitId
self.hasQuestPatterns = updatedQuestInfo.hasPatterns
self.isSetQuest = self.questTrait ~= nil and self.questStyle ~= nil
self.hasItemToImproveForWrit = updatedQuestInfo.hasItemToImproveForWrit
--Determine which crafting tabs need to have quest pins
ZO_ClearTable(self.tabsWithQuests)
for patternIndex, _ in pairs(self.questPatterns) do
local resultingItemFilterType = select(7, GetSmithingPatternInfo(patternIndex))
self.tabsWithQuests[resultingItemFilterType] = true
end
DirtyAllLists()
end)
- ingame/crafting/smithingextraction_shared.lua:97 --
CRAFT_ADVISOR_MANAGER:RegisterCallback("QuestInformationUpdated", function(updatedQuestInfo)
self.questItemId = updatedQuestInfo.smithingItemId
end)
- ingame/crafting/smithing_common.lua:89 --
CRAFT_ADVISOR_MANAGER:RegisterCallback("QuestInformationUpdated", OnQuestInformationUpdated)
- ingame/crafting/gamepad/craftadvisor_gamepad.lua:32 --
CRAFT_ADVISOR_MANAGER:RegisterCallback("QuestMasterListUpdated", function(updatedQuestList)
self.questMasterList = updatedQuestList
self:RefreshQuestList()
end)
- ingame/crafting/gamepad/craftadvisor_gamepad.lua:37 --
CRAFT_ADVISOR_MANAGER:RegisterCallback("SelectedQuestConditionsUpdated", function() self:RefreshQuestList() end)
- ingame/crafting/keyboard/craftadvisor_activewrit_keyboard.lua:30 --
CRAFT_ADVISOR_MANAGER:RegisterCallback("QuestMasterListUpdated", function(updatedQuestList)
self.questMasterList = updatedQuestList
self:RefreshQuestList()
end)
- ingame/crafting/keyboard/craftadvisor_activewrit_keyboard.lua:62 --
CRAFT_ADVISOR_MANAGER:RegisterCallback("SelectedQuestConditionsUpdated", function() self:RefreshQuestList() end)