红点提交
parent
d4a6bfdda2
commit
d39933b48d
|
@ -1460,6 +1460,7 @@ ActivityTypeDef = {
|
|||
PowerRice = 97,--战力冲刺
|
||||
|
||||
EastSeaFindGod = 98, --东海寻仙
|
||||
ZhongShenKa = 99, --终身卡
|
||||
}
|
||||
--活动结束需要处理面板关闭类型
|
||||
ActivityTypePanel = {
|
||||
|
|
|
@ -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
|
|
@ -93,6 +93,7 @@ function this.CheckRedReward()
|
|||
return false
|
||||
end
|
||||
|
||||
|
||||
-- 根据是否有周卡数据,判断周卡功能是否开启
|
||||
function this.IsWeekCardOpen()
|
||||
local list = this.GetWeekCardDataArray()
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue