Conversation
Trying to chop down large blocks and improve readability. function Nx.Quest:UpdateIcons(map) function Nx.Quest:RecordQuestsLog()
|
What parts of code did u removed? I see there is no ZygorGuidesViewer integration. |
Reinsert zygor into code
|
Uodated Nx.Quest.Watch:UpdateList() by extraction out various functions. Updated depreciated code with correct C_QuestLog Nx.Quest.Watch:UpdateList Broke down large sections of the original function into logical helper functions: GetQuestFilters, ProcessQuests, HandleAutoTarget, HandleClosestQuest, DisplayQuests, HandleEmissaries, DisplayEmissaries, and DisplayEmissary. This improves readability and maintainability. |
|
Will update with more info when I get back from hospital with my mother who has lab test all morning. |
|
Also will reinstall the Zygor parts with updated push |
|
Changes to Nx.Quest:RecordQuestsLog also include updating GetQuestLogTitle and GetQuestTagInfo... into into into into |
|
Changes to Nx.Quest:UpdateIcons also include updating GetQuestLogTitle and GetQuestTagInfo... into into into into into into |
|
Posted for comments. The full changes can be downloaded form my git if anyone wants to test and comment. Cannot test Zygor as I do not use what essentially is a paid for app. |
|
A lot of changes... |
|
Dont close it... i need more time to analyse those changes ;) |
Trying to chop down large blocks and improve readability. Have been working on this for some time and posting for fresh eyes.
The below function blocks were refactored down into smaller, more manageable functions,,
*** There is a short lag upon loading a character for the tables to fill for quest icons on map....
These are the functions that are affected
function Nx.Quest:UpdateIcons(map)
function Nx.Quest:RecordQuestsLog()
https://github.com/Thrumbar/Carbonite.Quests