【每日豪礼】可领取,没红点
parent
4b2a71c6eb
commit
13b222d998
|
|
@ -50,6 +50,16 @@ function this.ReceivedEnabled(missionId)
|
|||
return false
|
||||
end
|
||||
|
||||
function this.CheckRedPoint()
|
||||
local dailyActInfo = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.DailyRecharge)
|
||||
for i = 1, #dailyActInfo.mission do
|
||||
if this.ReceivedEnabled(dailyActInfo.mission[i].missionId) then
|
||||
return true
|
||||
end
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
function this.DailyRechargeReset()
|
||||
this.InitRechargeStatus()
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.Activity.OnActivityOpenOrClose, {
|
||||
|
|
|
|||
|
|
@ -389,7 +389,7 @@ function this.RegisterRedCheckFunc()
|
|||
--七日狂欢红点
|
||||
RPData:AddCheckFunc(RedPointType.SevenDayCarnival, SevenDayCarnivalManager.GetSevenDayCarnivalRedPoint)
|
||||
--每日首充
|
||||
RPData:AddCheckFunc(RedPointType.DailyRecharge, DailyRechargeManager.ReceivedEnabled)
|
||||
RPData:AddCheckFunc(RedPointType.DailyRecharge, DailyRechargeManager.CheckRedPoint)
|
||||
--累计签到
|
||||
RPData:AddCheckFunc(RedPointType.CumulativeSignIn,OperatingManager.GetSignInRedPointStatus)
|
||||
RPData:AddCheckFunc(RedPointType.Setting_Ride,PlayerManager.GetPlayerRideRedPoint)
|
||||
|
|
|
|||
Loading…
Reference in New Issue