1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
------------------
--Initialization--
------------------
end
end
end
---------------
--Interaction--
---------------
local questAcceptLabelStringId = data . active and SI_DLC_BOOK_QUEST_STATUS_ACCEPTED or SI_DLC_BOOK_QUEST_STATUS_NOT_ACCEPTED
self . questStatusControl : SetText ( zo_strformat ( SI_DLC_BOOK_QUEST_STATUS , questName , GetString ( questAcceptLabelStringId ) ) )
if showsQuest then
else
end
local questAcceptButtonStringId = data . active and SI_DLC_BOOK_ACTION_QUEST_ACCEPTED or SI_DLC_BOOK_ACTION_ACCEPT_QUEST
self . questAcceptButton : SetEnabled ( data . unlockState ~= COLLECTIBLE_UNLOCK_STATE_LOCKED and not data . active )
end
end
end
end
----------
--Events--
----------
end
end
ZO_Dialogs_ShowDialog ( "CONFIRM_OPEN_URL_BY_TYPE" , { urlType = APPROVED_URL_ESO_ACCOUNT_SUBSCRIPTION } , { mainTextParams = { GetString ( SI_ESO_PLUS_SUBSCRIPTION_LINK_TEXT ) , GetString ( SI_URL_APPLICATION_WEB ) } } )
end
end |