【主城添加鸿蒙碑升级的红点检测】
parent
375f27f50e
commit
1e2c5ea7c6
|
@ -606,7 +606,7 @@ function this.RefreshUpTowerPoint()
|
||||||
if prop and BagManager.GetTotalItemNum(UpViewRechargeType.Gold) >= prop.LevelUp[1][2] then
|
if prop and BagManager.GetTotalItemNum(UpViewRechargeType.Gold) >= prop.LevelUp[1][2] then
|
||||||
-- body
|
-- body
|
||||||
if BagManager.GetTotalItemNum(UpViewRechargeType.GrowthAmulet) >= prop.LevelUp[2][2] then
|
if BagManager.GetTotalItemNum(UpViewRechargeType.GrowthAmulet) >= prop.LevelUp[2][2] then
|
||||||
print("true")
|
LogGreen("true")
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -620,6 +620,10 @@ function this.RefreshUpTowerPoint()
|
||||||
return false
|
return false
|
||||||
|
|
||||||
end
|
end
|
||||||
|
--检测主城红点
|
||||||
|
function this.CheckRedPoinStatusUpTowerMainCityRed()
|
||||||
|
CheckRedPointStatus(RedPointType.HongMeng_UpTower)
|
||||||
|
end
|
||||||
--票战力
|
--票战力
|
||||||
local oldPowerNum = 0
|
local oldPowerNum = 0
|
||||||
function this.SetOldPowerNum(did)
|
function this.SetOldPowerNum(did)
|
||||||
|
|
|
@ -1245,6 +1245,9 @@ function this:OnShow()
|
||||||
|
|
||||||
--检测灵兽红点
|
--检测灵兽红点
|
||||||
PokemonManager.CheckRedPointStatusPokemonMainCityRed()
|
PokemonManager.CheckRedPointStatusPokemonMainCityRed()
|
||||||
|
|
||||||
|
--检测鸿蒙碑红点
|
||||||
|
HarmonyManager.CheckRedPoinStatusUpTowerMainCityRed()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue