WoWInterface SVN Aloft

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /branches/preview/Aloft/AloftAutoShow
    from Rev 1990 to Rev 1992
    Reverse comparison

Rev 1990 → Rev 1992

AloftAutoShowOptions.lua
44,6 → 44,7
name = L["Bounce Nameplates on Overlap Change"],
desc = L["Quicky toggle nameplates (bounce) when overlap settings are automatically changed"],
order = 3,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile end,
get = function(i) return AloftAutoShow.db.profile.bounceOverlap end,
set = function(i, v) AloftAutoShow.db.profile.bounceOverlap = v end,
},
54,6 → 55,7
name = L["Set All"],
desc = L["Auto-overlap all nameplates"],
order = 3,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile end,
get = function(i) return AloftAutoShow.db.profile.allOverlap end,
set = function(i, v) AloftAutoShow.db.profile.allOverlap = v AloftAutoShow:SetAllNameplateOverlap(v) AloftAutoShow:ApplyNameplateDisplay() end,
},
72,6 → 74,7
name = L["Combat"],
desc = L["Auto-overlap all nameplates on entering/exiting combat (subject to Visibility options)"],
order = 5,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.overlap end,
get = function(i) return AloftAutoShow.db.profile.overlap.state.combat end,
set = function(i, v)
if AloftAutoShow.db.profile.allOverlap then AloftAutoShow:SetAllNameplateOverlap(v) else AloftAutoShow.db.profile.overlap.state.combat = v end
85,6 → 88,7
name = L["Flagged/PvP"],
desc = L["Auto-overlap all nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"],
order = 6,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.overlap end,
get = function(i) return AloftAutoShow.db.profile.overlap.state.flagged end,
set = function(i, v)
if AloftAutoShow.db.profile.allOverlap then AloftAutoShow:SetAllNameplateOverlap(v) else AloftAutoShow.db.profile.overlap.state.flagged = v end
98,6 → 102,7
name = L["Resting"],
desc = L["Auto-overlap all nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"],
order = 7,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.overlap end,
get = function(i) return AloftAutoShow.db.profile.overlap.state.resting end,
set = function(i, v)
if AloftAutoShow.db.profile.allOverlap then AloftAutoShow:SetAllNameplateOverlap(v) else AloftAutoShow.db.profile.overlap.state.resting = v end
111,6 → 116,7
name = L["Group"],
desc = L["Auto-overlap all nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"],
order = 8,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.overlap end,
get = function(i) return AloftAutoShow.db.profile.overlap.state.group end,
set = function(i, v)
if AloftAutoShow.db.profile.allOverlap then AloftAutoShow:SetAllNameplateOverlap(v) else AloftAutoShow.db.profile.overlap.state.group = v end
124,6 → 130,7
name = L["Default"],
desc = L["Auto-overlap all nameplates by default (subject to Visibility options)"],
order = 9,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.overlap end,
get = function(i) return AloftAutoShow.db.profile.overlap.state.default end,
set = function(i, v)
if AloftAutoShow.db.profile.allOverlap then AloftAutoShow:SetAllNameplateOverlap(v) else AloftAutoShow.db.profile.overlap.state.default = v end
145,6 → 152,7
name = L["World"],
desc = L["Auto-overlap all nameplates on entering/exiting the world (subject to Visibility options)"],
order = 11,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.overlap end,
get = function(i) return AloftAutoShow.db.profile.overlap.place.world end,
set = function(i, v)
if AloftAutoShow.db.profile.allOverlap then AloftAutoShow:SetAllNameplateOverlap(v) else AloftAutoShow.db.profile.overlap.place.world = v end
158,6 → 166,7
name = L["Battleground"],
desc = L["Auto-overlap all nameplates on entering/exiting battlegrounds (subject to Visibility options)"],
order = 12,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.overlap end,
get = function(i) return AloftAutoShow.db.profile.overlap.place.battleground end,
set = function(i, v)
if AloftAutoShow.db.profile.allOverlap then AloftAutoShow:SetAllNameplateOverlap(v) else AloftAutoShow.db.profile.overlap.place.battleground = v end
171,6 → 180,7
name = L["Arena"],
desc = L["Auto-overlap all nameplates on entering/exiting arenas (subject to Visibility options)"],
order = 13,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.overlap end,
get = function(i) return AloftAutoShow.db.profile.overlap.place.arena end,
set = function(i, v)
if AloftAutoShow.db.profile.allOverlap then AloftAutoShow:SetAllNameplateOverlap(v) else AloftAutoShow.db.profile.overlap.place.arena = v end
184,6 → 194,7
name = L["5-Man Instance"],
desc = L["Auto-overlap all nameplates on entering/exiting 5-man instances (subject to Visibility options)"],
order = 14,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.overlap end,
get = function(i) return AloftAutoShow.db.profile.overlap.place.party end,
set = function(i, v)
if AloftAutoShow.db.profile.allOverlap then AloftAutoShow:SetAllNameplateOverlap(v) else AloftAutoShow.db.profile.overlap.place.party = v end
197,6 → 208,7
name = L["Raid Instance"],
desc = L["Auto-overlap all nameplates on entering/exiting raid instances (subject to Visibility options)"],
order = 15,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.overlap end,
get = function(i) return AloftAutoShow.db.profile.overlap.place.raid end,
set = function(i, v)
if AloftAutoShow.db.profile.allOverlap then AloftAutoShow:SetAllNameplateOverlap(v) else AloftAutoShow.db.profile.overlap.place.raid = v end
222,6 → 234,7
name = L["Set All"],
desc = L["Auto-show/hide all neutral and hostile nameplates (subject to Visibility options)"],
order = 1,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile end,
get = function(i) return AloftAutoShow.db.profile.allEnemyEnable end,
set = function(i, v) AloftAutoShow.db.profile.allEnemyEnable = v AloftAutoShow:SetAllEnemyNameplateDisplay(v) AloftAutoShow:ApplyNameplateDisplay() end,
},
247,6 → 260,7
name = L["Combat"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting combat (subject to Visibility options)"],
order = 2,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end,
get = function(i) return AloftAutoShow.db.profile.enemy.state.combat end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.state.combat = v end
260,6 → 274,7
name = L["Flagged/PvP"],
desc = L["Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"],
order = 3,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end,
get = function(i) return AloftAutoShow.db.profile.enemy.state.flagged end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.state.flagged = v end
273,6 → 288,7
name = L["Resting"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"],
order = 4,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end,
get = function(i) return AloftAutoShow.db.profile.enemy.state.resting end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.state.resting = v end
286,6 → 302,7
name = L["Group"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"],
order = 5,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end,
get = function(i) return AloftAutoShow.db.profile.enemy.state.group end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.state.group = v end
299,6 → 316,7
name = L["Default"],
desc = L["Auto-show/hide all neutral and hostile nameplates by default (subject to Visibility options)"],
order = 6,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end,
get = function(i) return AloftAutoShow.db.profile.enemy.state.default end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.state.default = v end
320,6 → 338,7
name = L["World"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)"],
order = 8,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end,
get = function(i) return AloftAutoShow.db.profile.enemy.place.world end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.place.world = v end
333,6 → 352,7
name = L["Battleground"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)"],
order = 9,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end,
get = function(i) return AloftAutoShow.db.profile.enemy.place.battleground end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.place.battleground = v end
346,6 → 366,7
name = L["Arena"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)"],
order = 10,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end,
get = function(i) return AloftAutoShow.db.profile.enemy.place.arena end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.place.arena = v end
359,6 → 380,7
name = L["5-Man Instance"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)"],
order = 11,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end,
get = function(i) return AloftAutoShow.db.profile.enemy.place.party end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.place.party = v end
372,6 → 394,7
name = L["Raid Instance"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)"],
order = 12,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end,
get = function(i) return AloftAutoShow.db.profile.enemy.place.raid end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.place.raid = v end
406,6 → 429,7
name = L["Combat"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting combat (subject to Visibility options)"],
order = 2,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end,
get = function(i) return AloftAutoShow.db.profile.enemyPet.state.combat end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.state.combat = v end
419,6 → 443,7
name = L["Flagged/PvP"],
desc = L["Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"],
order = 3,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end,
get = function(i) return AloftAutoShow.db.profile.enemyPet.state.flagged end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.state.flagged = v end
432,6 → 457,7
name = L["Resting"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"],
order = 4,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end,
get = function(i) return AloftAutoShow.db.profile.enemyPet.state.resting end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.state.resting = v end
445,6 → 471,7
name = L["Group"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"],
order = 5,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end,
get = function(i) return AloftAutoShow.db.profile.enemyPet.state.group end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.state.group = v end
458,6 → 485,7
name = L["Default"],
desc = L["Auto-show/hide all neutral and hostile nameplates by default (subject to Visibility options)"],
order = 6,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end,
get = function(i) return AloftAutoShow.db.profile.enemyPet.state.default end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.state.default = v end
479,6 → 507,7
name = L["World"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)"],
order = 8,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end,
get = function(i) return AloftAutoShow.db.profile.enemyPet.place.world end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.place.world = v end
492,6 → 521,7
name = L["Battleground"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)"],
order = 9,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end,
get = function(i) return AloftAutoShow.db.profile.enemyPet.place.battleground end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.place.battleground = v end
505,6 → 535,7
name = L["Arena"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)"],
order = 10,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end,
get = function(i) return AloftAutoShow.db.profile.enemyPet.place.arena end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.place.arena = v end
518,6 → 549,7
name = L["5-Man Instance"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)"],
order = 11,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end,
get = function(i) return AloftAutoShow.db.profile.enemyPet.place.party end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.place.party = v end
531,6 → 563,7
name = L["Raid Instance"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)"],
order = 12,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end,
get = function(i) return AloftAutoShow.db.profile.enemyPet.place.raid end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.place.raid = v end
563,6 → 596,7
name = L["Combat"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting combat (subject to Visibility options)"],
order = 2,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end,
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.state.combat end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.state.combat = v end
576,6 → 610,7
name = L["Flagged/PvP"],
desc = L["Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"],
order = 3,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end,
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.state.flagged end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.state.flagged = v end
589,6 → 624,7
name = L["Resting"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"],
order = 4,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end,
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.state.resting end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.state.resting = v end
602,6 → 638,7
name = L["Group"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"],
order = 5,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end,
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.state.group end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.state.group = v end
615,6 → 652,7
name = L["Default"],
desc = L["Auto-show/hide all neutral and hostile nameplates by default (subject to Visibility options)"],
order = 6,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end,
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.state.default end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.state.default = v end
636,6 → 674,7
name = L["World"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)"],
order = 8,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end,
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.place.world end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.place.world = v end
649,6 → 688,7
name = L["Battleground"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)"],
order = 9,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end,
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.place.battleground end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.place.battleground = v end
662,6 → 702,7
name = L["Arena"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)"],
order = 10,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end,
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.place.arena end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.place.arena = v end
675,6 → 716,7
name = L["5-Man Instance"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)"],
order = 11,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end,
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.place.party end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.place.party = v end
688,6 → 730,7
name = L["Raid Instance"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)"],
order = 12,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end,
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.place.raid end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.place.raid = v end
720,6 → 763,7
name = L["Combat"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting combat (subject to Visibility options)"],
order = 2,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end,
get = function(i) return AloftAutoShow.db.profile.enemyTotem.state.combat end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.state.combat = v end
733,6 → 777,7
name = L["Flagged/PvP"],
desc = L["Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"],
order = 3,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end,
get = function(i) return AloftAutoShow.db.profile.enemyTotem.state.flagged end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.state.flagged = v end
746,6 → 791,7
name = L["Resting"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"],
order = 4,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end,
get = function(i) return AloftAutoShow.db.profile.enemyTotem.state.resting end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.state.resting = v end
759,6 → 805,7
name = L["Group"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"],
order = 5,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end,
get = function(i) return AloftAutoShow.db.profile.enemyTotem.state.group end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.state.group = v end
772,6 → 819,7
name = L["Default"],
desc = L["Auto-show/hide all neutral and hostile nameplates by default (subject to Visibility options)"],
order = 6,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end,
get = function(i) return AloftAutoShow.db.profile.enemyTotem.state.default end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.state.default = v end
793,6 → 841,7
name = L["World"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)"],
order = 8,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end,
get = function(i) return AloftAutoShow.db.profile.enemyTotem.place.world end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.place.world = v end
806,6 → 855,7
name = L["Battleground"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)"],
order = 9,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end,
get = function(i) return AloftAutoShow.db.profile.enemyTotem.place.battleground end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.place.battleground = v end
819,6 → 869,7
name = L["Arena"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)"],
order = 10,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end,
get = function(i) return AloftAutoShow.db.profile.enemyTotem.place.arena end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.place.arena = v end
832,6 → 883,7
name = L["5-Man Instance"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)"],
order = 11,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end,
get = function(i) return AloftAutoShow.db.profile.enemyTotem.place.party end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.place.party = v end
845,6 → 897,7
name = L["Raid Instance"],
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)"],
order = 12,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end,
get = function(i) return AloftAutoShow.db.profile.enemyTotem.place.raid end,
set = function(i, v)
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.place.raid = v end
896,6 → 949,7
name = L["Combat"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting combat (subject to Visibility options)"],
order = 2,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end,
get = function(i) return AloftAutoShow.db.profile.friendly.state.combat end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.state.combat = v end
909,6 → 963,7
name = L["Flagged/PvP"],
desc = L["Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"],
order = 3,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end,
get = function(i) return AloftAutoShow.db.profile.friendly.state.flagged end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.state.flagged = v end
922,6 → 977,7
name = L["Resting"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"],
order = 4,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end,
get = function(i) return AloftAutoShow.db.profile.friendly.state.resting end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.state.resting = v end
935,6 → 991,7
name = L["Group"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"],
order = 5,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end,
get = function(i) return AloftAutoShow.db.profile.friendly.state.group end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.state.group = v end
948,6 → 1005,7
name = L["Default"],
desc = L["Auto-show/hide all friendly nameplates by default (subject to Visibility options)"],
order = 6,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end,
get = function(i) return AloftAutoShow.db.profile.friendly.state.default end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.state.default = v end
969,6 → 1027,7
name = L["World"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)"],
order = 8,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end,
get = function(i) return AloftAutoShow.db.profile.friendly.place.world end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.place.world = v end
982,6 → 1041,7
name = L["Battleground"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)"],
order = 9,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end,
get = function(i) return AloftAutoShow.db.profile.friendly.place.battleground end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.place.battleground = v end
995,6 → 1055,7
name = L["Arena"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)"],
order = 10,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end,
get = function(i) return AloftAutoShow.db.profile.friendly.place.arena end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.place.arena = v end
1008,6 → 1069,7
name = L["5-Man Instance"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)"],
order = 11,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end,
get = function(i) return AloftAutoShow.db.profile.friendly.place.party end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.place.party = v end
1021,6 → 1083,7
name = L["Raid Instance"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)"],
order = 12,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end,
get = function(i) return AloftAutoShow.db.profile.friendly.place.raid end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.place.raid = v end
1055,6 → 1118,7
name = L["Combat"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting combat (subject to Visibility options)"],
order = 2,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end,
get = function(i) return AloftAutoShow.db.profile.friendlyPet.state.combat end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.state.combat = v end
1068,6 → 1132,7
name = L["Flagged/PvP"],
desc = L["Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"],
order = 3,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end,
get = function(i) return AloftAutoShow.db.profile.friendlyPet.state.flagged end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.state.flagged = v end
1081,6 → 1146,7
name = L["Resting"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"],
order = 4,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end,
get = function(i) return AloftAutoShow.db.profile.friendlyPet.state.resting end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.state.resting = v end
1094,6 → 1160,7
name = L["Group"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"],
order = 5,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end,
get = function(i) return AloftAutoShow.db.profile.friendlyPet.state.group end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.state.group = v end
1107,6 → 1174,7
name = L["Default"],
desc = L["Auto-show/hide all friendly nameplates by default (subject to Visibility options)"],
order = 6,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end,
get = function(i) return AloftAutoShow.db.profile.friendlyPet.state.default end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.state.default = v end
1128,6 → 1196,7
name = L["World"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)"],
order = 8,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end,
get = function(i) return AloftAutoShow.db.profile.friendlyPet.place.world end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.place.world = v end
1141,6 → 1210,7
name = L["Battleground"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)"],
order = 9,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end,
get = function(i) return AloftAutoShow.db.profile.friendlyPet.place.battleground end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.place.battleground = v end
1154,6 → 1224,7
name = L["Arena"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)"],
order = 10,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end,
get = function(i) return AloftAutoShow.db.profile.friendlyPet.place.arena end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.place.arena = v end
1167,6 → 1238,7
name = L["5-Man Instance"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)"],
order = 11,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end,
get = function(i) return AloftAutoShow.db.profile.friendlyPet.place.party end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.place.party = v end
1180,6 → 1252,7
name = L["Raid Instance"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)"],
order = 12,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end,
get = function(i) return AloftAutoShow.db.profile.friendlyPet.place.raid end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.place.raid = v end
1212,6 → 1285,7
name = L["Combat"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting combat (subject to Visibility options)"],
order = 2,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end,
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.state.combat end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.state.combat = v end
1225,6 → 1299,7
name = L["Flagged/PvP"],
desc = L["Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"],
order = 3,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end,
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.state.flagged end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.state.flagged = v end
1238,6 → 1313,7
name = L["Resting"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"],
order = 4,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end,
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.state.resting end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.state.resting = v end
1251,6 → 1327,7
name = L["Group"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"],
order = 5,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end,
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.state.group end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.state.group = v end
1264,6 → 1341,7
name = L["Default"],
desc = L["Auto-show/hide all friendly nameplates by default (subject to Visibility options)"],
order = 6,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end,
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.state.default end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.state.default = v end
1285,6 → 1363,7
name = L["World"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)"],
order = 8,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end,
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.place.world end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.place.world = v end
1298,6 → 1377,7
name = L["Battleground"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)"],
order = 9,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end,
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.place.battleground end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.place.battleground = v end
1311,6 → 1391,7
name = L["Arena"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)"],
order = 10,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end,
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.place.arena end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.place.arena = v end
1324,6 → 1405,7
name = L["5-Man Instance"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)"],
order = 11,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end,
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.place.party end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.place.party = v end
1337,6 → 1419,7
name = L["Raid Instance"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)"],
order = 12,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end,
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.place.raid end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.place.raid = v end
1382,6 → 1465,7
name = L["Flagged/PvP"],
desc = L["Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"],
order = 3,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end,
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.state.flagged end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.state.flagged = v end
1395,6 → 1479,7
name = L["Resting"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"],
order = 4,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end,
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.state.resting end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.state.resting = v end
1408,6 → 1493,7
name = L["Group"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"],
order = 5,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end,
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.state.group end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.state.group = v end
1421,6 → 1507,7
name = L["Default"],
desc = L["Auto-show/hide all friendly nameplates by default (subject to Visibility options)"],
order = 6,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end,
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.state.default end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.state.default = v end
1442,6 → 1529,7
name = L["World"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)"],
order = 8,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end,
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.place.world end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.place.world = v end
1455,6 → 1543,7
name = L["Battleground"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)"],
order = 9,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end,
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.place.battleground end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.place.battleground = v end
1468,6 → 1557,7
name = L["Arena"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)"],
order = 10,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end,
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.place.arena end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.place.arena = v end
1481,6 → 1571,7
name = L["5-Man Instance"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)"],
order = 11,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end,
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.place.party end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.place.party = v end
1494,6 → 1585,7
name = L["Raid Instance"],
desc = L["Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)"],
order = 12,
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end,
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.place.raid end,
set = function(i, v)
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.place.raid = v end