local _, ZLAUTO = ...
ZLAUTO.mainFrame = CreateFrame("Frame", "ZLAUTOAUCTIONMAINFRAME", UIParent) --主框架
ZLAUTO.mainFrame:SetPoint("CENTER")
ZLAUTO.mainFrame:SetSize(5, 5)

local ZL = ZLAUTO.mainFrame

ZL.setsItemLevelData = {
    ["47557"] = 258, --T9 258 骑士、牧师、术士
    ["47558"] = 258, --T9 258 战士、猎人、萨满
    ["47559"] = 258, --T9 258 潜行者、死亡骑士、法师、德鲁伊

    ["45641"] = 232, ["45656"] = 232, ["45653"] = 232, ["45632"] = 232, ["45638"] = 232, --T8 232 骑士、牧师、术士
    ["45642"] = 232, ["45657"] = 232, ["45654"] = 232, ["45633"] = 232, ["45639"] = 232, --T8 232 战士、猎人、萨满
    ["45643"] = 232, ["45658"] = 232, ["45655"] = 232, ["45634"] = 232, ["45640"] = 232, --T8 232 潜行者、死亡骑士、法师、德鲁伊

    ["45644"] = 225, ["45659"] = 225, ["45650"] = 225, ["45635"] = 225, ["45647"] = 225, --T8 225 骑士、牧师、术士
    ["45645"] = 225, ["45660"] = 225, ["45651"] = 225, ["45636"] = 225, ["45648"] = 225, --T8 225 战士、猎人、萨满
    ["45646"] = 225, ["45661"] = 225, ["45652"] = 225, ["45637"] = 225, ["45649"] = 225, --T8 225 潜行者、死亡骑士、法师、德鲁伊

    ["40628"] = 213, ["40634"] = 213, ["40637"] = 213, ["40631"] = 213, ["40625"] = 213, --T7 213 骑士、牧师、术士
    ["40629"] = 213, ["40635"] = 213, ["40638"] = 213, ["40632"] = 213, ["40626"] = 213, --T7 213 战士、猎人、萨满
    ["40630"] = 213, ["40636"] = 213, ["40639"] = 213, ["40633"] = 213, ["40627"] = 213, --T7 213 潜行者、死亡骑士、法师、德鲁伊

    ["40613"] = 200, ["40619"] = 200, ["40622"] = 200, ["40616"] = 200, ["40610"] = 200, --T7 200 骑士、牧师、术士
    ["40614"] = 200, ["40620"] = 200, ["40623"] = 200, ["40617"] = 200, ["40611"] = 200, --T7 200 战士、猎人、萨满
    ["40615"] = 200, ["40621"] = 200, ["40624"] = 200, ["40618"] = 200, ["40612"] = 200, --T7 200 潜行者、死亡骑士、法师、德鲁伊
}

ZL.itemSubType = {
    ["布甲"] = "布甲",
    ["皮甲"] = "皮甲",
    ["锁甲"] = "锁甲",
    ["板甲"] = "板甲",
    ["盾牌"] = "盾牌",
    ["容器"] = "包",
}
ZL.itemEquipLoc = {
    ["INVTYPE_HEAD"] = "头",  --1
    ["INVTYPE_NECK"] = "项链", --2
    ["INVTYPE_SHOULDER"] = "肩膀", --3
    ["NVTYPE_BODY"] = "衬衫", --4
    ["INVTYPE_CHEST"] = "胸", --5
    ["INVTYPE_ROBE"] = "胸", --5
    ["INVTYPE_WAIST"] = "腰带", --6
    ["INVTYPE_LEGS"] = "腿", --7
    ["INVTYPE_FEET"] = "鞋", --8
    ["INVTYPE_WRIST"] = "护腕", --9
    ["INVTYPE_HAND"] = "手", --10
    ["INVTYPE_FINGER"] = "戒指", --11,12
    ["INVTYPE_TRINKET"] = "饰品", --13,14
    ["INVTYPE_CLOAK"] = "披风", --15
    ["INVTYPE_RANGED"] = "远程武器", --16
    ["INVTYPE_THROWN"] = "投掷武器", --16
    ["INVTYPE_2HWEAPON"] = "双手", --16武器
    ["INVTYPE_WEAPONMAINHAND"] = "主手", --16主手武器
    ["INVTYPE_WEAPON"] = "单手", --16,17
    ["INVTYPE_SHIELD"] = "盾牌", --17
    ["INVTYPE_WEAPONOFFHAND"] = "副手", --17副手武器
    ["INVTYPE_HOLDABLE"] = "副手", --17法系副手物品
    ["INVTYPE_RELIC"] = "圣物", --18
    ["INVTYPE_RANGEDRIGHT"] = "魔杖", --18
    ["INVTYPE_TABARD"] = "战袍", --19
    ["INVTYPE_AMMO"] = "弹药", --0
    ["INVTYPE_QUIVER"] = "箭袋",
    ["INVTYPE_BAG"] = "包",
}
ZL.itemStats = {
    ["ITEM_MOD_ARMOR_PENETRATION_RATING"] = "护甲穿透",
    ["ITEM_MOD_ATTACK_POWER"] = "攻强",
    ["ITEM_MOD_BLOCK_RATING"] = "格挡",
    ["ITEM_MOD_BLOCK_VALUE"] = "格挡值",
    ["ITEM_MOD_CRIT_MELEE_RATING"] = "近战暴击",
    ["ITEM_MOD_CRIT_RANGED_RATING"] = "远程暴击",
    ["ITEM_MOD_CRIT_RATING"] = "暴击",
    ["ITEM_MOD_CRIT_SPELL_RATING"] = "法术暴击",
    ["ITEM_MOD_CRIT_TAKEN_MELEE_RATING"] = "近战爆击躲闪",
    ["ITEM_MOD_CRIT_TAKEN_RANGED_RATING"] = "远程暴击躲闪",
    ["ITEM_MOD_CRIT_TAKEN_RATING"] = "暴击躲闪",
    ["ITEM_MOD_CRIT_TAKEN_SPELL_RATING"] = "法术爆击躲闪",
    ["ITEM_MOD_DEFENSE_SKILL_RATING"] = "防御",
    ["ITEM_MOD_DODGE_RATING"] = "躲闪",
    ["ITEM_MOD_EXPERTISE_RATING"] = "精准",
    ["ITEM_MOD_EXTRA_ARMOR"] = "护甲",
    ["ITEM_MOD_HASTE_RATING"] = "急速",
    ["ITEM_MOD_FERAL_ATTACK_POWER"] = "变形攻强",
    ["ITEM_MOD_HEALTH_REGEN"] = "5回血",
    ["ITEM_MOD_HEALTH_REGENERATION"] = "5回血",
    ["ITEM_MOD_HIT_MELEE_RATING"] = "近战命中",
    ["ITEM_MOD_HIT_RANGED_RATING"] = "远程命中",
    ["ITEM_MOD_HIT_RATING"] = "命中",
    ["ITEM_MOD_HIT_SPELL_RATING"] = "法术命中",
    ["ITEM_MOD_HIT_TAKEN_MELEE_RATING"] = "近战命中躲闪",
    ["ITEM_MOD_HIT_TAKEN_RANGED_RATING"] = "远程命中躲闪",
    ["ITEM_MOD_HIT_TAKEN_RATING"] = "命中躲闪",
    ["ITEM_MOD_HIT_TAKEN_SPELL_RATING"] = "法术命中躲闪",
    ["ITEM_MOD_MANA_REGENERATION"] = "5回蓝",
    ["ITEM_MOD_MASTERY_RATING"] = "精通",
    ["ITEM_MOD_PARRY_RATING"] = "招架",
    ["ITEM_MOD_PVP_POWER"] = "PvP强度",
    ["ITEM_MOD_RANGED_ATTACK_POWER"] = "远程攻强",
    ["ITEM_MOD_RESILIENCE_RATING"] = "PVP韧性",
    ["ITEM_MOD_SPELL_DAMAGE_DONE"] = "法术伤害加成",
    ["ITEM_MOD_SPELL_HEALING_DONE"] = "治疗加成",
    ["ITEM_MOD_SPELL_PENETRATION"] = "法术穿透",
    ["ITEM_MOD_SPELL_POWER"] = "法强",
    ["MELEE_ATTACK_POWER_TOOLTIP"] = "近战秒伤",
    ["RANGED_ATTACK_POWER_TOOLTIP"] = "远程秒伤",
}
ZL.socketStats = {
    EMPTY_SOCKET_BLUE = "蓝色插槽",
    EMPTY_SOCKET_COGWHEEL = "齿轮插槽",
    EMPTY_SOCKET_CYPHER = "晶态插槽",
    EMPTY_SOCKET_DOMINATION = "统御插槽",
    EMPTY_SOCKET_FRAGRANCE = "芬芳镶孔",
    EMPTY_SOCKET_HYDRAULIC = "染煞",
    EMPTY_SOCKET_META = "多彩插槽",
    EMPTY_SOCKET_NO_COLOR = "棱彩插槽",
    EMPTY_SOCKET_PRIMORDIAL = "始源镶孔",
    EMPTY_SOCKET_PRISMATIC = "棱彩插槽",
    EMPTY_SOCKET_PUNCHCARDBLUE = "蓝色打孔卡插槽",
    EMPTY_SOCKET_PUNCHCARDRED = "红色打孔卡插槽",
    EMPTY_SOCKET_PUNCHCARDYELLOW = "黄色打孔卡插槽",
    EMPTY_SOCKET_RED = "红色插槽",
    EMPTY_SOCKET_TINKER = "匠械插槽",
    EMPTY_SOCKET_YELLOW = "黄色插槽",
}

ZL.numToChinese = {
    ["0"] = "零",
    ["1"] = "一",
    ["2"] = "二",
    ["3"] = "三",
    ["4"] = "四",
    ["5"] = "五",
    ["6"] = "六",
    ["7"] = "七",
    ["8"] = "八",
    ["9"] = "九"
}

ZL.BoosList = {
    --MC
    "鲁西弗隆", "玛格曼达", "基赫纳斯", "加尔", "沙斯拉尔", "迦顿男爵", "焚化者古雷曼格", "萨弗隆先驱者", "管理者埃克索图斯", "拉格纳罗斯",
    --BWL
    "狂野的拉佐格尔", "堕落的瓦拉斯塔兹", "勒什雷尔", "费尔默", "埃博诺克", "弗莱格尔", "克洛玛古斯", "奈法利安",
    --祖尔格拉布
    "高阶祭司耶克里克", "高阶祭司温诺希斯", "高阶祭司玛尔里", "血领主曼多基尔", "格里雷克", "哈札拉尔",
    "雷纳塔基", "乌苏雷", "加兹兰卡", "高阶祭司塞卡尔", "高阶祭司娅尔罗", "妖术师金度", "哈卡",
    --安其拉废墟
    "库林纳克斯", "拉贾克斯将军", "莫阿姆", "吞咽者布鲁", "狩猎者阿亚米斯", "无疤者奥斯里安",
    --安其拉神殿
    "预言者斯克拉姆", "安其拉三宝", "沙尔图拉", "顽强的范克瑞斯",
    "维希度斯", "哈霍兰公主", "双子皇帝", "奥罗", "克苏恩",
    --纳克萨玛斯
    "阿努布雷坎", "黑女巫法琳娜", "迈克斯纳", "瘟疫使者诺斯", "肮脏的希尔盖",
    "洛欧塞布", "教官拉苏维奥斯", "收割者戈提克", "天启四骑士", "帕奇维克",
    "格罗布鲁斯", "格拉斯", "塔迪乌斯", "萨菲隆", "克尔苏加德",
    --卡拉赞
    "猎手阿图门", "蹂躏者洛卡德", "滑翔者沙德基斯", "潜伏者希亚其斯", "莫罗斯", "贞节圣女", "绿野仙踪", "大灰狼",
    "罗密欧与朱丽叶", "馆长", "特雷斯坦·邪蹄", "埃兰之影", "虚空幽龙", "国际象棋赛事", "玛克扎尔王子", "夜之魇",
    --格鲁尔的巢穴
    "莫加尔大王", "屠龙者格鲁尔",
    --玛瑟里顿的巢穴‌
    "玛瑟里顿",
    --毒蛇神殿
    "不稳定的海度斯", "鱼斯拉", "盲眼者莱欧瑟拉斯", "深水领主卡拉瑟雷斯", "莫洛格里·踏潮者", "瓦丝琪",
    --风暴要塞‌
    "奥", "空灵机甲", "大星术师索兰莉安", "凯尔萨斯·逐日者",
    --海加尔峰
    "雷基·冬寒", "安纳塞隆", "卡兹洛加", "阿兹加洛", "阿克蒙德",
    --黑暗神殿
    "高阶督军纳因图斯", "苏普雷姆斯", "阿卡玛之影", "古尔图格·血沸",
    "迷失者的圣骨匣", "塔隆·血魔", "莎赫拉丝主母", "伊利达雷议会", "伊利丹·怒风",
    --祖阿曼‌
    "埃基尔松", "纳洛拉克", "加亚莱", "哈尔拉兹", "妖术领主玛拉卡斯", "祖尔金",
    --太阳之井高地‌
    "卡雷苟斯", "布鲁塔卢斯", "菲米丝", "艾瑞达双子", "穆鲁", "基尔加丹",
    --‌黑曜石圣殿
    "萨塔里奥",
    --永恒之眼
    "玛里苟斯",
    --阿尔卡冯的宝库
    "岩石看守者阿尔卡冯", "风暴看守者埃玛尔隆", "火焰看守者科拉隆", "寒冰看守者图拉旺",

    --奥杜尔
    "烈焰巨兽", "掌炉者伊格尼斯", "锋鳞", "拆解者", "钢铁议会", "科隆加恩", "霍迪尔", "观察者奥尔加隆", "欧尔莉亚", "托里姆", "弗蕾亚", "米米尔隆", "维扎克斯将军", "尤格-萨隆",
    --TOC
    "诺森德猛兽", "加拉克苏斯大王", "阵营冠军", "瓦格里双子", "阿努巴拉克", "银色北伐军嘉奖宝箱",
    --黑龙MM
    "奥妮克希亚",
    --其他
    "其他", "打包拍卖", "手动添加", "补贴支出", "欠款名单", "收支总览", "工资分配"
}

ZL.BossInfo = {
    --MC  ["179703"] = "管理者埃克索图斯" 待确认ID
    ["12118"] = "鲁西弗隆", ["11982"] = "玛格曼达", ["12259"] = "基赫纳斯", ["12057"] = "加尔", ["12264"] = "沙斯拉尔",
    ["12056"] = "迦顿男爵", ["11988"] = "焚化者古雷曼格", ["12098"] = "萨弗隆先驱者", ["179703"] = "管理者埃克索图斯", ["11592"] = "拉格纳罗斯",
    --BWL
    ["12435"] = "狂野的拉佐格尔", ["13020"] = "堕落的瓦拉斯塔兹", ["12017"] = "勒什雷尔", ["11983"] = "费尔默",
    ["14601"] = "埃博诺克", ["11981"] = "弗莱格尔", ["14020"] = "克洛玛古斯", ["11583"] = "奈法利安",
    --祖尔格拉布
    ["14517"] = "高阶祭司耶克里克", ["14507"] = "高阶祭司温诺希斯", ["14510"] = "高阶祭司玛尔里", ["11382"] = "血领主曼多基尔", ["15082"] = "格里雷克", ["15083"] = "哈札拉尔",
    ["15084"] = "雷纳塔基", ["15085"] = "乌苏雷", ["15114"] = "加兹兰卡", ["14509"] = "高阶祭司塞卡尔", ["14515"] = "高阶祭司娅尔罗", ["11380"] = "妖术师金度", ["14834"] = "哈卡",
    --安其拉废墟
    ["15348"] = "库林纳克斯", ["15341"] = "拉贾克斯将军", ["15340"] = "莫阿姆", ["15370"] = "吞咽者布鲁", ["15369"] = "狩猎者阿亚米斯", ["15339"] = "无疤者奥斯里安",
    --安其拉神殿
    ["15263"] = "预言者斯克拉姆", ["15511"] = "安其拉三宝", ["15543"] = "安其拉三宝", ["15544"] = "安其拉三宝", ["15516"] = "沙尔图拉", ["15510"] = "顽强的范克瑞斯",
    ["15299"] = "维希度斯", ["15509"] = "哈霍兰公主", ["15275"] = "双子皇帝", ["15276"] = "双子皇帝", ["15517"] = "奥罗", ["15727"] = "克苏恩",
    --纳克萨玛斯
    ["15956"] = "阿努布雷坎", ["29249"] = "阿努布雷坎", ["15953"] = "黑女巫法琳娜", ["29268"] = "黑女巫法琳娜", ["15952"] = "迈克斯纳", ["29278"] = "迈克斯纳",
    ["15954"] = "瘟疫使者诺斯", ["29615"] = "瘟疫使者诺斯", ["15936"] = "肮脏的希尔盖", ["29701"] = "肮脏的希尔盖", ["16011"] = "洛欧塞布", ["29718"] = "洛欧塞布",
    ["16061"] = "教官拉苏维奥斯", ["29940"] = "教官拉苏维奥斯", ["16060"] = "收割者戈提克", ["29955"] = "收割者戈提克", ["181366"] = "天启四骑士", ["193426"] = "天启四骑士",
    ["16028"] = "帕奇维克", ["29324"] = "帕奇维克", ["15931"] = "格罗布鲁斯", ["29373"] = "格罗布鲁斯", ["15932"] = "格拉斯", ["29417"] = "格拉斯",
    ["15928"] = "塔迪乌斯", ["29448"] = "塔迪乌斯", ["15989"] = "萨菲隆", ["29991"] = "萨菲隆", ["15990"] = "克尔苏加德", ["30061"] = "克尔苏加德",
    --卡拉赞
    ["16152"] = "猎手阿图门", ["16181"] = "蹂躏者洛卡德", ["16180"] = "滑翔者沙德基斯", ["16179"] = "潜伏者希亚其斯",
    ["15687"] = "莫罗斯", ["16457"] = "贞节圣女", ["18168"] = "绿野仙踪", ["17521"] = "大灰狼",
    ["17533"] = "罗密欧与朱丽叶", ["17534"] = "罗密欧与朱丽叶", ["15691"] = "馆长", ["15688"] = "特雷斯坦·邪蹄",
    ["16524"] = "埃兰之影", ["15689"] = "虚空幽龙", ["185119"] = "国际象棋赛事", ["15690"] = "玛克扎尔王子", ["17225"] = "夜之魇",
    --格鲁尔的巢穴
    ["18831"] = "莫加尔大王", ["19044"] = "屠龙者格鲁尔",
    --玛瑟里顿的巢穴‌
    ["17257"] = "玛瑟里顿",
    --毒蛇神殿
    ["21216"] = "不稳定的海度斯", ["21217"] = "鱼斯拉", ["21215"] = "盲眼者莱欧瑟拉斯",
    ["21214"] = "深水领主卡拉瑟雷斯", ["21213"] = "莫洛格里·踏潮者", ["21212"] = "瓦丝琪",
    --风暴要塞‌
    ["19514"] = "奥", ["19516"] = "空灵机甲", ["18805"] = "大星术师索兰莉安", ["19622"] = "凯尔萨斯·逐日者",
    --海加尔峰
    ["17767"] = "雷基·冬寒", ["17808"] = "安纳塞隆", ["17888"] = "卡兹洛加", ["17842"] = "阿兹加洛", ["17968"] = "阿克蒙德",
    --黑暗神殿
    ["22887"] = "高阶督军纳因图斯", ["22898"] = "苏普雷姆斯", ["22841"] = "阿卡玛之影", ["22948"] = "古尔图格·血沸", ["22856"] = "迷失者的圣骨匣",
    ["23420"] = "迷失者的圣骨匣", ["22871"] = "塔隆·血魔", ["22947"] = "莎赫拉丝主母", ["22950"] = "伊利达雷议会", ["22949"] = "伊利达雷议会",
    ["22952"] = "伊利达雷议会", ["22951"] = "伊利达雷议会", ["22917"] = "伊利丹·怒风",
    --祖阿曼‌
    ["23574"] = "埃基尔松", ["23576"] = "纳洛拉克", ["23578"] = "加亚莱",
    ["23577"] = "哈尔拉兹", ["24239"] = "妖术领主玛拉卡斯", ["23863"] = "祖尔金",
    --太阳之井高地‌
    ["24850"] = "卡雷苟斯", ["24882"] = "布鲁塔卢斯", ["25038"] = "菲米丝",
    ["25165"] = "艾瑞达双子", ["25166"] = "艾瑞达双子", ["25741"] = "穆鲁", ["25315"] = "基尔加丹",
    --‌黑曜石圣殿
    ["28860"] = "萨塔里奥", ["31311"] = "萨塔里奥",
    --永恒之眼
    ["193905"] = "玛里苟斯", ["193967"] = "玛里苟斯",
    --阿尔卡冯的宝库
    ["31125"] = "岩石看守者阿尔卡冯", ["31722"] = "岩石看守者阿尔卡冯", ["33993"] = "风暴看守者埃玛尔隆", ["33994"] = "风暴看守者埃玛尔隆",
    ["35013"] = "火焰看守者科拉隆", ["35360"] = "火焰看守者科拉隆", ["38433"] = "寒冰看守者图拉旺", ["38462"] = "寒冰看守者图拉旺",
    --奥杜尔
    ["33113"] = "烈焰巨兽", ["34003"] = "烈焰巨兽",
    ["33118"] = "掌炉者伊格尼斯", ["33190"] = "掌炉者伊格尼斯",
    ["33186"] = "锋鳞", ["33724"] = "锋鳞",
    ["33293"] = "拆解者", ["33885"] = "拆解者",
    ["32867"] = "钢铁议会", ["32927"] = "钢铁议会", ["32857"] = "钢铁议会", ["33694"] = "钢铁议会", ["33693"] = "钢铁议会", ["33692"] = "钢铁议会",
    ["195046"] = "科隆加恩", ["195047"] = "科隆加恩",
    ["194200"] = "霍迪尔", ["194201"] = "霍迪尔", ["194307"] = "霍迪尔", ["194308"] = "霍迪尔",
    ["194821"] = "观察者奥尔加隆", ["194822"] = "观察者奥尔加隆",
    ["33515"] = "欧尔莉亚", ["34175"] = "欧尔莉亚",
    ["194312"] = "托里姆", ["194313"] = "托里姆", ["194314"] = "托里姆", ["194315"] = "托里姆",
    ["194324"] = "弗蕾亚", ["194325"] = "弗蕾亚", ["194326"] = "弗蕾亚", ["194327"] = "弗蕾亚",
    ["194328"] = "弗蕾亚", ["194329"] = "弗蕾亚", ["194330"] = "弗蕾亚", ["194331"] = "弗蕾亚",
    ["194789"] = "米米尔隆", ["194956"] = "米米尔隆", ["194957"] = "米米尔隆", ["194958"] = "米米尔隆",
    ["33271"] = "维扎克斯将军", ["33449"] = "维扎克斯将军",
    ["33288"] = "尤格-萨隆", ["33955"] = "尤格-萨隆", ["33890"] = "尤格-萨隆",
    --十字军的试炼
    ["34797"] = "诺森德猛兽", ["35447"] = "诺森德猛兽", ["35448"] = "诺森德猛兽", ["35449"] = "诺森德猛兽",
    ["34780"] = "加拉克苏斯大王", ["35216"] = "加拉克苏斯大王", ["35268"] = "加拉克苏斯大王", ["35269"] = "加拉克苏斯大王",
    ["195631"] = "阵营冠军", ["195632"] = "阵营冠军", ["195633"] = "阵营冠军", ["195635"] = "阵营冠军",
    ["34497"] = "瓦格里双子", ["35350"] = "瓦格里双子", ["35351"] = "瓦格里双子", ["35352"] = "瓦格里双子",
    ["34496"] = "瓦格里双子", ["35347"] = "瓦格里双子", ["35348"] = "瓦格里双子", ["35349"] = "瓦格里双子",
    ["34564"] = "阿努巴拉克", ["34566"] = "阿努巴拉克", ["35615"] = "阿努巴拉克", ["35616"] = "阿努巴拉克",
    ["195665"] = "银色北伐军嘉奖宝箱", ["195666"] = "银色北伐军嘉奖宝箱", ["195667"] = "银色北伐军嘉奖宝箱", ["195668"] = "银色北伐军嘉奖宝箱",
    ["195669"] = "银色北伐军嘉奖宝箱", ["195670"] = "银色北伐军嘉奖宝箱", ["195671"] = "银色北伐军嘉奖宝箱", ["195672"] = "银色北伐军嘉奖宝箱",
    --奥妮克希亚的巢穴
    ["10184"] = "奥妮克希亚", ["36538"] = "奥妮克希亚",
}

ZL.RolesTypes = {
    --角色
    {name="|cfffa8da5玩家名字|r", fullName="角色", isShow=function() return "colorName" end}, --强制显示
    {name="|cfffa8da5服务器|r", fullName="服务器", isShow=function() return ZL.glb.realmName and "realmName" end, hide=function() ZL.glb.realmName = nil end},
    {name="|cfffa8da5等级|r", fullName="角色等级", isShow=function() return ZL.glb.unitLevel and "UnitLevel" end},
    {name="|cfffa8da5装等|r", fullName="装备等级", isShow=function() return ZL.glb.itemLevel and "itemLevel" end},
    ---------团本----------
    --WLK
    {name="|cff9dcf9f红玉|r25", fullName="红玉圣殿", isShow=function() return ZL.glb.RS25 and "instance:724:25" end},
    {name="|cff9dcf9f红玉|r10", fullName="红玉圣殿", isShow=function() return ZL.glb.RS10 and "instance:724:10" end},
    {name="|cff9dcf9fICC|r25", fullName="冰冠堡垒", isShow=function() return ZL.glb.ICC25 and "instance:631:25" end},
    {name="|cff9dcf9fICC|r10", fullName="冰冠堡垒", isShow=function() return ZL.glb.ICC10 and "instance:631:10" end},
    {name="|cff9dcf9fTOC|r25", fullName="十字军的试炼", isShow=function() return ZL.glb.TOC25 and "instance:649:25" end},
    {name="|cff9dcf9fTOC|r10", fullName="十字军的试炼", isShow=function() return ZL.glb.TOC10 and "instance:649:10" end},
    {name="|cff9dcf9f黑龙|r25", fullName="奥妮克希亚的巢穴", isShow=function() return ZL.glb.OL25 and "instance:249:25" end},
    {name="|cff9dcf9f黑龙|r10", fullName="奥妮克希亚的巢穴", isShow=function() return ZL.glb.OL10 and "instance:249:10" end},
    {name="|cff9dcf9fULD|r25", fullName="奥杜尔", isShow=function() return ZL.glb.ULD25 and "instance:603:25" end},
    {name="|cff9dcf9fULD|r10", fullName="奥杜尔", isShow=function() return ZL.glb.ULD10 and "instance:603:10" end},
    {name="|cff9dcf9fNAXX|r25", fullName="纳克萨玛斯", isShow=function() return ZL.glb.NAXX25 and "instance:533:25" end},
    {name="|cff9dcf9fNAXX|r10", fullName="纳克萨玛斯", isShow=function() return ZL.glb.NAXX10 and "instance:533:10" end},
    {name="|cff9dcf9f蓝龙|r25", fullName="魔枢：永恒之眼", isShow=function() return ZL.glb.EOE25 and "instance:616:25" end},
    {name="|cff9dcf9f蓝龙|r10", fullName="魔枢：永恒之眼", isShow=function() return ZL.glb.EOE10 and "instance:616:10" end},
    {name="|cff9dcf9f黑曜石|r25", fullName="黑曜石圣殿", isShow=function() return ZL.glb.OS25 and "instance:615:25" end},
    {name="|cff9dcf9f黑曜石|r10", fullName="黑曜石圣殿", isShow=function() return ZL.glb.OS10 and "instance:615:10" end},
    {name="|cff9dcf9f宝库|r25", fullName="阿尔卡冯的宝库", isShow=function() return ZL.glb.VOA25 and "instance:624:25" end},
    {name="|cff9dcf9f宝库|r10", fullName="阿尔卡冯的宝库", isShow=function() return ZL.glb.VOA10 and "instance:624:10" end},
    --TBC
    {name="|cfffeb6fb太阳井|r", fullName="太阳之井高地", isShow=function() return ZL.glb.SW25 and "instance:580:25" end},
    {name="|cfffeb6fb黑庙|r", fullName="黑暗神殿", isShow=function() return ZL.glb.BT25 and "instance:564:25" end},
    {name="|cfffeb6fb海山|r", fullName="海加尔峰", isShow=function() return ZL.glb.HS25 and "instance:534:25" end},
    {name="|cfffeb6fb风暴|r", fullName="风暴要塞", isShow=function() return ZL.glb.TK25 and "instance:550:25" end},
    {name="|cfffeb6fb毒蛇|r", fullName="毒蛇神殿", isShow=function() return ZL.glb.SSC25 and "instance:548:25" end},
    {name="|cfffeb6fb格鲁尔|r", fullName="格鲁尔的巢穴", isShow=function() return ZL.glb.GLR25 and "instance:565:25" end},
    {name="|cfffeb6fb玛胖|r", fullName="玛瑟里顿的巢穴", isShow=function() return ZL.glb.ML25 and "instance:544:25" end},
    {name="|cfffeb6fb祖阿曼|r", fullName="祖阿曼", instanceID=568, maxPlayers=10, isShow=function() return ZL.glb.ZAM10 and "instance:568:10" end},
    {name="|cfffeb6fb卡拉赞|r", fullName="卡拉赞", isShow=function() return ZL.glb.KLZ10 and "instance:532:10" end},
    --60年代
    {name="|cff39fe63NAXX|r", fullName="纳克萨玛斯", isShow=function() return ZL.glb.NAXX40 and "instance:533:40" end},
    {name="|cff39fe63TAQ|r", fullName="安其拉", isShow=function() return ZL.glb.TAQ40 and "instance:531:40" end},
    {name="|cff39fe63废墟|r", fullName="安其拉废墟", isShow=function() return ZL.glb.FX20 and "instance:509:20" end},
    {name="|cff39fe63祖格|r", fullName="祖尔格拉布", isShow=function() return ZL.glb.ZG20 and "instance:309:20" end},
    {name="|cff39fe63BWL|r", fullName="黑翼之巢", isShow=function() return ZL.glb.BWL40 and "instance:469:40" end},
    {name="|cff39fe63MC|r", fullName="熔火之心", isShow=function() return ZL.glb.MC40 and "instance:409:40" end},
    {name="|cff39fe63黑龙|r", fullName="奥妮克希亚的巢穴", isShow=function() return ZL.glb.OL40 and "instance:249:40" end},
    ---------5人英雄本----------
    --WLK
    {name="|cff8bd193洪炉|r", fullName="灵魂洪炉", isShow=function() return ZL.glb.HL5 and "instance:632:5" end},
    {name="|cff8bd193矿坑|r", fullName="萨隆矿坑", isShow=function() return ZL.glb.KK5 and "instance:658:5" end},
    {name="|cff8bd193映像|r", fullName="映像大厅", isShow=function() return ZL.glb.YX5 and "instance:668:5" end},
    {name="|cff8bd193冠军|r", fullName="冠军的试炼", isShow=function() return ZL.glb.GJ5 and "instance:650:5" end},
    {name="|cff8bd193乌下|r", fullName="乌特加德城堡", isShow=function() return ZL.glb.WX5 and "instance:574:5" end},
    {name="|cff8bd193乌巅|r", fullName="乌特加德之巅", isShow=function() return ZL.glb.WS5 and "instance:575:5" end},
    {name="|cff8bd193魔枢|r", fullName="魔枢", isShow=function() return ZL.glb.MS5 and "instance:576:5" end},
    {name="|cff8bd193魔环|r", fullName="魔环", isShow=function() return ZL.glb.MH5 and "instance:578:5" end},
    {name="|cff8bd193蜘蛛|r", fullName="艾卓-尼鲁布", isShow=function() return ZL.glb.ZZ5 and "instance:601:5" end},
    {name="|cff8bd193王国|r", fullName="安卡赫特：古代王国", isShow=function() return ZL.glb.WG5 and "instance:619:5" end},
    {name="|cff8bd193要塞|r", fullName="达克萨隆要塞", isShow=function() return ZL.glb.YS5 and "instance:600:5" end},
    {name="|cff8bd193古达克|r", fullName="古达克", isShow=function() return ZL.glb.GDK5 and "instance:604:5" end},
    {name="|cff8bd193岩石|r", fullName="岩石大厅", isShow=function() return ZL.glb.YSDT5 and "instance:599:5" end},
    {name="|cff8bd193闪电|r", fullName="闪电大厅", isShow=function() return ZL.glb.SDDT5 and "instance:602:5" end},
    {name="|cff8bd193监狱|r", fullName="紫罗兰监狱", isShow=function() return ZL.glb.ZLLJY5 and "instance:608:5" end},
    {name="|cff8bd193STSM|r", fullName="净化斯坦索姆", isShow=function() return ZL.glb.STSM5 and "instance:595:5" end},
    --TBC
    {name="|cffc0cf18城墙|r", fullName="地狱火城墙", isShow=function() return ZL.glb.DYHCQ5 and "instance:543:5" end},
    {name="|cffc0cf18熔炉|r", fullName="鲜血熔炉", isShow=function() return ZL.glb.XXRL5 and "instance:542:5" end},
    {name="|cffc0cf18破碎|r", fullName="破碎大厅", isShow=function() return ZL.glb.PSDT5 and "instance:540:5" end},
    {name="|cffc0cf18法力|r", fullName="法力陵墓", isShow=function() return ZL.glb.FLLM5 and "instance:557:5" end},
    {name="|cffc0cf18地穴|r", fullName="奥金尼地穴", isShow=function() return ZL.glb.AJNDX5 and "instance:558:5" end},
    {name="|cffc0cf18赛泰克|r", fullName="塞泰克大厅", isShow=function() return ZL.glb.STKDT5 and "instance:556:5" end},
    {name="|cffc0cf18迷宫|r", fullName="暗影迷宫", isShow=function() return ZL.glb.AYMG5 and "instance:555:5" end},
    {name="|cffc0cf18围栏|r", fullName="奴隶围栏", isShow=function() return ZL.glb.NLWL5 and "instance:547:5" end},
    {name="|cffc0cf18幽暗|r", fullName="幽暗沼泽", isShow=function() return ZL.glb.YAZZ5 and "instance:546:5" end},
    {name="|cffc0cf18蒸汽|r", fullName="蒸汽地窟", isShow=function() return ZL.glb.ZQDJ5 and "instance:545:5" end},
    {name="|cffc0cf18救萨尔|r", fullName="旧希尔斯布莱德丘陵", isShow=function() return ZL.glb.SR5 and "instance:560:5" end},
    {name="|cffc0cf1818M|r", fullName="黑色沼泽", isShow=function() return ZL.glb.HSZZ5 and "instance:269:5" end},
    {name="|cffc0cf18监狱|r", fullName="禁魔监狱", isShow=function() return ZL.glb.JMJY5 and "instance:552:5" end},
    {name="|cffc0cf18生态船|r", fullName="生态船", isShow=function() return ZL.glb.STC5 and "instance:553:5" end},
    {name="|cffc0cf18能源舰|r", fullName="能源舰", isShow=function() return ZL.glb.NYJ5 and "instance:554:5" end},
    {name="|cffc0cf18平台|r", fullName="魔导师平台", isShow=function() return ZL.glb.MDSPT5 and "instance:585:5" end},

    --周常
    {name="|cfff58cba周常|r", fullName="周长", isShow=function() return ZL.glb.weekQuest and "weekQuest" end},
    --日常
    {name="|cfff58cba英雄日常|r", fullName="英雄副本日常", isShow=function() return ZL.glb.heroDayQuest and "heroDayQuest" end},
    {name="|cfff58cba泰坦日常|r", fullName="泰坦符文协议日常", isShow=function() return ZL.glb.taiTanDayQuest and "taiTanDayQuest" end},
    {name="|cfff58cba珠宝日常|r", fullName="珠宝日常", isShow=function() return ZL.glb.zhuBaoDayQuest and "zhuBaoDayQuest" end},
    {name="|cfff58cba钓鱼日常|r", fullName="钓鱼日常", isShow=function() return ZL.glb.fishingDayQuest and "fishingDayQuest" end},
    {name="|cfff58cba烹饪日常|r", fullName="烹饪日常", isShow=function() return ZL.glb.cookingDayQuest and "cookingDayQuest" end},

    --专业技能CD
    --炼金
    {name="|cff0070de炼金转化|r", fullName="炼金转化", isShow=function() return ZL.glb.alchemyTransmute and "alchemyTransmute" end}, --WLK39个共享CD
    {name="|cff0070de炼金研究|r", fullName="诺森德炼金研究", isShow=function() return ZL.glb.northrendAlchemyResearch and "profession:60893" end},
    --裁缝
    {name="|cff0070de月布|r", fullName="洗月布", isShow=function() return ZL.glb.yueBuProfession and "profession:18560" end},
    {name="|cff0070de法纹布|r", fullName="洗法纹布", isShow=function() return ZL.glb.faWenBuProfession and "profession:56003" end},
    {name="|cff0070de乌纹布|r", fullName="洗乌纹布", isShow=function() return ZL.glb.wuWenBuProfession and "profession:56002" end},
    {name="|cff0070de月影布|r", fullName="洗月影布", isShow=function() return ZL.glb.yueYingBuProfession and "profession:56001" end},
    {name="|cff0070de冰川背包|r", fullName="冰川背包", isShow=function() return ZL.glb.bingChuanBeiBaoProfession and "profession:56005" end},
    --雕文
    {name="|cff0070de大雕文|r", fullName="诺森德铭文研究", isShow=function() return ZL.glb.daDiaoWenProfession and "profession:61177" end},
    {name="|cff0070de小雕文|r", fullName="小型雕文研究", isShow=function() return ZL.glb.xiaoDiaoWenProfession and "profession:61288" end},
    --珠宝
    {name="|cff0070de冰冻棱柱|r", fullName="冰冻棱柱", isShow=function() return ZL.glb.bingDongLingZhuProfession and "profession:62242" end},
    --采矿
    {name="|cff0070de泰坦精钢|r", fullName="熔炼泰坦精钢", isShow=function() return ZL.glb.taiTanJingGangProfession and "profession:55208" end},

}
ZL.CurrencyRoles = {
    --角色
    {name="|cfffa8da5玩家名字|r", fullName="角色", isShow=function() return "colorName" end}, --强制显示
    {name="|cfffa8da5服务器|r", fullName="服务器", isShow=function() return ZL.glb.realmName and "realmName" end, hide=function() ZL.glb.realmName = nil end},
    {name="|cfffa8da5等级|r", fullName="角色等级", isShow=function() return ZL.glb.unitLevel and "UnitLevel" end},
    {name="|cfffa8da5装等|r", fullName="装备等级", isShow=function() return ZL.glb.itemLevel and "itemLevel" end},
    --货币
    {name="|cff40c7eb寒冰纹章|r|T" .. C_CurrencyInfo.GetCurrencyInfo(341).iconFileID .. ":0:0:2:0|t", fullName="寒冰纹章", isShow=function() return ZL.glb.hanBingCurrency and "currency:341" end },
    {name="|cff40c7eb凯旋纹章|r|T" .. C_CurrencyInfo.GetCurrencyInfo(301).iconFileID .. ":0:0:2:0|t", fullName="凯旋纹章", isShow=function() return ZL.glb.kaiXuanCurrency and "currency:301" end },
    {name="|cff40c7eb征服纹章|r|T" .. C_CurrencyInfo.GetCurrencyInfo(221).iconFileID .. ":0:0:2:0|t", fullName="征服纹章", isShow=function() return ZL.glb.zhengFuCurrency and "currency:221" end },
    {name="|cff40c7eb勇气纹章|r|T" .. C_CurrencyInfo.GetCurrencyInfo(102).iconFileID .. ":0:0:2:0|t", fullName="勇气纹章", isShow=function() return ZL.glb.yongQiCurrency and "currency:102" end },
    {name="|cff40c7eb英雄纹章|r|T" .. C_CurrencyInfo.GetCurrencyInfo(101).iconFileID .. ":0:0:2:0|t", fullName="英雄纹章", isShow=function() return ZL.glb.yingXiongCurrency and "currency:101" end },
    {name="|cff40c7eb公正徽章|r|T" .. C_CurrencyInfo.GetCurrencyInfo(42).iconFileID .. ":0:0:2:0|t", fullName="公正徽章", isShow=function() return ZL.glb.gongZhengCurrency and "currency:42" end },
    {name="|cff40c7eb珠宝硬币|r|T" .. C_CurrencyInfo.GetCurrencyInfo(61).iconFileID .. ":0:0:2:0|t", fullName="达拉然珠宝匠硬币", isShow=function() return ZL.glb.zhuBaoCurrency and "currency:61" end },
    {name="|cff40c7eb亵读者|r|T" .. C_CurrencyInfo.GetCurrencyInfo(2711).iconFileID .. ":0:0:2:0|t", fullName="亵读者的天灾石", isShow=function() return ZL.glb.xieDuZheCurrency and "currency:2711" end },
    {name="|cff40c7eb赛德里尔|r|T" .. C_CurrencyInfo.GetCurrencyInfo(2589).iconFileID .. ":0:0:2:0|t", fullName="赛德里尔精华", isShow=function() return ZL.glb.saiDeLiErCurrency and "currency:2589" end },
    {name="|cff40c7eb冠军微记|r|T" .. C_CurrencyInfo.GetCurrencyInfo(241).iconFileID .. ":0:0:2:0|t", fullName="冠军的微记", isShow=function() return ZL.glb.guanJunCurrency and "currency:241" end },
    {name="|cff40c7eb美食奖章|r|T" .. C_CurrencyInfo.GetCurrencyInfo(81).iconFileID .. ":0:0:2:0|t", fullName="美食家奖章", isShow=function() return ZL.glb.meiShiJiaCurrency and "currency:81" end },
    {name="|cff40c7eb岩石守卫|r|T" .. C_CurrencyInfo.GetCurrencyInfo(161).iconFileID .. ":0:0:2:0|t", fullName="岩石守卫者的碎片", isShow=function() return ZL.glb.yanShiShouWeiCurrency and "currency:161" end },
    {name="|cff40c7eb竞技场|r|T" .. C_CurrencyInfo.GetCurrencyInfo(1900).iconFileID .. ":0:0:2:0|t", fullName="竞技场点数", isShow=function() return ZL.glb.jingJiChangCurrency and "currency:1900" end },
    {name="|cff40c7eb  荣誉点数|r|T" .. C_CurrencyInfo.GetCurrencyInfo(1901).iconFileID .. ":25:25:2:-8|t", fullName="荣誉点数", isShow=function() return ZL.glb.rongYuCurrency and "currency:1901" end },
    {name="|cff40c7eb奥特兰克|r|T" .. C_CurrencyInfo.GetCurrencyInfo(121).iconFileID .. ":0:0:2:0|t", fullName="奥特兰克山谷荣誉奖章", isShow=function() return ZL.glb.aoTeLanKeCurrency and "currency:121" end },
    {name="|cff40c7eb阿拉希|r|T" .. C_CurrencyInfo.GetCurrencyInfo(122).iconFileID .. ":0:0:2:0|t", fullName="阿拉希盆地荣誉奖章", isShow=function() return ZL.glb.aLaXiCurrency and "currency:122" end },
    {name="|cff40c7eb战歌|r|T" .. C_CurrencyInfo.GetCurrencyInfo(125).iconFileID .. ":0:0:2:0|t", fullName="战歌峡谷荣誉奖章", isShow=function() return ZL.glb.zhanGeCurrency and "currency:125" end },
    {name="|cff40c7eb金币|r", fullName="金币", isShow=function() return ZL.glb.jinBiCurrency and "jinBiCurrency" end },
}
ZL.historyDaysList = {30, 60, 90, 180}