[主题活动累充有礼]=====红点修改
parent
7c34cec6f3
commit
ee3fecc198
|
@ -868,7 +868,7 @@ RedPointType = {
|
|||
Expert_EnergyExper = -1,--体力达人
|
||||
Expert_Talisman= 3137,--法宝达人
|
||||
Expert_SoulPrint= 3138,--魂印达人
|
||||
Expert_AccumulativeRecharge= -1,--累计充值
|
||||
Expert_AccumulativeRecharge= 1999,--累计充值
|
||||
Expert_FindTreasure= 3146,--寻宝达人
|
||||
Expert_LuckyTurn= 3147,--探宝达人
|
||||
Expert_Recruit= 3148,--征募达人
|
||||
|
|
|
@ -850,7 +850,17 @@ function this.DemonSlayerNewRedCheck()
|
|||
end
|
||||
return false
|
||||
end
|
||||
|
||||
function this.LeiChongYouLiRedCheck()
|
||||
local data = this.GetData(ActivityTypeDef.DynamicAct_recharge)
|
||||
if data then
|
||||
for i = 1, #data.rewards do
|
||||
if data.rewards[i].state == 1 then
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
return false
|
||||
end
|
||||
-- 判断是否有连续充值的礼包
|
||||
function this.HasContinueGift(linkActId)
|
||||
local activityId = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.ContinueGift)
|
||||
|
|
|
@ -223,7 +223,7 @@ function this.InitRedPointAllRelate()
|
|||
-- RPData:SetParent(RedPointType.Expert_GoldExper, RedPointType.Expert)
|
||||
-- RPData:SetParent(RedPointType.Expert_FightExper, RedPointType.Expert)
|
||||
--RPData:SetParent(RedPointType.Expert_EnergyExper, RedPointType.Expert)
|
||||
-- RPData:SetParent(RedPointType.Expert_AccumulativeRecharge, RedPointType.Expert)
|
||||
--RPData:SetParent(RedPointType.Expert_AccumulativeRecharge, RedPointType.Expert)
|
||||
-- RPData:SetParent(RedPointType.Expert_Talisman, RedPointType.Expert)
|
||||
-- RPData:SetParent(RedPointType.Expert_SoulPrint, RedPointType.Expert)
|
||||
--RPData:SetParent(RedPointType.LuckyCat, RedPointType.Expert)
|
||||
|
@ -465,7 +465,7 @@ function this.RegisterRedCheckFunc()
|
|||
RPData:AddCheckFunc(RedPointType.zhognzhichengcheng, ActivityGiftManager.ExpterActivityIsShowRedPoint)
|
||||
RPData:AddCheckFunc(RedPointType.Expert_FightExper, ActivityGiftManager.ExpterActivityIsShowRedPoint)
|
||||
--RPData:AddCheckFunc(RedPointType.Expert_EnergyExper, ActivityGiftManager.ExpterActivityIsShowRedPoint)
|
||||
--RPData:AddCheckFunc(RedPointType.Expert_AccumulativeRecharge, ActivityGiftManager.ExpterActivityIsShowRedPoint)
|
||||
RPData:AddCheckFunc(RedPointType.Expert_AccumulativeRecharge,CommonActPageManager.LeiChongYouLiRedCheck)
|
||||
RPData:AddCheckFunc(RedPointType.Expert_FindTreasure, ActivityGiftManager.ExpterActivityIsShowRedPoint)
|
||||
RPData:AddCheckFunc(RedPointType.Expert_LuckyTurn, ActivityGiftManager.ExpterActivityIsShowRedPoint)
|
||||
RPData:AddCheckFunc(RedPointType.Expert_Recruit, ActivityGiftManager.ExpterActivityIsShowRedPoint)
|
||||
|
|
Loading…
Reference in New Issue