主题活动图片资源修改提交,累计重置红点检测修改提交
parent
d36645cc7f
commit
0a610313a6
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
|
@ -23,6 +23,7 @@ end
|
|||
function this.SheJiCheckRedPoint()
|
||||
local ActInfo = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.Celebration)--活动数据
|
||||
local canGetRewardList={}
|
||||
if ActInfo then
|
||||
local curScore = ActInfo.mission[1].progress
|
||||
local actReward = ConfigManager.GetAllConfigsDataByKey(ConfigName.ActivityRewardConfig,"ActivityId",ActInfo.activityId)
|
||||
local setting = ConfigManager.GetConfigDataByKey(ConfigName.GodSacrificeSetting,"ActivityId",ActInfo.activityId)
|
||||
|
|
@ -46,12 +47,12 @@ function this.SheJiCheckRedPoint()
|
|||
--可领取
|
||||
canGet = true
|
||||
end
|
||||
|
||||
if #canGetRewardList > 0 or canGet then
|
||||
return true
|
||||
else
|
||||
return false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return this
|
||||
|
|
@ -815,17 +815,29 @@ end
|
|||
function this.InitLeiJiChongZhiData(_type)
|
||||
local id = 0
|
||||
local type = _type
|
||||
if type == ActivityTypeDef.AccumulativeRechargeExper then
|
||||
id = ActivityGiftManager.GetActivityIdByType(ActivityTypeDef.AccumulativeRechargeExper)
|
||||
if type then
|
||||
id = ActivityGiftManager.IsActivityTypeOpen(type)
|
||||
if (not id) or id == 0 then
|
||||
return nil
|
||||
end
|
||||
elseif type == ActivityTypeDef.DynamicAct_recharge then
|
||||
id = ActivityGiftManager.GetActivityIdByType(ActivityTypeDef.DynamicAct_recharge)
|
||||
else
|
||||
id = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.AccumulativeRechargeExper)
|
||||
if (not id) or id == 0 then
|
||||
id = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.DynamicAct_recharge)
|
||||
if (not id) or id == 0 then
|
||||
return nil
|
||||
else
|
||||
type = ActivityTypeDef.DynamicAct_recharge
|
||||
end
|
||||
else
|
||||
type = ActivityTypeDef.AccumulativeRechargeExper
|
||||
local tempConfig = ConfigManager.GetConfigData(ConfigName.GlobalActivity,id)
|
||||
if tempConfig and tempConfig.ShowArt == 1 then
|
||||
return nil
|
||||
end
|
||||
end
|
||||
end
|
||||
LogGreen("id:"..id)
|
||||
this.LeiJiChongZhiData = {}
|
||||
local allListData = ConfigManager.GetAllConfigsDataByKey(ConfigName.ActivityRewardConfig, "ActivityId", id)
|
||||
local allMissionData = ActivityGiftManager.GetActivityTypeInfo(type)
|
||||
|
|
|
|||
Loading…
Reference in New Issue