【ID1011387】

战力冲刺有奖励可领取时增加红点提示

(cherry picked from commit d2773bab9e7c632f68f26b3829eb495296654761)
dev_chengFeng
jiaoyangna 2022-03-29 14:02:09 +08:00
parent 24475514b9
commit bbde58e666
3 changed files with 3 additions and 2 deletions

View File

@ -1774,7 +1774,7 @@ function this.RequestUserForceChange(teamId, func)
local msg = data:SerializeToString()
Network:SendMessageWithCallBack(MessageTypeProto_pb.USER_FORCE_CHANGE_REQUEST, MessageTypeProto_pb.USER_FORCE_CHANGE_RESPONSE, msg, function()
CheckRedPointStatus(RedPointType.Practice_Cultivation)
CheckRedPointStatus(RedPointType.PowerRiceGool)
CommonActPageManager.GetPowerRicePower()
if func then
func()
end

View File

@ -919,6 +919,7 @@ function this.GetPowerRicePower(func)
RankingManager.InitData(RANK_TYPE.POWER_RICE,function ()
local allRankData,myRankData = RankingManager.GetRankingInfo()
this.powerRicePower = myRankData.param1
CheckRedPointStatus(RedPointType.PowerRiceGool)
end,0)
end
if func then

View File

@ -141,7 +141,6 @@ function PowerRice:Refresh(_curIndex,isTop,isAni)
end
PowerRice:SetTime()
PowerRice:SetLive2D()
CheckRedPointStatus(RedPointType.PowerRiceGool)
end,0)
end
@ -198,6 +197,7 @@ function PowerRice:SingleDataShow(item,data,index)
JumpManager.GoJump(22001)
elseif state == 1 then
NetManager.GetActivityRewardRequest(data.missionId,self.actData.activityId,function (_drop)
CheckRedPointStatus(RedPointType.PowerRiceGool)
UIManager.OpenPanel(UIName.RewardItemPopup,_drop,1,function()
PowerRice:Refresh(curIndex,false,false)
end)