红点提交

yuanshuai 2022-05-18 20:06:18 +08:00
parent d4a6bfdda2
commit d39933b48d
4 changed files with 14 additions and 0 deletions

View File

@ -1460,6 +1460,7 @@ ActivityTypeDef = {
PowerRice = 97,--战力冲刺
EastSeaFindGod = 98, --东海寻仙
ZhongShenKa = 99, --终身卡
}
--活动结束需要处理面板关闭类型
ActivityTypePanel = {

View File

@ -1470,4 +1470,15 @@ function this.FestevalRedCheck()
return false
end
function this.CheckZhongShenKaRedPoint()
local actData=ActivityGiftManager.GetActivityInfoByType(9901)
if not actData then
return false
end
if actData.value==1 then
return true
end
return false
end
return this

View File

@ -93,6 +93,7 @@ function this.CheckRedReward()
return false
end
-- 根据是否有周卡数据,判断周卡功能是否开启
function this.IsWeekCardOpen()
local list = this.GetWeekCardDataArray()

View File

@ -647,6 +647,7 @@ function this.RegisterRedCheckFunc()
-- 周卡
RPData:AddCheckFunc(RedPointType.WeekCardOpen, WeekCardManager.CheckRedOpen, FUNCTION_OPEN_TYPE.WEEK_CARD)
RPData:AddCheckFunc(RedPointType.WeekCardReward, WeekCardManager.CheckRedReward, FUNCTION_OPEN_TYPE.WEEK_CARD)
RPData:AddCheckFunc(RedPointType.ZhongShenKa, ActivityGiftManager.CheckZhongShenKaRedPoint)
RPData:AddCheckFunc(RedPointType.tailsmanSoul_gold,TailsManSoulManager.CheckRedData)
RPData:AddCheckFunc(RedPointType.tailsmanSoul_red,TailsManSoulManager.CheckRedData)