Remove most C_ functions that cannot be downported

This commit is contained in:
andrew6180
2024-05-21 01:54:45 -07:00
parent 2f0e5b572f
commit 60c4c0c1c1
7 changed files with 90 additions and 343 deletions
+3 -5
View File
@@ -1329,7 +1329,7 @@ function SlashCmdList.DETAILS (msg, editbox)
Details:InstanceCallDetailsFunc(Details.ResetaGump)
Details:RefreshMainWindow(-1, true)
elseif (msg == "ej") then
elseif (msg == "ej" and false) then
local result = {}
local spellIDs = {}
@@ -1982,7 +1982,7 @@ if (WOW_PROJECT_ID == WOW_PROJECT_MAINLINE) then
C_Timer.After(30, function()
f:UnregisterEvent("GUILD_ROSTER_UPDATE")
end)
C_GuildInfo.GuildRoster()
GuildRoster()
openRaidLib.RequestKeystoneDataFromGuild()
end
@@ -2380,9 +2380,7 @@ if (WOW_PROJECT_ID == WOW_PROJECT_MAINLINE) then
local guildName = GetGuildInfo("player")
if (guildName) then
--call an update on the guild roster
if (C_GuildInfo and C_GuildInfo.GuildRoster) then
C_GuildInfo.GuildRoster()
end
GuildRoster()
DetailsKeystoneInfoFrame.RequestFromGuildButton:Enable()
else
DetailsKeystoneInfoFrame.RequestFromGuildButton:Disable()