Merge branch 'master_develop' of http://60.1.1.230/gaoxin/JL_Client into master_develop

dev_chengFeng
ZhangBiao 2020-08-04 16:19:06 +08:00
commit ade7ee88bc
2 changed files with 9 additions and 1 deletions

View File

@ -55,6 +55,13 @@ function this.SetShowFindTreasureVipRedPoint(isShow)
CheckRedPointStatus(RedPointType.SecretTer_FindTreasure)
end
function this.GetShowFindTreasureVipRedPoint()
if this.isShowFindTreasureVipRedPoint then
local gaoState = PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.GoFindTreasure)
local haoState = PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.HaoFindTreasure)
if gaoState and haoState then
this.isShowFindTreasureVipRedPoint = false
end
end
return this.isShowFindTreasureVipRedPoint
end
return this

View File

@ -52,7 +52,8 @@ end
--界面打开时调用(用于子类重写)
function UnlockCheckpointPopup:OnOpen(_configID,_callBack)
-- 解锁新章节音效
PlaySoundWithoutClick(SoundConfig.Sound_UnlockLevel)
configID = _configID
callBack = _callBack
local chapterId = math.floor(FightPointPassManager.lastPassFightId / 1000)