dev_chengFeng
parent
bbe2c8c1f3
commit
baaee2e547
|
|
@ -760,9 +760,7 @@ function this.CheckPoZhenZhuXianTaskRed()
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
for i=1,#this.allData do
|
for i=1,#this.allData do
|
||||||
if this.allData[i].state == 0 and
|
if this.allData[i].state == 1 then
|
||||||
this.allData[i].progress >= this.allData[i].value
|
|
||||||
then
|
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
@ -778,10 +776,8 @@ function this.InitLeiJiChongZhiData()
|
||||||
end
|
end
|
||||||
this.LeiJiChongZhiData = {}
|
this.LeiJiChongZhiData = {}
|
||||||
local allListData = ConfigManager.GetAllConfigsDataByKey(ConfigName.ActivityRewardConfig, "ActivityId", id)
|
local allListData = ConfigManager.GetAllConfigsDataByKey(ConfigName.ActivityRewardConfig, "ActivityId", id)
|
||||||
LogBlue("#allListData:"..#allListData)
|
|
||||||
local allMissionData = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.pozhenzhuxian_recharge)
|
local allMissionData = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.pozhenzhuxian_recharge)
|
||||||
LogYellow(allMissionData.value)
|
LogYellow(allMissionData.value)
|
||||||
LogBlue("#allMissionData"..#allMissionData)
|
|
||||||
for i=1,#allListData do
|
for i=1,#allListData do
|
||||||
for j=1,#allMissionData.mission do
|
for j=1,#allMissionData.mission do
|
||||||
if allListData[i].Id == allMissionData.mission[j].missionId then
|
if allListData[i].Id == allMissionData.mission[j].missionId then
|
||||||
|
|
|
||||||
|
|
@ -386,8 +386,8 @@ function this.RegisterRedCheckFunc()
|
||||||
--限时招募
|
--限时招募
|
||||||
RPData:AddCheckFunc(RedPointType.TimeLimited,OperatingManager.GetTimeLimitRedPointStatus)
|
RPData:AddCheckFunc(RedPointType.TimeLimited,OperatingManager.GetTimeLimitRedPointStatus)
|
||||||
RPData:AddCheckFunc(RedPointType.QianKunBox,OperatingManager.GetQiankunBoxRedPointStatus)
|
RPData:AddCheckFunc(RedPointType.QianKunBox,OperatingManager.GetQiankunBoxRedPointStatus)
|
||||||
RPData:SetParent(RedPointType.PoZhenZhuXianTask, OperatingManager.CheckPoZhenZhuXianTaskRed)
|
RPData:AddCheckFunc(RedPointType.PoZhenZhuXianTask, OperatingManager.CheckPoZhenZhuXianTaskRed)
|
||||||
-- RPData:SetParent(RedPointType.PoZhenZhuXianRecharge, OperatingManager.CheckLeiJiChongZhiRedData)
|
RPData:AddCheckFunc(RedPointType.PoZhenZhuXianRecharge, OperatingManager.CheckLeiJiChongZhiRedData)
|
||||||
|
|
||||||
RPData:AddCheckFunc(RedPointType.OrdinaryExplore, CarbonManager.CarbonRedCheck,FUNCTION_OPEN_TYPE.EXPEDITION)
|
RPData:AddCheckFunc(RedPointType.OrdinaryExplore, CarbonManager.CarbonRedCheck,FUNCTION_OPEN_TYPE.EXPEDITION)
|
||||||
RPData:AddCheckFunc(RedPointType.HeroExplore, CarbonManager.CarbonRedCheck,FUNCTION_OPEN_TYPE.DAILYCHALLENGE_COIN)
|
RPData:AddCheckFunc(RedPointType.HeroExplore, CarbonManager.CarbonRedCheck,FUNCTION_OPEN_TYPE.DAILYCHALLENGE_COIN)
|
||||||
|
|
@ -396,8 +396,8 @@ function this.RegisterRedCheckFunc()
|
||||||
|
|
||||||
RPData:AddCheckFunc(RedPointType.People_Mirror, XuanYuanMirrorManager.CarbonRedCheck)
|
RPData:AddCheckFunc(RedPointType.People_Mirror, XuanYuanMirrorManager.CarbonRedCheck)
|
||||||
|
|
||||||
RPData:SetParent(RedPointType.QinglongSerectTreasure, QinglongSerectTreasureManager.GetQinglongSerectTreasureRedPot)
|
RPData:AddCheckFunc(RedPointType.QinglongSerectTreasure, QinglongSerectTreasureManager.GetQinglongSerectTreasureRedPot)
|
||||||
RPData:SetParent(RedPointType.QinglongSerectTreasureTrail, QinglongSerectTreasureManager.GetSerectTreasureTrailRedPot)
|
RPData:AddCheckFunc(RedPointType.QinglongSerectTreasureTrail, QinglongSerectTreasureManager.GetSerectTreasureTrailRedPot)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue