【ID1011387】
战力冲刺有奖励可领取时增加红点提示 (cherry picked from commit d2773bab9e7c632f68f26b3829eb495296654761)dev_chengFeng
parent
24475514b9
commit
bbde58e666
|
@ -1774,7 +1774,7 @@ function this.RequestUserForceChange(teamId, func)
|
||||||
local msg = data:SerializeToString()
|
local msg = data:SerializeToString()
|
||||||
Network:SendMessageWithCallBack(MessageTypeProto_pb.USER_FORCE_CHANGE_REQUEST, MessageTypeProto_pb.USER_FORCE_CHANGE_RESPONSE, msg, function()
|
Network:SendMessageWithCallBack(MessageTypeProto_pb.USER_FORCE_CHANGE_REQUEST, MessageTypeProto_pb.USER_FORCE_CHANGE_RESPONSE, msg, function()
|
||||||
CheckRedPointStatus(RedPointType.Practice_Cultivation)
|
CheckRedPointStatus(RedPointType.Practice_Cultivation)
|
||||||
CheckRedPointStatus(RedPointType.PowerRiceGool)
|
CommonActPageManager.GetPowerRicePower()
|
||||||
if func then
|
if func then
|
||||||
func()
|
func()
|
||||||
end
|
end
|
||||||
|
|
|
@ -919,6 +919,7 @@ function this.GetPowerRicePower(func)
|
||||||
RankingManager.InitData(RANK_TYPE.POWER_RICE,function ()
|
RankingManager.InitData(RANK_TYPE.POWER_RICE,function ()
|
||||||
local allRankData,myRankData = RankingManager.GetRankingInfo()
|
local allRankData,myRankData = RankingManager.GetRankingInfo()
|
||||||
this.powerRicePower = myRankData.param1
|
this.powerRicePower = myRankData.param1
|
||||||
|
CheckRedPointStatus(RedPointType.PowerRiceGool)
|
||||||
end,0)
|
end,0)
|
||||||
end
|
end
|
||||||
if func then
|
if func then
|
||||||
|
|
|
@ -141,7 +141,6 @@ function PowerRice:Refresh(_curIndex,isTop,isAni)
|
||||||
end
|
end
|
||||||
PowerRice:SetTime()
|
PowerRice:SetTime()
|
||||||
PowerRice:SetLive2D()
|
PowerRice:SetLive2D()
|
||||||
CheckRedPointStatus(RedPointType.PowerRiceGool)
|
|
||||||
end,0)
|
end,0)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -198,6 +197,7 @@ function PowerRice:SingleDataShow(item,data,index)
|
||||||
JumpManager.GoJump(22001)
|
JumpManager.GoJump(22001)
|
||||||
elseif state == 1 then
|
elseif state == 1 then
|
||||||
NetManager.GetActivityRewardRequest(data.missionId,self.actData.activityId,function (_drop)
|
NetManager.GetActivityRewardRequest(data.missionId,self.actData.activityId,function (_drop)
|
||||||
|
CheckRedPointStatus(RedPointType.PowerRiceGool)
|
||||||
UIManager.OpenPanel(UIName.RewardItemPopup,_drop,1,function()
|
UIManager.OpenPanel(UIName.RewardItemPopup,_drop,1,function()
|
||||||
PowerRice:Refresh(curIndex,false,false)
|
PowerRice:Refresh(curIndex,false,false)
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue