@@ -2,7 +2,7 @@ local E, L, V, P, G = unpack(ElvUI)
2
2
local DT = E :GetModule (' DataTexts' )
3
3
local AB = E :GetModule (' ActionBars' )
4
4
5
- local type , pairs , select , tonumber = type , pairs , select , tonumber
5
+ local type , pairs , tonumber = type , pairs , tonumber
6
6
local lower , wipe , next , print = strlower , wipe , next , print
7
7
8
8
local ReloadUI = ReloadUI
@@ -74,7 +74,18 @@ function E:DisplayCommands()
74
74
print (L [" EHELP_COMMANDS" ])
75
75
end
76
76
77
+ local BLIZZARD_DEPRECATED = {
78
+ ' Blizzard_Deprecated' ,
79
+ ' Blizzard_DeprecatedCurrencyScript' ,
80
+ ' Blizzard_DeprecatedGuildScript' ,
81
+ ' Blizzard_DeprecatedItemScript' ,
82
+ ' Blizzard_DeprecatedPvpScript' ,
83
+ ' Blizzard_DeprecatedSoundScript' ,
84
+ ' Blizzard_DeprecatedSpellScript' ,
85
+ }
86
+
77
87
local BLIZZARD_ADDONS = {
88
+ ' Blizzard_AccountSaveUI' ,
78
89
' Blizzard_AchievementUI' ,
79
90
' Blizzard_AdventureMap' ,
80
91
' Blizzard_AlliedRacesUI' ,
@@ -100,6 +111,7 @@ local BLIZZARD_ADDONS = {
100
111
' Blizzard_Channels' ,
101
112
' Blizzard_CharacterCreate' ,
102
113
' Blizzard_CharacterCustomize' ,
114
+ ' Blizzard_ChatFrameUtil' ,
103
115
' Blizzard_ChromieTimeUI' ,
104
116
' Blizzard_ClassTalentUI' ,
105
117
' Blizzard_ClassTrial' ,
@@ -121,10 +133,11 @@ local BLIZZARD_ADDONS = {
121
133
' Blizzard_CUFProfiles' ,
122
134
' Blizzard_DeathRecap' ,
123
135
' Blizzard_DebugTools' ,
124
- ' Blizzard_Deprecated ' ,
136
+ ' Blizzard_Dispatcher ' ,
125
137
' Blizzard_EncounterJournal' ,
126
138
' Blizzard_EventTrace' ,
127
139
' Blizzard_ExpansionLandingPage' ,
140
+ ' Blizzard_ExpansionTrial' ,
128
141
' Blizzard_FlightMap' ,
129
142
' Blizzard_FrameEffects' ,
130
143
' Blizzard_GarrisonTemplates' ,
@@ -133,7 +146,6 @@ local BLIZZARD_ADDONS = {
133
146
' Blizzard_GMChatUI' ,
134
147
' Blizzard_GuildBankUI' ,
135
148
' Blizzard_GuildControlUI' ,
136
- ' Blizzard_GuildUI' ,
137
149
' Blizzard_HybridMinimap' ,
138
150
' Blizzard_InspectUI' ,
139
151
' Blizzard_IslandsPartyPoseUI' ,
@@ -146,6 +158,7 @@ local BLIZZARD_ADDONS = {
146
158
' Blizzard_MacroUI' ,
147
159
' Blizzard_MajorFactions' ,
148
160
' Blizzard_MapCanvas' ,
161
+ ' Blizzard_MatchCelebrationPartyPoseUI' ,
149
162
' Blizzard_MawBuffs' ,
150
163
' Blizzard_MoneyReceipt' ,
151
164
' Blizzard_MovePad' ,
@@ -156,10 +169,13 @@ local BLIZZARD_ADDONS = {
156
169
' Blizzard_ObliterumUI' ,
157
170
' Blizzard_OrderHallUI' ,
158
171
' Blizzard_PartyPoseUI' ,
172
+ ' Blizzard_PerksProgram' ,
159
173
' Blizzard_PetBattleUI' ,
174
+ ' Blizzard_PingUI' ,
160
175
' Blizzard_PlayerChoice' ,
176
+ ' Blizzard_PlunderstormBasics' ,
177
+ ' Blizzard_PrivateAurasUI' ,
161
178
' Blizzard_Professions' ,
162
- ' Blizzard_ProfessionsCrafterOrders' ,
163
179
' Blizzard_ProfessionsCustomerOrders' ,
164
180
' Blizzard_ProfessionsTemplates' ,
165
181
' Blizzard_PTRFeedback' ,
@@ -171,12 +187,15 @@ local BLIZZARD_ADDONS = {
171
187
' Blizzard_RuneforgeUI' ,
172
188
' Blizzard_ScrappingMachineUI' ,
173
189
' Blizzard_SecureTransferUI' ,
190
+ ' Blizzard_SelectorUI' ,
191
+ ' Blizzard_Settings' ,
174
192
' Blizzard_SharedMapDataProviders' ,
175
193
' Blizzard_SharedTalentUI' ,
176
- ' Blizzard_SocialUI ' ,
194
+ ' Blizzard_SharedWidgetFrames ' ,
177
195
' Blizzard_Soulbinds' ,
178
196
' Blizzard_StoreUI' ,
179
197
' Blizzard_SubscriptionInterstitialUI' ,
198
+ ' Blizzard_Subtitles' ,
180
199
' Blizzard_TalentUI' ,
181
200
' Blizzard_TimeManager' ,
182
201
' Blizzard_TokenUI' ,
@@ -189,18 +208,39 @@ local BLIZZARD_ADDONS = {
189
208
' Blizzard_VoidStorageUI' ,
190
209
' Blizzard_WarfrontsPartyPoseUI' ,
191
210
' Blizzard_WeeklyRewards' ,
211
+ ' Blizzard_WeeklyRewardsUtil' ,
192
212
' Blizzard_WorldMap' ,
193
- ' Blizzard_WowTokenUI'
213
+ ' Blizzard_WowTokenUI' ,
194
214
}
195
215
196
- function E :EnableBlizzardAddOns ()
197
- for _ , addon in pairs (BLIZZARD_ADDONS ) do
198
- local reason = select (5 , GetAddOnInfo (addon ))
216
+ function E :DisableBlizzardDeprecated ()
217
+ for _ , addon in pairs (BLIZZARD_DEPRECATED ) do
218
+ local enabled = E :IsAddOnEnabled (addon )
219
+ if enabled then
220
+ DisableAddOn (addon )
221
+ E :Print (' The following addon was disabled:' , addon )
222
+ end
223
+ end
224
+ end
225
+
226
+ do
227
+ local function Enable (addon )
228
+ local _ , _ , _ , _ , reason = GetAddOnInfo (addon )
199
229
if reason == ' DISABLED' then
200
230
EnableAddOn (addon )
201
231
E :Print (' The following addon was re-enabled:' , addon )
202
232
end
203
233
end
234
+
235
+ function E :EnableBlizzardAddOns ()
236
+ for _ , addon in pairs (BLIZZARD_ADDONS ) do
237
+ Enable (addon )
238
+ end
239
+
240
+ for _ , addon in pairs (BLIZZARD_DEPRECATED ) do
241
+ Enable (addon )
242
+ end
243
+ end
204
244
end
205
245
206
246
function E :DBConvertProfile ()
0 commit comments