TCX_LongZhu
DESKTOP-MMO982B\User 2026-05-26 14:14:22 +08:00
parent f27777f79b
commit 565dfd1df7
1 changed files with 9 additions and 3 deletions

View File

@ -19,19 +19,21 @@ local tabs = {
default = "UI_hz_zhonghe01_83", lock = "UI_hz_zhonghe01_83", select = "UI_hz_zhonghe01_82",tabName = Language[12276],
rpType = RedPointType.TianShuPokemon_Fetter,funcType = FUNCTION_OPEN_TYPE.POKEMON,bg = "GSX116",zi = "t_tianshumijuan_lingshoupian_zi_zh",
},
--FUNCTION_OPEN_TYPE.COMPOUND
[4] = { --装备
default = "UI_hz_zhonghe01_83", lock = "UI_hz_zhonghe01_83", select = "UI_hz_zhonghe01_82",tabName = "装备篇",
rpType = RedPointType.Equip_Fetter,funcType = FUNCTION_OPEN_TYPE.COMPOUND,bg = "t_tianshumijuan_shengjiangditu",zi = "t_tianshumijuan_zhuangbeipian_zi_zh",
},
--FUNCTION_OPEN_TYPE.POKEMON
[5] = { --神兵
default = "UI_hz_zhonghe01_83", lock = "UI_hz_zhonghe01_83", select = "UI_hz_zhonghe01_82",tabName = "超级武器篇",
rpType = RedPointType.Weapon_Fetter,funcType = FUNCTION_OPEN_TYPE.POKEMON,bg = "GSX116",zi = "GodWeaponAtlas_handbook_title_zh",
rpType = RedPointType.Weapon_Fetter,funcType = 5,bg = "GSX116",zi = "GodWeaponAtlas_handbook_title_zh",
},
[6] = { --法宝
default = "UI_hz_zhonghe01_83",
lock = "UI_hz_zhonghe01_83",
select = "UI_hz_zhonghe01_82",
tabName = "法宝",
tabName = "意念",
rpType = RedPointType.Treasure_Fetter,
funcType = -1,
bg = "GSX116"
@ -53,7 +55,7 @@ local tabs = {
default = "UI_hz_zhonghe01_83",
lock = "UI_hz_zhonghe01_83",
select = "UI_hz_zhonghe01_82",
tabName = "身外化身",
tabName = "奥义卡",
rpType = RedPointType.HuaShen_Fetter,
funcType = FUNCTION_OPEN_TYPE.Incarnation,
bg = "GSX116"
@ -121,8 +123,10 @@ function TianShuMiJuanMainPanel.SetTabAdapter(newTab, index, status)
else
local config = ConfigManager.GetConfigData(ConfigName.GlobalSystemConfig,tabs[index].funcType)
if config and config.IsOpen == 0 then
--LogError("aaaaaaaaaaaaaaaaa"..tabs[index].funcType.."/"..newTab.gameObject.name)
newTab.gameObject:SetActive(false)
else
--LogError("bbbbbbbbbbbbbbbbbbbb"..tabs[index].funcType)
newTab.gameObject:SetActive(true)
end
end
@ -131,8 +135,10 @@ end
function TianShuMiJuanMainPanel.TabIsLockCheck(index)
if tabs[index].funcType > 0 then
if ActTimeCtrlManager.SingleFuncState(tabs[index].funcType) then
--LogError("aaaaaaaaaaaaaaaaa"..tabs[index].funcType)
return false
else
--LogError("bbbbbbbbbbbbbbbbbbbb"..tabs[index].funcType)
return true,ActTimeCtrlManager.SystemOpenTip(tabs[index].funcType)
end
else