mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-18 02:30:50 +00:00
thirdparty: add flightmap integration
This commit is contained in:
committed by
Shagu
parent
92de8e5ea4
commit
ecbccbaeda
@@ -507,6 +507,7 @@ function pfUI:LoadConfig()
|
|||||||
pfUI:UpdateConfig("thirdparty", "wim", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "wim", "enable", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "healcomm", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "healcomm", "enable", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "cleanup", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "cleanup", "enable", "1")
|
||||||
|
pfUI:UpdateConfig("thirdparty", "flightmap", "enable", "1")
|
||||||
pfUI:UpdateConfig("position", nil, nil, nil)
|
pfUI:UpdateConfig("position", nil, nil, nil)
|
||||||
pfUI:UpdateConfig("disabled", nil, nil, nil)
|
pfUI:UpdateConfig("disabled", nil, nil, nil)
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
@@ -173,6 +173,7 @@ pfUI_translation["deDE"] = {
|
|||||||
["Exp"] = nil,
|
["Exp"] = nil,
|
||||||
["Fast"] = nil,
|
["Fast"] = nil,
|
||||||
["Firstrun"] = nil,
|
["Firstrun"] = nil,
|
||||||
|
["FlightMap"] = nil,
|
||||||
["Focus"] = nil,
|
["Focus"] = nil,
|
||||||
["Forward all whispers to:"] = nil,
|
["Forward all whispers to:"] = nil,
|
||||||
["fps"] = nil,
|
["fps"] = nil,
|
||||||
|
|||||||
Vendored
+1
@@ -173,6 +173,7 @@ pfUI_translation["enUS"] = {
|
|||||||
["Exp"] = nil,
|
["Exp"] = nil,
|
||||||
["Fast"] = nil,
|
["Fast"] = nil,
|
||||||
["Firstrun"] = nil,
|
["Firstrun"] = nil,
|
||||||
|
["FlightMap"] = nil,
|
||||||
["Focus"] = nil,
|
["Focus"] = nil,
|
||||||
["Forward all whispers to:"] = nil,
|
["Forward all whispers to:"] = nil,
|
||||||
["fps"] = nil,
|
["fps"] = nil,
|
||||||
|
|||||||
Vendored
+1
@@ -173,6 +173,7 @@ pfUI_translation["esES"] = {
|
|||||||
["Exp"] = nil,
|
["Exp"] = nil,
|
||||||
["Fast"] = nil,
|
["Fast"] = nil,
|
||||||
["Firstrun"] = nil,
|
["Firstrun"] = nil,
|
||||||
|
["FlightMap"] = nil,
|
||||||
["Focus"] = nil,
|
["Focus"] = nil,
|
||||||
["Forward all whispers to:"] = nil,
|
["Forward all whispers to:"] = nil,
|
||||||
["fps"] = nil,
|
["fps"] = nil,
|
||||||
|
|||||||
Vendored
+1
@@ -173,6 +173,7 @@ pfUI_translation["frFR"] = {
|
|||||||
["Exp"] = nil,
|
["Exp"] = nil,
|
||||||
["Fast"] = "Rapide",
|
["Fast"] = "Rapide",
|
||||||
["Firstrun"] = "Premier lancement",
|
["Firstrun"] = "Premier lancement",
|
||||||
|
["FlightMap"] = nil,
|
||||||
["Focus"] = "Focalisation",
|
["Focus"] = "Focalisation",
|
||||||
["Forward all whispers to:"] = "Transférer tout les whisp à:",
|
["Forward all whispers to:"] = "Transférer tout les whisp à:",
|
||||||
["fps"] = nil,
|
["fps"] = nil,
|
||||||
|
|||||||
Vendored
+1
@@ -173,6 +173,7 @@ pfUI_translation["koKR"] = {
|
|||||||
["Experience"] = "경험치",
|
["Experience"] = "경험치",
|
||||||
["Fast"] = "빠르게",
|
["Fast"] = "빠르게",
|
||||||
["Firstrun"] = "첫번째 단계",
|
["Firstrun"] = "첫번째 단계",
|
||||||
|
["FlightMap"] = nil,
|
||||||
["Focus"] = "주시대상",
|
["Focus"] = "주시대상",
|
||||||
["Forward all whispers to:"] = "모든 귓속말을 다음으로 전달:",
|
["Forward all whispers to:"] = "모든 귓속말을 다음으로 전달:",
|
||||||
["fps"] = "프레임",
|
["fps"] = "프레임",
|
||||||
|
|||||||
Vendored
+1
@@ -173,6 +173,7 @@ pfUI_translation["ruRU"] = {
|
|||||||
["Exp"] = "Опыт",
|
["Exp"] = "Опыт",
|
||||||
["Fast"] = "Быстро",
|
["Fast"] = "Быстро",
|
||||||
["Firstrun"] = "Первый запуск",
|
["Firstrun"] = "Первый запуск",
|
||||||
|
["FlightMap"] = nil,
|
||||||
["Focus"] = "Фокус",
|
["Focus"] = "Фокус",
|
||||||
["Forward all whispers to:"] = "Направить все шепоты на:",
|
["Forward all whispers to:"] = "Направить все шепоты на:",
|
||||||
["fps"] = nil,
|
["fps"] = nil,
|
||||||
|
|||||||
Vendored
+1
@@ -173,6 +173,7 @@ pfUI_translation["zhCN"] = {
|
|||||||
["Exp"] = "经验",
|
["Exp"] = "经验",
|
||||||
["Fast"] = "快速",
|
["Fast"] = "快速",
|
||||||
["Firstrun"] = "首次安装",
|
["Firstrun"] = "首次安装",
|
||||||
|
["FlightMap"] = nil,
|
||||||
["Focus"] = "焦点目标",
|
["Focus"] = "焦点目标",
|
||||||
["Forward all whispers to:"] = "转发密语至:",
|
["Forward all whispers to:"] = "转发密语至:",
|
||||||
["FPS & Ping"] = "帧数和延时",
|
["FPS & Ping"] = "帧数和延时",
|
||||||
|
|||||||
Vendored
+1
@@ -173,6 +173,7 @@ pfUI_translation["zhTW"] = {
|
|||||||
["Exp"] = "經驗",
|
["Exp"] = "經驗",
|
||||||
["Fast"] = "快速",
|
["Fast"] = "快速",
|
||||||
["Firstrun"] = "首次安裝",
|
["Firstrun"] = "首次安裝",
|
||||||
|
["FlightMap"] = nil,
|
||||||
["Focus"] = "焦點目標",
|
["Focus"] = "焦點目標",
|
||||||
["Forward all whispers to:"] = "轉發密語至:",
|
["Forward all whispers to:"] = "轉發密語至:",
|
||||||
["FPS & Ping"] = "幀數和延時",
|
["FPS & Ping"] = "幀數和延時",
|
||||||
|
|||||||
@@ -1345,6 +1345,7 @@ pfUI:RegisterModule("gui", function ()
|
|||||||
CreateConfig(this, T["WIM"], C.thirdparty.wim, "enable", "checkbox")
|
CreateConfig(this, T["WIM"], C.thirdparty.wim, "enable", "checkbox")
|
||||||
CreateConfig(this, T["HealComm"], C.thirdparty.healcomm, "enable", "checkbox")
|
CreateConfig(this, T["HealComm"], C.thirdparty.healcomm, "enable", "checkbox")
|
||||||
CreateConfig(this, T["CleanUp"], C.thirdparty.cleanup, "enable", "checkbox")
|
CreateConfig(this, T["CleanUp"], C.thirdparty.cleanup, "enable", "checkbox")
|
||||||
|
CreateConfig(this, T["FlightMap"], C.thirdparty.flightmap, "enable", "checkbox")
|
||||||
this.setup = true
|
this.setup = true
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|||||||
@@ -802,4 +802,19 @@ pfUI:RegisterModule("thirdparty", function ()
|
|||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
do -- FlightMap Integration
|
||||||
|
if C.thirdparty.flightmap.enable == "0" then return end
|
||||||
|
if not FlightMapTimesFrame and not FlightMapTimesFrame and not FlightMapTimesText then return end
|
||||||
|
|
||||||
|
FlightMapTimesBorder:Hide()
|
||||||
|
|
||||||
|
FlightMapTimesFrame:SetStatusBarTexture("Interface\\AddOns\\pfUI\\img\\bar")
|
||||||
|
FlightMapTimesFrame:SetHeight(18)
|
||||||
|
CreateBackdrop(FlightMapTimesFrame)
|
||||||
|
|
||||||
|
FlightMapTimesText:ClearAllPoints()
|
||||||
|
FlightMapTimesText:SetPoint("CENTER", FlightMapTimesFrame, "CENTER", 0, 0)
|
||||||
|
FlightMapTimesText:SetFont(pfUI.font_default, 12, "OUTLINE")
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user