mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
21 lines
595 B
Lua
21 lines
595 B
Lua
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
|
local PetInfo = IceCore_CreateClass(IceTargetInfo)
|
|
|
|
-- Constructor --
|
|
function PetInfo.prototype:init()
|
|
PetInfo.super.prototype.init(self, "PetInfo", "pet")
|
|
end
|
|
|
|
function PetInfo.prototype:GetDefaultSettings()
|
|
local settings = PetInfo.super.prototype.GetDefaultSettings(self)
|
|
|
|
settings["enabled"] = false
|
|
settings["vpos"] = -150
|
|
settings["line2Tag"] = "[Level:DifficultyColor] [SmartRace:ClassColor] [HappyText:HappyColor] [PvPIcon] [InCombat ? 'Combat':Red]"
|
|
|
|
return settings
|
|
end
|
|
|
|
-- Load us up
|
|
IceHUD.PetInfo = PetInfo:new()
|