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 |
return object
end
EVENT_MANAGER : RegisterForEvent ( "HUDRaidLifeManager" , EVENT_INTERFACE_SETTING_CHANGED , function ( _ , settingType , settingId )
if ( settingType == SETTING_TYPE_UI and settingId == UI_SETTING_SHOW_RAID_LIVES ) then
end
end )
end
local showInSpecificSituations
if ( visibilitySetting == RAID_LIFE_VISIBILITY_CHOICE_OFF ) then
showInSpecificSituations = false
elseif ( visibilitySetting == RAID_LIFE_VISIBILITY_CHOICE_AUTOMATIC ) then
showInSpecificSituations = true
elseif ( visibilitySetting == RAID_LIFE_VISIBILITY_CHOICE_ON ) then
showInSpecificSituations = false
end
end
end
end
end |