Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev
commit
7eeb323b6e
|
|
@ -59,6 +59,7 @@ end
|
|||
|
||||
local isRefeshIcon = true
|
||||
local curNPCList = {}
|
||||
local addUpDateNum = 0--UpDate计数器
|
||||
--初始化组件(用于子类重写)
|
||||
function this:InitComponent()
|
||||
this.spLoader = SpriteLoader.New()
|
||||
|
|
@ -1095,8 +1096,10 @@ function this:OnShow()
|
|||
HarmonyManager.CheckRedPoinStatusUpTowerMainCityRed()
|
||||
--山河试炼红点
|
||||
CheckRedPointStatus(RedPointType.FightLevelTrial)
|
||||
|
||||
FixedUpdateBeat:Add(this.OnUpdate, self)--长按方法注册
|
||||
if addUpDateNum <= 0 then
|
||||
FixedUpdateBeat:Add(this.OnUpdate, self)--长按方法注册
|
||||
addUpDateNum = addUpDateNum + 1
|
||||
end
|
||||
end
|
||||
|
||||
--
|
||||
|
|
@ -1380,6 +1383,7 @@ function this:OnClose()
|
|||
this.ChatTipView:StopCheck()
|
||||
PatFaceManager.isLogin = false
|
||||
FixedUpdateBeat:Remove(this.OnUpdate, self)
|
||||
addUpDateNum = addUpDateNum - 1
|
||||
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting",0)
|
||||
|
||||
for k,v in ipairs(activitys) do
|
||||
|
|
|
|||
Loading…
Reference in New Issue