Implement dueler

This commit is contained in:
2025-01-01 15:04:20 +01:00
parent 0ceb59c778
commit 2c84c326dd
3 changed files with 20 additions and 2 deletions

View File

@@ -9,7 +9,9 @@ function shared.Inviter.Init()
local channelRosterFrame = CreateFrame("Frame")
channelRosterFrame:RegisterEvent("CHANNEL_ROSTER_UPDATE")
channelRosterFrame:SetScript("OnEvent", function(self, event, index)
if not Heimdall_Data.config.inviter.enabled then return end
--if not Heimdall_Data.config.inviter.enabled then return end
--Since multiple modules depend on this we won't disable it, for now...
--I should really create a new module for just this though, eventually
local count = select(5, GetChannelDisplayInfo(index))
for i = 1, count do
local name = GetChannelRosterInfo(index, i)